Removal of apt-cacher-ng breaks yum package installation

Bug #1849219 reported by Jeff Albert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jeff Albert

Bug Description

Change https://review.opendev.org/#/c/608636 removes apt-cacher-ng, but fails to correctly and completely remove references to it in the hosts and containers OSA manages. Specifically, with regard to the changes to the Yum package manager proxy in playbooks/common-tasks/package-cache-proxy.yml:

- The "line" argument to lineinfile specifies a line in which the proxy URL is surrounded by double quotes, but the previous code did not produce a quoted line, so this pattern doesn't match and the proxy line in /etc/yum.conf is not removed.

- The /etc/yum.repos.d/percona-original-release.repo file also specifies the proxy line, but there's no task to remove it.

The result is that during an upgrade to Rocky on a Yum-using infrastructure, the upgrade process fails at the Galera upgrade step. Upsettingly, it only fails after the first Galera node has already had its Galera package uninstalled, leaving the cluster in a non-optimal state, and causing further runs of the play to fail differently because Galera is no longer available to verify the cluster status on the node.

Jeff Albert (jralbert)
Changed in openstack-ansible:
assignee: nobody → Jeff Albert (jralbert)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/689896

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.opendev.org/689896
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=ed625067b3e50c98ff69d2b01679fe50d81b3f9d
Submitter: Zuul
Branch: master

commit ed625067b3e50c98ff69d2b01679fe50d81b3f9d
Author: Jeff Albert <email address hidden>
Date: Mon Oct 21 17:56:39 2019 -0700

    Removes package cache references from yum config

    Removes references to the now-deprecated package cache repo from
    yum.conf and the Percona repo in yum.repos.d

    Change-Id: I19248324604e079336c896b763a0b97ec6aad3a2
    Closes-Bug: #1849219

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/697295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/train)

Reviewed: https://review.opendev.org/697295
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=428b3df345a646c79212162b8ff59d1ea1213e88
Submitter: Zuul
Branch: stable/train

commit 428b3df345a646c79212162b8ff59d1ea1213e88
Author: Jeff Albert <email address hidden>
Date: Mon Oct 21 17:56:39 2019 -0700

    Removes package cache references from yum config

    Removes references to the now-deprecated package cache repo from
    yum.conf and the Percona repo in yum.repos.d

    Change-Id: I19248324604e079336c896b763a0b97ec6aad3a2
    Closes-Bug: #1849219
    (cherry picked from commit ed625067b3e50c98ff69d2b01679fe50d81b3f9d)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible 20.0.0.0rc4

This issue was fixed in the openstack/openstack-ansible 20.0.0.0rc4 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.