Skip to main content

New Command 3

 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.

  1. 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.
  2. 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:

  1. Copy os_patch_wizard.sh v1.4.2 to rbb-ref-b-ansible, replacing the old one. Check it with:

    grep SCRIPT_VERSION= os_patch_wizard.sh
    

    It should show 1.4.2.

  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 perl files at -423.el8_10.1, gcc, cpp and gcc-plugin-annobin at 8.5.0-30, gdk-pixbuf2-modules at 2.36.12-8 and python3-pip at 9.0.3-24. If any are missing, copy them over again from the A side.

  3. 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.

  4. Run Step 3 again with rbb-ref-b-*:!rbb-ref-b-vlim06. Every server should show OK. If one doesn't, the dnf: lines will now show why, so send me those.

Comments

Popular posts from this blog

Single Step

  Starting a new weight loss journey today.  I will be working with Houston Methodist Hospital Medical Weight Management Center.  Met with the staff today and it seems to be a very positive environment. I am a bit worried about starting this process but glad I'm starting.   Details:  In this program, I will be placed on a Very Low Calorie Diet (VLCD), which involves consuming 800 calories in the form of meal replacements and no more than 50 grams of carbohydrates per day. My body should respond by going into ketosis, a metabolic state in which the body uses fat stores as its primary energy (ketone bodies).  And I have a lot of fat stored.   Start Date 3/14.   G