Installation on Oracle Linux 7 fails due to dependency problems between MySQL and Maria
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Aizuddin Zali |
Bug Description
The installation script running on Oracle Linux 7 fails due to an rpm dependency error conflict between MySQL and MariaDB.
It appears that the installer is a bit "split minded" when it comes to Oracle Linux 7 at this point: Early in the installation process it initially fails because Oracle Linux no longer has package "mysql-
2017-02-07 22:21:11.175 | + functions-
2017-02-07 22:21:11.984 | + functions-
2017-02-07 22:21:11.984 | + functions-
2017-02-07 22:21:11.984 | ++ functions-
2017-02-07 22:21:11.984 | + functions-
2017-02-07 22:21:11.984 | + functions-
2017-02-07 22:21:11.984 | + functions-
2017-02-07 22:21:11.984 | Loaded plugins: langpacks, ulninfo
2017-02-07 22:21:11.984 | No package mysql-community
2017-02-07 22:21:11.984 | Error: Nothing to do
2017-02-07 22:21:11.984 | YUM_FAILED 1
HOWEVER if you look back farther in the installation, you find this:
(Part of a Yum Install early in the process)
2017-02-07 22:18:35.133 | mariadb-devel x86_64 3:10.1.18-3.el7 openstack-newton 917 k
...
2017-02-07 22:18:56.817 | mariadb-common x86_64 3:10.1.18-3.el7 openstack-newton 63 k
2017-02-07 22:18:56.817 | mariadb-config x86_64 3:10.1.18-3.el7 openstack-newton 25 k
2017-02-07 22:18:56.817 | mariadb-libs x86_64 3:10.1.18-3.el7 openstack-newton 641 k
Which installs correctly.
So now you have mariadb-common, config, libs and devel...which seem to be coming from the openstack-newton repository...but then later in the process it wants to install mysql-community
If I fix the mysql-community
2017-02-07 22:27:27.783 | +functions-
2017-02-07 22:27:27.783 | Loaded plugins: langpacks, ulninfo
2017-02-07 22:27:27.783 | Resolving Dependencies
2017-02-07 22:27:27.783 | --> Running transaction check
2017-02-07 22:27:27.783 | ---> Package mysql-community
2017-02-07 22:27:27.783 | --> Processing Dependency: mysql-community
2017-02-07 22:27:27.783 | --> Running transaction check
2017-02-07 22:27:27.783 | ---> Package mysql-community
2017-02-07 22:27:27.783 | --> Finished Dependency Resolution
2017-02-07 22:27:27.783 |
2017-02-07 22:27:27.783 | Dependencies Resolved
2017-02-07 22:27:27.783 |
2017-02-07 22:27:27.783 | =======
2017-02-07 22:27:27.783 | Package Arch Version Repository Size
2017-02-07 22:27:27.783 | =======
2017-02-07 22:27:27.783 | Installing:
2017-02-07 22:27:27.783 | mysql-community
2017-02-07 22:27:27.783 | Installing for dependencies:
2017-02-07 22:27:27.783 | mysql-community
2017-02-07 22:27:27.783 |
2017-02-07 22:27:27.783 | Transaction Summary
2017-02-07 22:27:27.783 | =======
2017-02-07 22:27:27.783 | Install 1 Package (+1 Dependent package)
2017-02-07 22:27:27.783 |
2017-02-07 22:27:27.783 | Total size: 78 M
2017-02-07 22:27:27.783 | Installed size: 338 M
2017-02-07 22:27:27.783 | Downloading packages:
2017-02-07 22:27:27.784 | Running transaction check
2017-02-07 22:27:27.784 | Running transaction test
2017-02-07 22:27:27.784 |
2017-02-07 22:27:27.784 |
2017-02-07 22:27:27.784 | Transaction check error:
2017-02-07 22:27:27.784 | file /etc/my.cnf from install of mysql-community
2017-02-07 22:27:27.784 |
2017-02-07 22:27:27.784 | Error Summary
2017-02-07 22:27:27.784 | -------------
2017-02-07 22:27:27.784 |
2017-02-07 22:27:27.784 | YUM_FAILED 1
OracleLinux 7 (at this point) should be detected no differently than RHEL7 or CentOS 7, and in fact, if you go into "./lib/
Furthermore: Why are we pulling mariadb packages from the Openstack Neuton repository when the base package management repos for each of the OS instances already have either MariaDB or MySQL as part of their repositories. If a specific version from OpenStack repo needs to be installed it should be a separate yum call with all other repos turned off...and a full installation should be made (note that you don't get "server" or the base "mariadb" package installed with this method).
description: | updated |
tags: | added: openstack-version.newton |
Changed in devstack: | |
status: | New → Invalid |
Automatically discovered version newton in description. If this is incorrect, please update the description to include 'https:/ /api.launchpad. net/1.0/ devstack version: ...'