INFO:
These results are almost identical to the last run, which tells us the servers were still checking against an old copy of the repo list. Two things caused that.
- The B master is still running the old script. The message reads "dnf reports a conflict. Run: dnf update --assumeno", which is the 1.4 wording. Version 1.4.1 would also print
dnf:lines underneath. - The servers reused yesterday's repo list. When dnf reads a repo, it keeps a copy of the package list and reuses it for up to 48 hours. So the B servers checked against the list from before you added the 8 AppStream RPMs, and couldn't see them. That's why vlim03 still asks for perl and gcc.
I've fixed the second one in the script: version 1.4.2 makes the dry run read the repo fresh every time. I've attached the script, the README (Word and PDF) and the pseudocode, all updated.
Next steps:
-
Copy
os_patch_wizard.shv1.4.2 to rbb-ref-b-ansible, replacing the old one. Check it with:grep SCRIPT_VERSION= os_patch_wizard.shIt should show
1.4.2. -
Confirm the 8 RPMs are in the B repo:
ls /var/www/html/os-patch/ | grep -E '^(perl|perl-devel|perl-utils|gcc|cpp|gcc-plugin-annobin|gdk-pixbuf2-modules|python3-pip)-[0-9]'You should see the
perlfiles at-423.el8_10.1,gcc,cppandgcc-plugin-annobinat8.5.0-30,gdk-pixbuf2-modulesat2.36.12-8andpython3-pipat9.0.3-24. If any are missing, copy them over again from the A side. -
Clear the old repo lists on the B servers:
ansible 'rbb-ref-b-*' -i inventories/ref_rbb/hosts_ref_rbb.yml --ask-vault-pass -u dbv6admin -b -m command -a "dnf clean all"Version 1.4.2 doesn't strictly need this, but it also clears the copy the real patch run would use.
-
Run Step 3 again with
rbb-ref-b-*:!rbb-ref-b-vlim06. Every server should show OK. If one doesn't, thednf:lines will now show why, so send me those.
Comments
Post a Comment