Remove system xtrabackup package if found

Bug #1513459 reported by Kevin Carter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Kevin Carter
Liberty
Fix Released
Medium
Jesse Pretorius
Trunk
Fix Released
Medium
Kevin Carter

Bug Description

In earlier versions of OpenStack Ansible, which includes early liberty, the system package for percona xtrabackup was being installed using either the version that came from Ubuntu or directly from the percona repo however since the liberty release we've changed to package install to come directly from a deb downloaded from the percona-xtrabackup archive. The issue is that if the system package was used the installation of the deb may fail because of potential version conflicts. To resolve this issue a task needs to be added before the deb install to ensure that the system version of the package is removed which will guarantee there are no version discrepancies upon installation of the package we know we need.

Changed in openstack-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/242038

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

Reviewed: https://review.openstack.org/242038
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=19a174be954046003ff572b8f34b0945228bc3b1
Submitter: Jenkins
Branch: master

commit 19a174be954046003ff572b8f34b0945228bc3b1
Author: Kevin Carter <email address hidden>
Date: Thu Nov 5 07:06:59 2015 -0600

    Fix issue with system installed xtrabackup

    The change adds a task to ensure that the system provided
    xtrabackup package is removed before installing the downloaded
    version using the deb. This is required to ensure that there
    are no version conflicts when installing the package.

    The change also corrects the version of the galera server repo
    in the defaults directory. While the repo correct version of
    mariadb is being installed the name of the assumed repo is wrong.

    Closes-Bug: #1513459

    Change-Id: I63cb546cf5a4386320f01ed6f2120dd7c8341335
    Signed-off-by: Kevin Carter <email address hidden>

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

Reviewed: https://review.openstack.org/245704
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=d51547789a768ccf79a8d74fb871ed89908477e0
Submitter: Jenkins
Branch: liberty

commit d51547789a768ccf79a8d74fb871ed89908477e0
Author: Kevin Carter <email address hidden>
Date: Thu Nov 5 07:06:59 2015 -0600

    Fix issue with system installed xtrabackup

    The change adds a task to ensure that the system provided
    xtrabackup package is removed before installing the downloaded
    version using the deb. This is required to ensure that there
    are no version conflicts when installing the package.

    The change also corrects the version of the galera server repo
    in the defaults directory. While the repo correct version of
    mariadb is being installed the name of the assumed repo is wrong.

    Closes-Bug: #1513459

    Change-Id: I63cb546cf5a4386320f01ed6f2120dd7c8341335
    Signed-off-by: Kevin Carter <email address hidden>
    (cherry picked from commit 19a174be954046003ff572b8f34b0945228bc3b1)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.8

This issue was fixed in the openstack/openstack-ansible 12.0.8 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.9

This issue was fixed in the openstack/openstack-ansible 12.0.9 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 13.0.0

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 release.

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.