RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1225312 - Packstack Installation error - Invalid parameter create_mysql_resource on Class[Galera::Server]
Summary: Packstack Installation error - Invalid parameter create_mysql_resource on Cla...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: Kilo
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: Kilo
Assignee: Martin Magr
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 05:18 UTC by Prasanth Anbalagan
Modified: 2016-04-22 13:25 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-22 13:25:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Prasanth Anbalagan 2015-05-27 05:18:09 UTC
Description of problem:

Observing the following error during installation of RDO using packstack.

STEPS
=====

yum -y erase openstack-{packstack*,puppet-modules}
yum -y install git python-setuptools
git clone https://github.com/sachidanandaurs/openstack-puppet-modules.git
git clone https://github.com/sachidanandaurs/packstack.git

yum -y install https://rdo.fedorapeople.org/rdo-release.rpm
yum -y update

mkdir /usr/share/openstack-puppet
ln -sv /root/openstack-puppet-modules /usr/share/openstack-puppet/modules
cd packstack

python setup.py develop; python setup.py install
cd /usr/share/openstack-puppet/modules
ln -sv /root/packstack/packstack/puppet/modules/packstack
ln -sv /root/packstack/packstack/puppet/modules/remote

packstack --allinone


CONSOLE LOGS
=============

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Preinstalling Puppet and discovering hosts' details  [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Swift Keystone manifest entries               [ DONE ]
Adding Swift builder manifest entries                [ DONE ]
Adding Swift proxy manifest entries                  [ DONE ]
Adding Swift storage manifest entries                [ DONE ]
Adding Swift common manifest entries                 [ DONE ]
Adding Provisioning Demo manifest entries            [ DONE ]
Adding Provisioning Glance manifest entries          [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Redis manifest entries                        [ DONE ]
Adding Ceilometer manifest entries                   [ DONE ]
Adding Ceilometer Keystone manifest entries          [ DONE ]
Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Adding post install manifest entries                 [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying X.X.X.X_prescript.pp
X.X.X.X_prescript.pp:                           [ DONE ]        
Applying X.X.X.X_amqp.pp
Applying X.X.X.X_mariadb.pp
X.X.X.X_amqp.pp:                                [ DONE ]      
X.X.X.X_mariadb.pp:                          [ ERROR ]        
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: X.X.X.X_mariadb.pp
Error: Invalid parameter create_mysql_resource on Class[Galera::Server] at /var/tmp/packstack/a11038fab94849059cb84e18fdd1841b/manifests/X.X.X.X_mariadb.pp:21 on node a.b.c.d
You will find full trace in log /var/tmp/packstack/20150527-075931-LquvrG/manifests/X.X.X.X_mariadb.pp.log
Please check log file /var/tmp/packstack/20150527-075931-LquvrG/openstack-setup.log for more information
Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Warning: NetworkManager is active on X.X.X.X. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host X.X.X.X. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://X.X.X.X/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://X.X.X.X/nagios username: <.......>, password: <..........>

MARIADB.PP.LOG
===============

[root@X-Y ~]# cat /var/tmp/packstack/20150527-075931-LquvrG/manifests/X.X.X.X_mariadb.pp.log
Error: Invalid parameter create_mysql_resource on Class[Galera::Server] at /var/tmp/packstack/a11038fab94849059cb84e18fdd1841b/manifests/X.X.X.X_mariadb.pp:21 on node a.b.c.d
Wrapped exception:
Invalid parameter create_mysql_resource
Error: Invalid parameter create_mysql_resource on Class[Galera::Server] at /var/tmp/packstack/a11038fab94849059cb84e18fdd1841b/manifests/X.X.X.X_mariadb.pp:21 on node a.b.c.d



Version-Release number of selected component (if applicable):
=============================================================

[root@X-Y ~]# packstack --version
packstack Kilo 2015.1.dev1541.ga7a946f

[root@X-Y ~]# yum list installed | grep rdo
rdo-release.noarch               kilo-1                              @/rdo-release
rubygem-rdoc.noarch              4.0.0-24.el7                        @anaconda  

[root@X-Y ~]# yum list installed | grep mariadb
mariadb-libs.x86_64              1:5.5.41-2.el7_0                    @anaconda  

[root@X-Y ~]# cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 


How reproducible:
================

Always

Comment 2 Daniel Raj 2016-02-11 05:30:59 UTC
Iam also facing same problem with Liberty release on my Fedora22 VM.
Is there a work around for this?

Comment 4 svanukuri 2016-04-21 18:30:06 UTC
I am also facing the same issue while installing openstack 7.0.

Comment 5 Martin Magr 2016-04-22 13:25:54 UTC
The problem here is that you are probably using wrong version of OPM, so instead of following:

git clone https://github.com/sachidanandaurs/openstack-puppet-modules.git
<snip>
ln -sv /root/openstack-puppet-modules /usr/share/openstack-puppet/modules
<snip>
python setup.py develop; python setup.py install

You should do:

python setup.py develop; python setup.py install_puppet_modules 

And then override only the modules you need in /usr/share/openstack-puppet/modules. That way you have a chance that you won't use incompatible Puppet modules with Packstack.


Note You need to log in before you can comment on or make changes to this bug.