Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1157216

Summary: galera is not supplied in the zstream repo or in the Juno repo
Product: [Community] RDO Reporter: Udi Kalifon <ukalifon>
Component: distributionAssignee: Perry Myers <pmyers>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: lars, markmc, stuart.stent, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 02:06:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Udi Kalifon 2014-10-26 09:43:48 UTC
Description of problem:
When installing RDO, on RHEL 7 and with the zstream repo enabled, installation of mariadb-galera-server fails:


Applying 10.35.160.13_mysql.pp
10.35.160.13_amqp.pp:                                [ DONE ]    
10.35.160.13_mysql.pp:                            [ ERROR ]      
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.35.160.13_mysql.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb-galera-server' returned 1: Error: Package: 1:mariadb-galera-server-5.5.39-2.el7.centos.x86_64 (openstack-juno)
You will find full trace in log /var/tmp/packstack/20141023-164041-WGz8Gf/manifests/10.35.160.13_mysql.pp.log
Please check log file /var/tmp/packstack/20141023-164041-WGz8Gf/openstack-setup.log for more information


When you try to install it manually you get:
Error: Package: 1:mariadb-galera-server-5.5.39-2.el7.centos.x86_64 (openstack-juno)
           Requires: galera >= 25.3.3


When you try 'yum install galera' you get:
No package galera available.
Error: Nothing to do


In Icehouse RDO galera was distributed along with RDO. Now it's not in any repo that I could find. I worked around the problem by installing galera from RDO-5 like this:
yum install https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-7/galera-25.3.5-2.el7.x86_64.rpm



How reproducible:
100%


Steps to Reproduce:
1. Use the Juno repo: https://repos.fedorapeople.org/repos/openstack/openstack-juno/rdo-release-juno-1.noarch.rpm
2. Make sure you have the zstream repo http://download.lab.bos.redhat.com/rel-eng/repos/rhel-7.0-z/x86_64/
3. Install all-in-one with packstack


Actual results:
Galera is not in the repos


Expected results:
Galera should be in some repo (RHEL, Juno or epel)


Additional info:
Workaround with: yum install https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-7/galera-25.3.5-2.el7.x86_64.rpm

Comment 1 Udi Kalifon 2014-10-26 09:45:19 UTC
I then got stuck installing openstack-keystone. I tried adding 2 additional dependencies from the RHOS repo:

yum install http://download.lab.bos.redhat.com/rel-eng/OpenStack/5.0-RHEL-7/latest/RH7-RHOS-5.0/x86_64/os/Packages/python-routes-1.13-2.el7ost.noarch.rpm http://download.lab.bos.redhat.com/rel-eng/OpenStack/5.0-RHEL-7/latest/RH7-RHOS-5.0/x86_64/os/Packages/python-repoze-lru-0.4-3.el7ost.noarch.rpm

And lastly I gave up when I got this error:
Error: Package: python-oauthlib-0.6.0-4.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda/7.0)
               python(abi) = 2.7
               python(abi) = 2.7

Comment 2 Lars Kellogg-Stedman 2015-03-19 02:06:36 UTC
Per https://www.rdoproject.org/Repositories, RDO depends on the EPEL repositories.  If I install EPEL for RHEL7:

# yum -y localinstall https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

I can then find the galera package:

# yum info galera
Available Packages
Name        : galera
Arch        : x86_64
Version     : 25.3.5
Release     : 7.el7
Size        : 1.1 M
Repo        : epel/x86_64
Summary     : Synchronous multi-master wsrep provider (replication engine)
URL         : http://www.codership.com/
License     : GPLv2
[...]

And I can successfully install mariadb-galera-server:

# yum -y install mariadb-galera-server
[...]
Installed:
  mariadb-galera-server.x86_64 1:5.5.40-6.el7ost                                                               [...]