Description of problem: packstack fails due to duplicate definition 2014-08-26 19:01:12 sshConnection - INFO - Error: Duplicate declaration: Service[mysqld] is already declared in file /var/tmp/packstack/d861e288985b4c6ab8cc978fa79d016e/manifests/172.16.32.28_mysql.pp:12; cannot redeclare at /var/tmp/packstack/d861e288985b4c6ab8cc978fa79d016e/modules/mysql/manifests/server.pp:52 on node jenkins-7e38a78a-7.novalocal Version-Release number of selected component (if applicable): openstack-packstack.noarch 0:2014.1.1-0.40.dev1239.el6ost will be installed How reproducible: 1/1 Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** This bug has been marked as a duplicate of bug 1129397 ***
So, the duplicate definition is here: # on EL6 we need to wait for innodb changes before starting mysqld if $::operatingsystem in ['RedHat','CentOS','Scientific'] and $::operatingsystemmajrelease < 7 { $manage_service = false service { 'mysqld': enable => true, ensure => 'running', require => [ Package['mysql-server'], File['/etc/my.cnf'] ], before => Exec['set_mysql_rootpw'], } If the comment is correct, I believe that it may be possible to simply remove the special-case for RHEL 6 at this point, since RHEL OSP 5 ships mariadb-galera-server 5.5.x, which has InnoDB as the default. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1129397#c10 https://bugzilla.redhat.com/show_bug.cgi?id=1129397#c11
I think the patch referenced here [1] is not needed. As mentioned in [2], it is pupept-galera that needs to disable mariadb/mysqld for HA. This has been patched in o-p-m. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1129397#c2 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1129397#c3