Issue while upgrading Uyuni proxies to 2021.06
Hi all ¡! I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni.html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions): Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies Removing kmon-compat no really seems to be an option, to many dependencies: # zypper rm kmod-compat Reading installed packages... Resolving package dependencies... The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy 22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from. Regards, Philippe. Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com<https://www.getronics.com> [cid:3-lines_7512e235-163a-4853-8e4f-b0d4fc62ce73.png]<https://getronics.com/> Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
Ok, so one of the issue was because of uyuni-proxy-stable-leap-153-x86_64 not being presented in the proxy. This was in part due to the fact that the corresponding lines were commented in /etc/rhn/spacewalk-common-channels.ini. # [uyuni-proxy-stable-leap-153] # [name = Uyuni Proxy Stable for %(base_channel_name)s # [archs = x86_64, aarch64 # [base_channels = opensuse_leap15_3-%(arch)s # [checksum = sha256 # [gpgkey_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... # [gpgkey_id = %(_uyuni_gpgkey_id)s # [gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s # [repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... I have uncommented and populated the proxy repo for Uyuni 2021.06 on Leap 15.3, I have 2 errors less, however still failing: Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 7 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] 1.1 provided by hardlink-1.0+git.e66999f-1.25.x86_64 Problem: libsamba-credentials0-4.13.4+git.187.5ad4708741a-1.34.x86_64 requires libndr.so.1()(64bit), but this requirement cannot be provided Problem: systemd-246.13-7.8.1.x86_64 obsoletes systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:openSUSE-15.2-1.x86_64 requires product(openSUSE) = 15.2-1, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies Philippe. From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: miércoles, 21 de julio de 2021 9:41 To: uyuni-users@opensuse.org Subject: Issue while upgrading Uyuni proxies to 2021.06 Hi all ¡! I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni.html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions): Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies Removing kmon-compat no really seems to be an option, to many dependencies: # zypper rm kmod-compat Reading installed packages... Resolving package dependencies... The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy 22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from. Regards, Philippe. Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com<mailto:Philippe.Bidault@Getronics.com> | W. www.getronics.com<https://www.getronics.com> [cid:image001.png@01D77E43.AF8BC3C0]<https://getronics.com/> Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
On miércoles, 21 de julio de 2021 15:22:33 (CEST) Bidault, Philippe wrote:
Ok, so one of the issue was because of uyuni-proxy-stable-leap-153-x86_64 not being presented in the proxy. This was in part due to the fact that the corresponding lines were commented in /etc/rhn/spacewalk-common-channels.ini.
# [uyuni-proxy-stable-leap-153] # [name = Uyuni Proxy Stable for %(base_channel_name)s # [archs = x86_64, aarch64 # [base_channels = opensuse_leap15_3-%(arch)s # [checksum = sha256 # [gpgkey_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/repodata/repomd.xml.key # [gpgkey_id = %(_uyuni_gpgkey_id)s # [gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s # [repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/
Fix on its way for this. Will be part of the next release, or maybe as a fast- track patch.
I have uncommented and populated the proxy repo for Uyuni 2021.06 on Leap 15.3, I have 2 errors less, however still failing:
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 7 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] 1.1 provided by hardlink-1.0+git.e66999f-1.25.x86_64 Problem: libsamba-credentials0-4.13.4+git.187.5ad4708741a-1.34.x86_64 requires libndr.so.1()(64bit), but this requirement cannot be provided Problem: systemd-246.13-7.8.1.x86_64 obsoletes systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:openSUSE-15.2-1.x86_64 requires product(openSUSE) = 15.2-1, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Does the proxy still have any Leap 15.2 repositories enabled when the migration is going to happen? I am asking because of the mentions to 15.2
Philippe.
From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: miércoles, 21 de julio de 2021 9:41 To: uyuni-users@opensuse.org Subject: Issue while upgrading Uyuni proxies to 2021.06
Hi all ¡!
I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni.html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions):
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Removing kmon-compat no really seems to be an option, to many dependencies:
# zypper rm kmod-compat Reading installed packages... Resolving package dependencies...
The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang
The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy
22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n
Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from.
Regards, Philippe.
Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com<mailto:Philippe.Bidault@Getronics.com> | W. www.getronics.com<https://www.getronics.com>
[cid:image001.png@01D77E43.AF8BC3C0]<https://getronics.com/>
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Hi, Thanks ! No, nothing coming from 15.2 is activated on the proxy right now: # zypper lr Refreshing service 'spacewalk'. Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh --+------------------------------------------------------+-----------------------------------------------------------------------+---------+-----------+-------- 1 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.1-1 | No | ---- | ---- 2 | spacewalk:opensuse_leap15_3-uyuni-client-x86_64 | Uyuni Client Tools for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 3 | spacewalk:opensuse_leap15_3-x86_64 | openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 4 | spacewalk:opensuse_leap15_3-x86_64-backports-updates | Update repository of openSUSE Backports (x86_64) | Yes | ( p) Yes | Yes 5 | spacewalk:opensuse_leap15_3-x86_64-non-oss | openSUSE 15.3 non oss (x86_64) | Yes | ( p) Yes | Yes 6 | spacewalk:opensuse_leap15_3-x86_64-non-oss-updates | openSUSE Leap 15.3 non oss Updates (x86_64) | Yes | ( p) Yes | Yes 7 | spacewalk:opensuse_leap15_3-x86_64-sle-updates | Update repository with updates from SUSE Linux Enterprise 15 (x86_64) | Yes | ( p) Yes | Yes 8 | spacewalk:opensuse_leap15_3-x86_64-updates | openSUSE Leap 15.3 Updates (x86_64) | Yes | ( p) Yes | Yes 9 | spacewalk:uyuni-proxy-stable-leap-153-x86_64 | Uyuni Proxy Stable for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes Philippe. Philippe Bidault | Unix Engineer | Getronics M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ -----Original Message----- From: Julio Gonzalez <jgonzalez@suse.com> Sent: miércoles, 21 de julio de 2021 18:48 To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Bidault, Philippe <Philippe.Bidault@Getronics.com> Subject: Re: Issue while upgrading Uyuni proxies to 2021.06 On miércoles, 21 de julio de 2021 15:22:33 (CEST) Bidault, Philippe wrote:
Ok, so one of the issue was because of uyuni-proxy-stable-leap-153-x86_64 not being presented in the proxy. This was in part due to the fact that the corresponding lines were commented in /etc/rhn/spacewalk-common-channels.ini.
# [uyuni-proxy-stable-leap-153] # [name = Uyuni Proxy Stable for %(base_channel_name)s # [archs = x86_64, aarch64 # [base_channels = opensuse_leap15_3-%(arch)s # [checksum = sha256 # [gpgkey_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/repodata/repomd.xml.key # [gpgkey_id = %(_uyuni_gpgkey_id)s # [gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s # [repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/
Fix on its way for this. Will be part of the next release, or maybe as a fast- track patch.
I have uncommented and populated the proxy repo for Uyuni 2021.06 on Leap 15.3, I have 2 errors less, however still failing:
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 7 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] 1.1 provided by hardlink-1.0+git.e66999f-1.25.x86_64 Problem: libsamba-credentials0-4.13.4+git.187.5ad4708741a-1.34.x86_64 requires libndr.so.1()(64bit), but this requirement cannot be provided Problem: systemd-246.13-7.8.1.x86_64 obsoletes systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:openSUSE-15.2-1.x86_64 requires product(openSUSE) = 15.2-1, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Does the proxy still have any Leap 15.2 repositories enabled when the migration is going to happen? I am asking because of the mentions to 15.2
Philippe.
From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: miércoles, 21 de julio de 2021 9:41 To: uyuni-users@opensuse.org Subject: Issue while upgrading Uyuni proxies to 2021.06
Hi all ¡!
I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni. html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions):
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Removing kmon-compat no really seems to be an option, to many dependencies:
# zypper rm kmod-compat Reading installed packages... Resolving package dependencies...
The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang
The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy
22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n
Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from.
Regards, Philippe.
Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com<mailto:Philippe.Bidault@Getronics.com> | W. www.getronics.com<https://www.getronics.com>
[cid:image001.png@01D77E43.AF8BC3C0]<https://getronics.com/>
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
FYI, new issue created regarding this: https://github.com/uyuni-project/uyuni/issues/4026 What intrigue me is that I could not find anything regarding my issue. Am I really the only one to have this ? If yes, I guess that I am doing something wrong 😊 Philippe. -----Original Message----- From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: jueves, 22 de julio de 2021 8:00 To: Julio Gonzalez <jgonzalez@suse.com>; uyuni-users@opensuse.org; users@lists.uyuni-project.org Subject: RE: Issue while upgrading Uyuni proxies to 2021.06 Hi, Thanks ! No, nothing coming from 15.2 is activated on the proxy right now: # zypper lr Refreshing service 'spacewalk'. Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh --+------------------------------------------------------+-----------------------------------------------------------------------+---------+-----------+-------- 1 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.1-1 | No | ---- | ---- 2 | spacewalk:opensuse_leap15_3-uyuni-client-x86_64 | Uyuni Client Tools for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 3 | spacewalk:opensuse_leap15_3-x86_64 | openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 4 | spacewalk:opensuse_leap15_3-x86_64-backports-updates | Update repository of openSUSE Backports (x86_64) | Yes | ( p) Yes | Yes 5 | spacewalk:opensuse_leap15_3-x86_64-non-oss | openSUSE 15.3 non oss (x86_64) | Yes | ( p) Yes | Yes 6 | spacewalk:opensuse_leap15_3-x86_64-non-oss-updates | openSUSE Leap 15.3 non oss Updates (x86_64) | Yes | ( p) Yes | Yes 7 | spacewalk:opensuse_leap15_3-x86_64-sle-updates | Update repository with updates from SUSE Linux Enterprise 15 (x86_64) | Yes | ( p) Yes | Yes 8 | spacewalk:opensuse_leap15_3-x86_64-updates | openSUSE Leap 15.3 Updates (x86_64) | Yes | ( p) Yes | Yes 9 | spacewalk:uyuni-proxy-stable-leap-153-x86_64 | Uyuni Proxy Stable for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes Philippe. Philippe Bidault | Unix Engineer | Getronics M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ -----Original Message----- From: Julio Gonzalez <jgonzalez@suse.com> Sent: miércoles, 21 de julio de 2021 18:48 To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Bidault, Philippe <Philippe.Bidault@Getronics.com> Subject: Re: Issue while upgrading Uyuni proxies to 2021.06 On miércoles, 21 de julio de 2021 15:22:33 (CEST) Bidault, Philippe wrote:
Ok, so one of the issue was because of uyuni-proxy-stable-leap-153-x86_64 not being presented in the proxy. This was in part due to the fact that the corresponding lines were commented in /etc/rhn/spacewalk-common-channels.ini.
# [uyuni-proxy-stable-leap-153] # [name = Uyuni Proxy Stable for %(base_channel_name)s # [archs = x86_64, aarch64 # [base_channels = opensuse_leap15_3-%(arch)s # [checksum = sha256 # [gpgkey_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/repodata/repomd.xml.key # [gpgkey_id = %(_uyuni_gpgkey_id)s # [gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s # [repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/
Fix on its way for this. Will be part of the next release, or maybe as a fast- track patch.
I have uncommented and populated the proxy repo for Uyuni 2021.06 on Leap 15.3, I have 2 errors less, however still failing:
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 7 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] 1.1 provided by hardlink-1.0+git.e66999f-1.25.x86_64 Problem: libsamba-credentials0-4.13.4+git.187.5ad4708741a-1.34.x86_64 requires libndr.so.1()(64bit), but this requirement cannot be provided Problem: systemd-246.13-7.8.1.x86_64 obsoletes systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:openSUSE-15.2-1.x86_64 requires product(openSUSE) = 15.2-1, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Does the proxy still have any Leap 15.2 repositories enabled when the migration is going to happen? I am asking because of the mentions to 15.2
Philippe.
From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: miércoles, 21 de julio de 2021 9:41 To: uyuni-users@opensuse.org Subject: Issue while upgrading Uyuni proxies to 2021.06
Hi all ¡!
I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni. html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions):
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Removing kmon-compat no really seems to be an option, to many dependencies:
# zypper rm kmod-compat Reading installed packages... Resolving package dependencies...
The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang
The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy
22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n
Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from.
Regards, Philippe.
Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com<mailto:Philippe.Bidault@Getronics.com> | W. www.getronics.com<https://www.getronics.com>
[cid:image001.png@01D77E43.AF8BC3C0]<https://getronics.com/>
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
In fact it seems to me that a new version of kmod-compat is missing in Leap 15.3 and so not aligned with the version of kmod. If I try to install kmod-compat on Leap 15.3: # zypper install kmod-compat Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides 'kmod = 25-6.7.1' needed by the to be installed kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c/d/?] (c): c Shouldn't we have kmod-compat-28 somewhere to be aligned with kmod-28 present on Leap 15.3 ? -----Original Message----- From: Bidault, Philippe Sent: jueves, 22 de julio de 2021 16:02 To: Julio Gonzalez <jgonzalez@suse.com>; uyuni-users@opensuse.org; users@lists.uyuni-project.org Subject: RE: Issue while upgrading Uyuni proxies to 2021.06 FYI, new issue created regarding this: https://github.com/uyuni-project/uyuni/issues/4026 What intrigue me is that I could not find anything regarding my issue. Am I really the only one to have this ? If yes, I guess that I am doing something wrong 😊 Philippe. -----Original Message----- From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: jueves, 22 de julio de 2021 8:00 To: Julio Gonzalez <jgonzalez@suse.com>; uyuni-users@opensuse.org; users@lists.uyuni-project.org Subject: RE: Issue while upgrading Uyuni proxies to 2021.06 Hi, Thanks ! No, nothing coming from 15.2 is activated on the proxy right now: # zypper lr Refreshing service 'spacewalk'. Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh --+------------------------------------------------------+-----------------------------------------------------------------------+---------+-----------+-------- 1 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.1-1 | No | ---- | ---- 2 | spacewalk:opensuse_leap15_3-uyuni-client-x86_64 | Uyuni Client Tools for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 3 | spacewalk:opensuse_leap15_3-x86_64 | openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes 4 | spacewalk:opensuse_leap15_3-x86_64-backports-updates | Update repository of openSUSE Backports (x86_64) | Yes | ( p) Yes | Yes 5 | spacewalk:opensuse_leap15_3-x86_64-non-oss | openSUSE 15.3 non oss (x86_64) | Yes | ( p) Yes | Yes 6 | spacewalk:opensuse_leap15_3-x86_64-non-oss-updates | openSUSE Leap 15.3 non oss Updates (x86_64) | Yes | ( p) Yes | Yes 7 | spacewalk:opensuse_leap15_3-x86_64-sle-updates | Update repository with updates from SUSE Linux Enterprise 15 (x86_64) | Yes | ( p) Yes | Yes 8 | spacewalk:opensuse_leap15_3-x86_64-updates | openSUSE Leap 15.3 Updates (x86_64) | Yes | ( p) Yes | Yes 9 | spacewalk:uyuni-proxy-stable-leap-153-x86_64 | Uyuni Proxy Stable for openSUSE Leap 15.3 (x86_64) | Yes | ( p) Yes | Yes Philippe. Philippe Bidault | Unix Engineer | Getronics M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ -----Original Message----- From: Julio Gonzalez <jgonzalez@suse.com> Sent: miércoles, 21 de julio de 2021 18:48 To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Bidault, Philippe <Philippe.Bidault@Getronics.com> Subject: Re: Issue while upgrading Uyuni proxies to 2021.06 On miércoles, 21 de julio de 2021 15:22:33 (CEST) Bidault, Philippe wrote:
Ok, so one of the issue was because of uyuni-proxy-stable-leap-153-x86_64 not being presented in the proxy. This was in part due to the fact that the corresponding lines were commented in /etc/rhn/spacewalk-common-channels.ini.
# [uyuni-proxy-stable-leap-153] # [name = Uyuni Proxy Stable for %(base_channel_name)s # [archs = x86_64, aarch64 # [base_channels = opensuse_leap15_3-%(arch)s # [checksum = sha256 # [gpgkey_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/repodata/repomd.xml.key # [gpgkey_id = %(_uyuni_gpgkey_id)s # [gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s # [repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/S table /images/repo/Uyuni-Proxy-POOL-x86_64-Media1/
Fix on its way for this. Will be part of the next release, or maybe as a fast- track patch.
I have uncommented and populated the proxy repo for Uyuni 2021.06 on Leap 15.3, I have 2 errors less, however still failing:
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 7 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] 1.1 provided by hardlink-1.0+git.e66999f-1.25.x86_64 Problem: libsamba-credentials0-4.13.4+git.187.5ad4708741a-1.34.x86_64 requires libndr.so.1()(64bit), but this requirement cannot be provided Problem: systemd-246.13-7.8.1.x86_64 obsoletes systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:openSUSE-15.2-1.x86_64 requires product(openSUSE) = 15.2-1, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Does the proxy still have any Leap 15.2 repositories enabled when the migration is going to happen? I am asking because of the mentions to 15.2
Philippe.
From: Bidault, Philippe <Philippe.Bidault@Getronics.com> Sent: miércoles, 21 de julio de 2021 9:41 To: uyuni-users@opensuse.org Subject: Issue while upgrading Uyuni proxies to 2021.06
Hi all ¡!
I am stuck with the upgrade of Uyuni 2021.06 (from Uyuni 2021.04). I have followed the steps there https://www.uyuni-project.org/uyuni-docs/en/uyuni/upgrade/proxy-uyuni. html, however the step 8 (Click Software Packages Upgrade, and select all the packages to be updated on the proxy, and then apply the selection.) failed with the following errors (seen on the GUI, Schedule -> Failed Actions):
Refreshing service 'spacewalk'. Loading repository data... Reading installed packages... Resolving package dependencies... 9 Problems: Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-2 [...] s systemd-bash-completion provided by systemd-bash-completion-234-24.90.1.noarch Problem: product:openSUSE-Addon-NonOss-15.2-0.x86_64 requires product(openSUSE-Addon-NonOss) = 15.2-0, but this requirement cannot be provided Problem: product:Uyuni-Proxy-2021.04-0.x86_64 requires product(openSUSE) >= 15.2, but this requirement cannot be provided Problem: product:Leap-15.3-1.x86_64 requires product(Leap) = 15.3-1, but this requirement cannot be provided Problem: patterns-uyuni_proxy-2021.04-1.2.uyuni.x86_64 requires Uyuni-Proxy-release, but this requirement cannot be provided Problem: nothing provides kmod = 25-6.7.1 needed by kmod-compat-25-6.7.1.x86_64 Solution 1: do not install kmod-compat-25-6.7.1.x86_64 Solution 2: break kmod-compat-25-6.7.1.x86_64 by ignoring some of its dependencies
Removing kmon-compat no really seems to be an option, to many dependencies:
# zypper rm kmod-compat Reading installed packages... Resolving package dependencies...
The following 22 packages are going to be REMOVED: dracut kmod-compat libbd_mdraid2 lvm2 mdadm os-prober patterns-base-apparmor patterns-base-apparmor_opt patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-uyuni_proxy plymouth plymouth-branding-openSUSE plymouth-dracut plymouth-scripts supportutils supportutils-plugin-salt supportutils-plugin-susemanager-client supportutils-plugin-susemanager-proxy udisks2 udisks2-lang
The following 6 patterns are going to be REMOVED: apparmor apparmor_opt base enhanced_base minimal_base uyuni_proxy
22 packages to remove. After the operation, 8.7 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): n
Strangely, can't see kmod-compat installed on the Uyuni server, so not sure where it is coming from.
Regards, Philippe.
Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com<mailto:Philippe.Bidault@Getronics.com> | W. www.getronics.com<https://www.getronics.com>
[cid:image001.png@01D77E43.AF8BC3C0]<https://getronics.com/>
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (2)
-
Bidault, Philippe
-
Julio Gonzalez