From OSD I did
sudo salt --no-color --state-output=changes -C 'not G@roles:worker and not G@roles:webui' cmd.run 'zypper -n patch'
and then
sudo salt --no-color --state-output=changes -C 'not G@roles:worker and not G@roles:webui' cmd.run 'zypper -n patch --with-optional'
as some patches were listed as not being installed. Only machine with a bigger problem was qamaster.qa.suse.de:
Warning: Patch 'openSUSE-SLE-15.4-2023-433-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-3999-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-848-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-464-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-201-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-1897-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-1710-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-149-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-4585-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-4072-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-4007-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-4006-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-3844-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2022-3806-1' is interactive, skipping.
Warning: Patch 'openSUSE-SLE-15.4-2023-169-1' is interactive, skipping.
Resolving package dependencies...
6 Problems:
Problem: the to be installed patch:openSUSE-SLE-15.4-2023-161-1.noarch conflicts with 'python-py.noarch < 1.10.0-150100.5.12.1' provided by the installed python-py-1.8.1-11.12.4.noarch
Problem: the to be installed patch:openSUSE-SLE-15.4-2022-3022-1.noarch conflicts with 'python-pyOpenSSL.noarch < 21.0.0-150400.3.3.1' provided by the installed python-pyOpenSSL-17.1.0-4.23.1.noarch
Problem: the to be installed patch:openSUSE-SLE-15.4-2023-159-1.noarch conflicts with 'python-setuptools.noarch < 44.1.1-150400.3.3.1' provided by the installed python-setuptools-40.6.2-4.18.1.noarch
Problem: the to be installed patch:openSUSE-SLE-15.4-2022-3600-1.noarch conflicts with 'python-urlgrabber.noarch < 4.1.0-150400.4.6.1' provided by the installed python-urlgrabber-3.9.1-15.2.noarch
Problem: the installed python-requests-2.24.0-8.11.4.noarch requires 'python-py', but this requirement cannot be provided
Problem: the to be installed patch:openSUSE-SLE-15.4-2022-4262-1.noarch conflicts with 'libdevmapper1_03-32bit.x86_64 < 2.03.05_1.02.163-150400.185.1' provided by the installed libdevmapper1_03-32bit-1.02.163-150400.178.1.x86_64
Problem: the to be installed patch:openSUSE-SLE-15.4-2023-161-1.noarch conflicts with 'python-py.noarch < 1.10.0-150100.5.12.1' provided by the installed python-py-1.8.1-11.12.4.noarch
Solution 1: deinstallation of python-py-1.8.1-11.12.4.noarch
Solution 2: do not install patch:openSUSE-SLE-15.4-2023-161-1.noarch
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): c
so I manually logged in and selected solutions for the problem by deinstalling some python packages and concluded the patching.
On baremetal-support the openQA package wouldn't upgrade due to conflicting user IDs regarding geekotest as there is an NFS mount used.
So I changed user ids and updated ownership:
systemctl stop postgresql openqa-webui openqa-scheduler
usermod -u 17256 rbrown
usermod -u 1001 geekotest
umount /var/lib/openqa/share/factory/iso
chown -R geekotest /var/lib/openqa/
find / -uid 483 -exec chown -v -h 1001 '{}' \;
zypper dup
systemctl start default
mount -a