os-cinder-install.yml fails with conflicting mariadb packages on centos infra hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Markos Chandras |
Bug Description
During the run of os-conder-
It's trying to install packages on one of my infra nodes but fails with this message:
fatal: [infra1]: FAILED! => {
"attempts": 5,
"changed": true,
"failed": true,
"invocation": {
"list": null,
"name": [
],
}
},
"msg": "\n\nTransaction check error:\n file /etc/my.cnf from install of MariaDB-
"rc": 1,
"results": [
"All packages providing gcc are up to date",
"All packages providing gnupg2 are up to date",
"All packages providing libaio are up to date",
"All packages providing libstdc++ are up to date",
"All packages providing libgcc are up to date",
"All packages providing libgcrypt are up to date",
"All packages providing openssl-devel are up to date",
"All packages providing python-devel are up to date",
"Loaded plugins: fastestmirror, priorities\nLoading mirror speeds from cached hostfile\n * base: mirror.
]
}
If I try to yum install one of those packages I see:
=====
Package Arch Version Repository Size
=====
Installing:
MariaDB-client x86_64 10.1.30-
Installing for dependencies:
MariaDB-common x86_64 10.1.30-
So it's trying to install those from the MariaDB repository
The packages that the new packages are conflicting with are from the @openstack-pike repository
description: | updated |
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Markos Chandras (hwoarang) |
Could you please tell us which repositories you have installed on your host? Could you also show us the result of the 'rpm -qi mariadb-common' command? As far as I know mariadb-* is not provided by the default centos7 repos so you probably have another repo installed that pulls mariadb-* in and that conflicts with the repo configured by the galera_server role