El jueves, 6 de abril de 2023 10:30:45 (CEST) Johannes Kastl escribió:
Hi all,
I successfully added the openSUSE Leap 15.5 base channel and child channels to my Uyuni server last week.
Today I wanted to add 15.4 in addition, which left out two child channels:
WARNING: opensuse_leap15_4-x86_64-backports-updates: redstone.xmlrpc.XmlRpcFault: The channel name 'Update repository of openSUSE Backports (x86_64)' is already in use, please enter a different name WARNING: opensuse_leap15_4-x86_64-sle-updates: redstone.xmlrpc.XmlRpcFault: The channel name 'Update repository with updates from SUSE Linux Enterprise 15 (x86_64)' is already in use, please enter a different name
Looks to me we'll need to adjust the naming at spacewalk-common-channels.ini I just created a PR for this: https://github.com/uyuni-project/uyuni/pull/6830, but I'd appreciate if you can run a couple of tests for me.
The command I used was from the docs: spacewalk-common-channels -a x86_64 opensuse_leap15_4 \ opensuse_leap15_4-uyuni-client \ opensuse_leap15_4-updates \ opensuse_leap15_4-non-oss \ opensuse_leap15_4-non-oss-updates \ opensuse_leap15_4-backports-updates \ opensuse_leap15_4-sle-updates
How to solve this?
1. Can I influence the "internal" naming those channels get? The child channels names I gave on the command line included 15_4 or 15_5, but this does not seem to be reflected in the "internal" name (wherever that comes from).
You can adjust the naming at https://<server_hostname>/rhn/channels/manage/Manage.do For opensuse_leap15_5-x86_64-backports-updates the current name should be now: Update repository of openSUSE Backports (x86_64) Change it to: Update repository of openSUSE Leap 15.5 Backports (x86_64) For opensuse_leap15_5-x86_64-sle-updates the current name should be now: Update repository with updates from SUSE Linux Enterprise 15 (x86_64) Change it to: Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64) Then finally, get `spacewalk-common-channels.ini from my PR by running this on your Uyuni Server: curl https://raw.githubusercontent.com/uyuni-project/uyuni/33bdfae201f20c967d9599... -o /etc/rhn/spacewalk-common-channels.ini Then, finally, try to add the Leap 15.4 channels again, and please report the result.
2. Can I add the existing child channels (from 15.5 to the 15.4 base channel? Not sure if this is a good idea, as those are service pack (or Leap minor version dependent) IIRC.
Do not. The content of the channels is different.
Kind Regards, Johannes
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com