Bugzilla – Bug 1177506
[Migration][Build 209.2] openQA test fails in register_system - http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2 is not existed
Last modified: 2020-10-22 09:43:59 UTC
## Observation openQA test in scenario sle-15-SP2-Migration-from-Leap-15.2-to-SLE15-SP2-x86_64-online_leap15_jump_scc_gnome_def_full_y@64bit_cirrus fails in [register_system](https://openqa.nue.suse.com/tests/4799417/modules/register_system/steps/7) ## Test suite description Migration from leap15.2.1 Jump to SLE15SP3 with yast UI HDD_1=opensuse-Jump:15.2-x86_64-latest-gnome@64bit.qcow2 ## Reproducible Fails since (at least) Build [209.2](https://openqa.nue.suse.com/tests/4746213) ## Expected result Last good: (unknown) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.nue.suse.com/tests/latest?arch=x86_64&distri=sle&flavor=Migration-from-Leap-15.2-to-SLE15-SP2&machine=64bit_cirrus&test=online_leap15_jump_scc_gnome_def_full_y&version=15-SP2)
Created attachment 842448 [details] yast2log part1
Created attachment 842449 [details] yast2log part2
I've uploaed the log files with split, you can merge them with 'cat *part1 *part2 > register_system-y2logs.tar.bz2'
Seems like there is an issue with SUSE:SLE repos on the OBS side correct? openSUSE_Jump_15.2.1_x86_64:SLE-15-SP2-Updates: http://dowload.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard this repo path seems to be missing
We found that the directory was not existed.
SLE content is published as http://download.opensuse.org/update/jump/15.2/sle/ download.o.o admins could configure a redirect though. However, this is "pool" repo, not "standard".
https://progress.opensuse.org/issues/73237 admin ticket
Moving to the opensuse.org component... (Note: Alternatively the SCC data could be changed to point to the URL above. I'm not sure what is a better solution...)
From Hernan/SCC: the "missing" repo is in SCC, and SCC got the list of repos from OBS https://scc.suse.com/admin/products/2206 I guess then that the OBS API is listing a non-existent repo So seems we have to fix data returned by OBS first.
Adrian do we have a use for this pool repository? Or should we remove it from the api? Thank you
the pool repo is used for the sle updates. It is one out of three update repos we need. All of them are available below: http://download.opensuse.org/update/jump/15.2/ oss_debug will get moved to /debug most likely
If I understand this correct, the repo openSUSE_Jump_15.2.1_x86_64:SLE-15-SP2-Updates: http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard was added by scc after the system registration, however the URL is wrong, according to the previous Leap migration, new repos should point to updates.suse.com, eg. 8 | SUSE_Linux_Enterprise_Server_15_x86_64:SLE-Product-SLES15-Pool | SLE-Product-SLES15-Pool | Yes | (r ) Yes | No | 99 | rpm-md | https://updates.suse.com/SUSE/Products/SLE-Product-SLES/15/xxxxxxxx | SUSE_Linux_Enterprise_Server_15_x86_64 and its friends sources/debuginfo, etc. Therefore I think neither http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard nor http://download.opensuse.org/update/jump/15.2/(it's about updates content, not for migrate to SLE) is needed to be there for migration, no, they shouldn't, and any d.o.o repos should be disabled during migration and be removed after migration, that is also our official upgrade document noted[1]. IMO the question is why do SLE repos(point to https://updates.suse.com) aren't added but wrong repo was, and we have to fix that. [1] https://documentation.suse.com/sles/15-SP1/single-html/SLES-upgrade/#sec-upgrade-online-opensuse-to-sle
Hello team, Max told me that he removed this repository from product file as he believes it's not required. https://api.opensuse.org/public/source/openSUSE:Jump:15.2/000product?view=products&product=Leap Can you please re-test the issue on latest build 98.1? Thank you
Ok, we'll test and let you know the result once it done. thanks
I've just checked the results and that failure still there. https://openqa.nue.suse.com/tests/4850093#step/register_system/13, would you please take a look again. thanks
Created attachment 842780 [details] register system error
I did reach out to SCC team as we believe that the changes to avoid this issue from product-file / obs api point of view should be fixed. https://api.opensuse.org/public/source/openSUSE:Jump:15.2/000product?view=products&product=Leap (has no SUSE:SLE-15-SP2 reference)
Hi Lubos, We've just checked the jump 99.1 build and found this issue is fixed. and all cases passed the register_system module. like the following case https://openqa.nue.suse.com/tests/4870826 thanks Huajian.Luo