mariadb-client excluded in ocata centos7 deploy

Bug #1739472 reported by Marek Grudzinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Markos Chandras

Bug Description

during the TASK [galera_client : Install galera yum packages] in /etc/ansible/roles/galera_client/tasks/galera_client_install_yum.yml one package is trying to get installed "MariaDB-client" but that package is excluded in yum priorities. More info below:

exclusion:

# yum update -d3 | grep -i -e "mariadb-client"
 --> MariaDB-client-10.1.29-1.el7.centos.x86_64 from MariaDB excluded (priority)

repo:

# cat /etc/yum.repos.d/MariaDB.repo
[MariaDB]
baseurl = http://yum.mariadb.org/10.1/centos/7/x86_64
enabled = 1
gpgcheck = 1
gpgkey = http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
name = MariaDB Repo

actual package from repo:
MariaDB-10.1.29-centos7-x86_64-client.rpm 2017-Nov-14 21:06:44 39.4M application/x-redhat-package-manager

This packages needs mariadb-common which is in conflict with mariadb-libs-5.5.56-2.el7.x86_64.

Revision history for this message
Marek Grudzinski (ivve) wrote :

The suggested common package from the repo: MariaDB-common-10.1.29-1.el7.centos.x86_64

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Markos will try to replicate the issue. Thanks Markos!

Changed in openstack-ansible:
assignee: nobody → Markos Chandras (hwoarang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_client (master)

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

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

Reviewed: https://review.openstack.org/541581
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_client/commit/?id=72cc31a4d6107a69f3d9d5f2bd287112385df1c2
Submitter: Zuul
Branch: master

commit 72cc31a4d6107a69f3d9d5f2bd287112385df1c2
Author: Markos Chandras <email address hidden>
Date: Tue Feb 6 13:22:36 2018 +0000

    RedHat: Ensure that conflicting MariaDB packages are removed

    When the galera_client role is deployed along with other roles, some
    of them may pull mariadb packages as a dependency for the services
    they deploy. However, this role uses MariaDB packages from the upstream
    repository which conflict with those provided by the EPEL or the RDO
    ones so we need to ensure that they are gone before we install the
    upstream ones.

    Closes-Bug: #1739472
    Change-Id: Ie1a2126986ee95671ece79374e1385846c8cce1a

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-galera_client (master)

Reviewed: https://review.openstack.org/542762
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_client/commit/?id=934344ab4121e1a42a47b7946ff789672d5281cd
Submitter: Zuul
Branch: master

commit 934344ab4121e1a42a47b7946ff789672d5281cd
Author: Markos Chandras <email address hidden>
Date: Fri Feb 9 08:56:57 2018 +0000

    Set proper yum repo priority on CentOS 7

    This patch ensures that we get galera from the MariaDB repos
    and not from RDO. This matches I2c8e4e64c2425cd36903ae9288bd9fee29eef355
    which did the same thing for the galera-server role.

    Closes-Bug: #1739472
    Change-Id: I8f22083a306ba7569148a53af94397c31d90dbac

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_client (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/543421

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

Reviewed: https://review.openstack.org/543421
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_client/commit/?id=79b4bd9980b75355ec729bba37a440f4c88df106
Submitter: Zuul
Branch: stable/pike

commit 79b4bd9980b75355ec729bba37a440f4c88df106
Author: Markos Chandras <email address hidden>
Date: Fri Feb 9 08:56:57 2018 +0000

    Set proper yum repo priority on CentOS 7

    This patch ensures that we get galera from the MariaDB repos
    and not from RDO. This matches I2c8e4e64c2425cd36903ae9288bd9fee29eef355
    which did the same thing for the galera-server role.

    Closes-Bug: #1739472
    Change-Id: I8f22083a306ba7569148a53af94397c31d90dbac
    (cherry picked from commit 934344ab4121e1a42a47b7946ff789672d5281cd)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_client 17.0.0.0rc1

This issue was fixed in the openstack/openstack-ansible-galera_client 17.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_client (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/545318

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

Reviewed: https://review.openstack.org/545318
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_client/commit/?id=964903fd5c48b2944913f65219ec381abd0c76ad
Submitter: Zuul
Branch: stable/queens

commit 964903fd5c48b2944913f65219ec381abd0c76ad
Author: Markos Chandras <email address hidden>
Date: Fri Feb 9 08:56:57 2018 +0000

    Set proper yum repo priority on CentOS 7

    This patch ensures that we get galera from the MariaDB repos
    and not from RDO. This matches I2c8e4e64c2425cd36903ae9288bd9fee29eef355
    which did the same thing for the galera-server role.

    Closes-Bug: #1739472
    Change-Id: I8f22083a306ba7569148a53af94397c31d90dbac
    (cherry picked from commit 934344ab4121e1a42a47b7946ff789672d5281cd)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_client 16.0.9

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_client 17.0.0.0rc2

This issue was fixed in the openstack/openstack-ansible-galera_client 17.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_client 18.0.0.0b1

This issue was fixed in the openstack/openstack-ansible-galera_client 18.0.0.0b1 development milestone.

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.