We are happy to announce the immediate availability of Uyuni 2021.12 At https://www.uyuni-project.org/pages/stable-version.html you will find all the resources you need to start working with Uyuni 2021.12, including the release notes, documentation, requirements and setup instructions. VERY IMPORTANT: Read the release notes! If you are updating from an Uyuni version older than 2021.06, a major upgrade procedure is required. This is the list of highlights for this release: * Salt as a Bundle * aarch64 support for openSUSE Leap 15.3, CentOS 7/8, clones and related systems * System reactivation * Low Diskspace notification * Package Locking for Salt Minions * Monitoring: Prometheus Blackbox exporter * Monitoring: Formulas * Content Lifecycle Management improvement * New XMLRPC API methods for SaltKey * New product enabled * CVE-2021-40348 remediation * CentOS 8 End of Life * Future deprecation of the traditional stack Please check the release notes for full details. Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2021.12 As always, we hope you will enjoy Uyuni 2021.12 and we invite everyone of you to send us your feedback [1] and of course your patches, if you can contribute. Happy hacking! [1] https://www.uyuni-project.org/pages/contact.html -- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
We are happy to announce the immediate availability of Uyuni 2021.12
Nice! Some good upgrades in there, it's plain everyone's been busy. Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem. Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes. Thanks to all involved. S If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni. (Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up (Repeat or resolve any issues until zipper happy) zypper install Uyuni-Server-release (Otherwise it wouldn't upgrade this meta package) Reboot Test
On viernes, 10 de diciembre de 2021 9:18:39 (CET) Simon Avery wrote:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
Ouch! Can you submit a PR for the doc? https://github.com/uyuni-project/uyuni-docs/
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up (Repeat or resolve any issues until zipper happy) zypper install Uyuni-Server-release (Otherwise it wouldn't upgrade this meta package) Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
Ouch!
Can you submit a PR for the doc?
Done! (I hope) -- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Julio Gonzalez <jgonzalez@suse.com> writes:
On viernes, 10 de diciembre de 2021 9:18:39 (CET) Simon Avery wrote: Can you submit a PR for the doc?
Thanks to digdilem, we now have a PR: https://github.com/uyuni-project/uyuni-docs/pull/1332 If time permits, please take a look!
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up (Repeat or resolve any issues until zipper happy) zypper install Uyuni-Server-release (Otherwise it wouldn't upgrade this meta package) Reboot Test
-- Karl Eichwalder SUSE Software Solutions Germany GmbH, Geschäftsführer: Ivo Totev HRB 36809, AG Nürnberg Maxfeldstr. 5, D-90409 Nürnberg
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemanager-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0 END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:..., 0) already exists. ---- Reverting to the previous snapshot is the only way to start the .09 again. Is anything known about this? Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass-sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up (Repeat or resolve any issues until zipper happy) zypper install Uyuni-Server-release (Otherwise it wouldn't upgrade this meta package) Reboot Test
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky? On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemanage r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0 END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable :/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ---- Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass- sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Julio, yes, there are channels for CentOS 8 and for Rocky, as well as for the corresponding client tools. Thomas
Am 13.12.2021 um 10:22 schrieb Julio Gonzalez <jgonzalez@suse.com>:
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky?
On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemanage r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0 END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable :/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ---- Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass- sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
On lunes, 13 de diciembre de 2021 12:44:14 (CET) Thomas Weis wrote:
Julio,
yes, there are channels for CentOS 8 and for Rocky, as well as for the corresponding client tools.
I think I see where the problem, but unless someone tan take care of it before I am back to the office, the proper fix will need to wait (I am adding Jordi on CC in case he can have a look, but no promises) The problem is: https://github.com/uyuni-project/uyuni/blob/master/schema/spacewalk/upgrade/ susemanager-schema-4.3.3-to-susemanager-schema-4.3.4/001-centos8-eol.sql If the EL8 client tools are already added, then this fails. The fix is, however, not easy as it requires some logic so it works for everyone: 1. Check if any repo already uses https://download.opensuse.org/repositories/ systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 2. Otherwise create a repository that uses https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 3. Adjust all channels that use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8- Uyuni-Client-Tools/CentOS_8/, to use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ instead. Basically something similar to https://github.com/uyuni-project/uyuni/blob/ master/schema/spacewalk/upgrade/susemanager-schema-4.3.3-to-susemanager- schema-4.3.4/002-use_almalinux_mirror.sql, but creating the required repository, if it's not there (for example for people managing CentOS8 only, but that never added Rocky or Alma). For now, the workaround your particular case should be: 1. At your Uyuni Server, via UI, find the repository using the URL https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ 2. Then find the repository using the URL https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8-Uyuni-Client-Tools/ CentOS_8/ 3. Find all channels using the repository from step 2, and adjust them to use the repository from step 1. 4. Remove repository from step 2 5. Apply the upgrade.
Thomas
Am 13.12.2021 um 10:22 schrieb Julio Gonzalez <jgonzalez@suse.com>:
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky?
On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemana ge r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE
WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0
END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stab le
:/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ----
Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass-
sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Julio, at least with us there is no need to rush. If Jordi wants to take on the matter, of course, but at least I will try the workarounds you suggested and report the result here. Maybe other Uyuni users can also benefit from it and I can finally make a contribution to this great project! Regards Thomas
Am 13.12.2021 um 13:10 schrieb Julio Gonzalez <jgonzalez@suse.com>:
On lunes, 13 de diciembre de 2021 12:44:14 (CET) Thomas Weis wrote:
Julio,
yes, there are channels for CentOS 8 and for Rocky, as well as for the corresponding client tools.
I think I see where the problem, but unless someone tan take care of it before I am back to the office, the proper fix will need to wait (I am adding Jordi on CC in case he can have a look, but no promises)
The problem is: https://github.com/uyuni-project/uyuni/blob/master/schema/spacewalk/upgrade/ susemanager-schema-4.3.3-to-susemanager-schema-4.3.4/001-centos8-eol.sql
If the EL8 client tools are already added, then this fails.
The fix is, however, not easy as it requires some logic so it works for everyone:
1. Check if any repo already uses https://download.opensuse.org/repositories/ systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 2. Otherwise create a repository that uses https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 3. Adjust all channels that use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8- Uyuni-Client-Tools/CentOS_8/, to use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ instead.
Basically something similar to https://github.com/uyuni-project/uyuni/blob/ master/schema/spacewalk/upgrade/susemanager-schema-4.3.3-to-susemanager- schema-4.3.4/002-use_almalinux_mirror.sql, but creating the required repository, if it's not there (for example for people managing CentOS8 only, but that never added Rocky or Alma).
For now, the workaround your particular case should be:
1. At your Uyuni Server, via UI, find the repository using the URL https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ 2. Then find the repository using the URL https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8-Uyuni-Client-Tools/ CentOS_8/ 3. Find all channels using the repository from step 2, and adjust them to use the repository from step 1. 4. Remove repository from step 2 5. Apply the upgrade.
Thomas
Am 13.12.2021 um 10:22 schrieb Julio Gonzalez <jgonzalez@suse.com>:
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky?
On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemana ge r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE
WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0
END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stab le
:/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ----
Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass-
sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
For now I created the card at: https://github.com/uyuni-project/uyuni With what I think it will be the right fix, and a workaround if someone implements it, as well as som suggestions for workarounds without the fix. On lunes, 13 de diciembre de 2021 14:13:57 (CET) Thomas Weis wrote:
Julio,
at least with us there is no need to rush. If Jordi wants to take on the matter, of course, but at least I will try the workarounds you suggested and report the result here. Maybe other Uyuni users can also benefit from it and I can finally make a contribution to this great project!
Regards Thomas
Am 13.12.2021 um 13:10 schrieb Julio Gonzalez <jgonzalez@suse.com>:
On lunes, 13 de diciembre de 2021 12:44:14 (CET) Thomas Weis wrote:
Julio,
yes, there are channels for CentOS 8 and for Rocky, as well as for the corresponding client tools.
I think I see where the problem, but unless someone tan take care of it before I am back to the office, the proper fix will need to wait (I am adding Jordi on CC in case he can have a look, but no promises)
The problem is: https://github.com/uyuni-project/uyuni/blob/master/schema/spacewalk/upgrad e/ susemanager-schema-4.3.3-to-susemanager-schema-4.3.4/001-centos8-eol.sql
If the EL8 client tools are already added, then this fails.
The fix is, however, not easy as it requires some logic so it works for everyone:
1. Check if any repo already uses https://download.opensuse.org/repositories/ systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 2. Otherwise create a repository that uses https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8 / 3. Adjust all channels that use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/CentO S8- Uyuni-Client-Tools/CentOS_8/, to use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ instead.
Basically something similar to https://github.com/uyuni-project/uyuni/blob/ master/schema/spacewalk/upgrade/susemanager-schema-4.3.3-to-susemanager- schema-4.3.4/002-use_almalinux_mirror.sql, but creating the required repository, if it's not there (for example for people managing CentOS8 only, but that never added Rocky or Alma).
For now, the workaround your particular case should be:
1. At your Uyuni Server, via UI, find the repository using the URL https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ 2. Then find the repository using the URL https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8-Uyuni-Client-Tools/ CentOS_8/ 3. Find all channels using the repository from step 2, and adjust them to use the repository from step 1. 4. Remove repository from step 2 5. Apply the upgrade.
Thomas
Am 13.12.2021 um 10:22 schrieb Julio Gonzalez <jgonzalez@suse.com>:
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky?
On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susema na ge r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE
WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0
END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/St ab le
:/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ----
Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass-
sports.co.uk>:
> We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
julio, The workaround you described for updating Uyuni 2021.09 to 2021.12 worked perfectly. After the repositories were "relocated" accordingly, the update worked immediately. Regards Thomas Mit freundlichen Grüßen / Kind regards Thomas Weis NTW Netzwerk • Telekommunikation • Datentechnik Burghaldenstrasse 24 D-71336 Waiblingen Fon: +49 7151 9440447 Fax: +49 7151 9440446 E-Mail: tweis@ntw-datentechnik.de Web: www.ntw-datentechnik.de Portal: https://support.ntw-datentechnik.de UST-ID: DE175034656
Am 13.12.2021 um 13:10 schrieb Julio Gonzalez <jgonzalez@suse.com>:
On lunes, 13 de diciembre de 2021 12:44:14 (CET) Thomas Weis wrote:
Julio,
yes, there are channels for CentOS 8 and for Rocky, as well as for the corresponding client tools.
I think I see where the problem, but unless someone tan take care of it before I am back to the office, the proper fix will need to wait (I am adding Jordi on CC in case he can have a look, but no promises)
The problem is: https://github.com/uyuni-project/uyuni/blob/master/schema/spacewalk/upgrade/ susemanager-schema-4.3.3-to-susemanager-schema-4.3.4/001-centos8-eol.sql
If the EL8 client tools are already added, then this fails.
The fix is, however, not easy as it requires some logic so it works for everyone:
1. Check if any repo already uses https://download.opensuse.org/repositories/ systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 2. Otherwise create a repository that uses https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/EL8-Uyuni-Client-Tools/EL_8/ 3. Adjust all channels that use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8- Uyuni-Client-Tools/CentOS_8/, to use the repository with https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ instead.
Basically something similar to https://github.com/uyuni-project/uyuni/blob/ master/schema/spacewalk/upgrade/susemanager-schema-4.3.3-to-susemanager- schema-4.3.4/002-use_almalinux_mirror.sql, but creating the required repository, if it's not there (for example for people managing CentOS8 only, but that never added Rocky or Alma).
For now, the workaround your particular case should be:
1. At your Uyuni Server, via UI, find the repository using the URL https:// download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/EL8- Uyuni-Client-Tools/EL_8/ 2. Then find the repository using the URL https://download.opensuse.org/ repositories/systemsmanagement:/Uyuni:/Stable:/CentOS8-Uyuni-Client-Tools/ CentOS_8/ 3. Find all channels using the repository from step 2, and adjust them to use the repository from step 1. 4. Remove repository from step 2 5. Apply the upgrade.
Thomas
Am 13.12.2021 um 10:22 schrieb Julio Gonzalez <jgonzalez@suse.com>:
What channels do you have? Do you have CentOS8 client tools, and maybe another client tools for any of the clones such as Alma or Rocky?
On viernes, 10 de diciembre de 2021 23:11:39 (CET) Thomas Weis wrote:
this is also the way in which the updates are carried out here. Unfortunately, the update from .09 to .12 did not work this time. The SCHEMA update could not be carried out. At the end of the log /var/log/spacewalk/schema-upgrade/schema-from-20211210-224941-to-susemana ge r-schema-4.3.4.log there are the following entries: ---- UPDATE 0 psql: <stdin>: 7: ERROR: duplicate key value violates unique constraint "rhn_cs_repo_uq" DETAIL: Key (COALESCE (org_id, 0 :: numeric), type_id, source_url, ( CASE
WHEN label :: text ~~ 'manifest _%' :: text THEN 1 ELSE 0
END)) = (1, 500, https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stab le
:/EL8-Uyuni-Client-Tools/EL_8/, 0) already exists. ----
Reverting to the previous snapshot is the only way to start the .09 again.
Is anything known about this?
Regards Thomas
Am 10.12.2021 um 09:18 schrieb Simon Avery <Simon.Avery@atass-
sports.co.uk>:
We are happy to announce the immediate availability of Uyuni 2021.12
Nice!
Some good upgrades in there, it's plain everyone's been busy.
Particularly interested in the salt bundle as explained during community hour, will test that soon. Sounds like a good solution to a difficult problem.
Just upgraded. Went smoothly here, didn't hit the Suse bug mentioned in the release notes.
Thanks to all involved.
S
If useful for others, my upgrade process which has worked well for the past few upgrades is pretty simple. The upgrade notes say to install patches, but that doesn't upgrade Uyuni.
(Snapshot Uyuni's vm) spacewalk-server stop zypper ref zypper up
(Repeat or resolve any issues until zipper happy)
zypper install Uyuni-Server-release
(Otherwise it wouldn't upgrade this meta package)
Reboot Test
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (4)
-
Julio Gonzalez
-
Karl Eichwalder
-
Simon Avery
-
Thomas Weis