Preparing servers [ DONE ] Installing Dependencies [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.169.142.57_prescript.pp 192.169.142.57_prescript.pp: [ DONE ] Applying 192.169.142.57_mysql.pp Applying 192.169.142.57_amqp.pp 192.169.142.57_mysql.pp: [ DONE ] 192.169.142.57_amqp.pp: [ DONE ] Applying 192.169.142.57_keystone.pp Applying 192.169.142.57_glance.pp Applying 192.169.142.57_cinder.pp 192.169.142.57_keystone.pp: [ DONE ] 192.169.142.57_cinder.pp: [ DONE ] 192.169.142.57_glance.pp: [ DONE ] Applying 192.169.142.57_api_nova.pp 192.169.142.57_api_nova.pp: [ DONE ] Applying 192.169.142.57_nova.pp 192.169.142.57_nova.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.169.142.57_nova.pp Error: /Service[messagebus]: Could not evaluate: Could not find init script for 'messagebus' You will find full trace in log /var/tmp/packstack/20140709-114849-pY1VcY/manifests/192.169.142.57_nova.pp.log Please check log file /var/tmp/packstack/20140709-114849-pY1VcY/openstack-setup.log for more information Moreover if I create /etc/init.d/messagebus , I get attempt to start D-bus in old style :- 192.169.142.57_nova.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.169.142.57_nova.pp Error: Could not start Service[messagebus]: Execution of '/etc/init.d/messagebus start' returned 127: Starting D-Bus daemon: /etc/init.d/messagebus: line 26: start-stop-daemon: command not found You will find full trace in log /var/tmp/packstack/20140709-170356-4RxF1Q/manifests/192.169.142.57_nova.pp.log Please check log file /var/tmp/packstack/20140709-170356-4RxF1Q/openstack-setup.log for more information
I had a different error but I fixed with the same solution provided in: https://ask.openstack.org/en/question/35705/attempt-of-rdo-aio-install-icehouse-on-centos-7/ "..replace content /etc/redhat-release with "Fedora release 20 (Heisenbug)" and rerun packstack --allinone. In meantime I have IceHouse AIO Instance on CentOS 7 completely functional." Terminal: ERROR : Error appeared during Puppet run: 192.168.11.19_prescript.pp Error: comparison of String with 7 failed at /var/tmp/packstack/2761ac128766421ab10ff27c754a6285/manifests/192.168.11.19_prescript.pp:15 on node stack1.local.lan You will find full trace in log /var/tmp/packstack/20140712-012704-8RBDNB/manifests/192.168.11.19_prescript.pp.log Please check log file /var/tmp/packstack/20140712-012704-8RBDNB/openstack-setup.log for more information openstack-setup.log: ... tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance heat horizon inifile keystone memcached mongodb mysql neutron nova nssdb openstack packstack qp id rabbitmq rsync ssh stdlib swift sysctl tempest vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root.11.19 tar -C /var/tmp/packstack/2761ac128766421ab10ff27c754a6285/modules -xpzf - 2014-07-12 01:28:57::ERROR::run_setup::920::root:: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 915, in main _main(confFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 605, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 584, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 98, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 44, in run raise SequenceError(str(ex)) SequenceError: Error appeared during Puppet run: 192.168.11.19_prescript.pp Error: comparison of String with 7 failed at /var/tmp/packstack/2761ac128766421ab10ff27c754a6285/manifests/192.168.11.19_prescript.pp:15 on node stack1.local.lan You will find full trace in log /var/tmp/packstack/20140712-012704-8RBDNB/manifests/192.168.11.19_prescript.pp.log 2014-07-12 01:28:57::INFO::shell::81::root:: [192.168.11.19] Executing script: rm -rf /var/tmp/packstack/2761ac128766421ab10ff27c754a6285 [root@stack1 20140712-012704-8RBDNB]# 192.168.11.19_prescript.pp.log: Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults Error: comparison of String with 7 failed at /var/tmp/packstack/2761ac128766421ab10ff27c754a6285/manifests/192.168.11.19_prescript.pp:15 on node stack1.local.lan Wrapped exception: comparison of String with 7 failed Error: comparison of String with 7 failed at /var/tmp/packstack/2761ac128766421ab10ff27c754a6285/manifests/192.168.11.19_prescript.pp:15 on node stack1.local.lan
I made the following changes to the Puppet scripts, and it worked, although I'm less sure about the need for the .rb /usr/share/openstack-puppet/modules/nova/manifests/compute/libvirt.pp line 112 < if($::osfamily == 'RedHat' and $::operatingsystem != 'Fedora') { > if($::osfamily == 'RedHat' and $::operatingsystem != 'Fedora' and $::osoperatingsystemmajrelease < 7) { /usr/share/openstack-puppet/modules/nova/spec/classes/nova_compute_libvirt_spec.rb line 107 < :operatingsystemrelease => 6.5 } > :operatingsystemmajrelease => 6.5 } /usr/share/openstack-puppet/modules/nova/spec/classes/nova_compute_libvirt_spec.rb line 136 < super().merge(:operatingsystemrelease => 7.0) > super().merge(:operatingsystemmajrelease => 7.0) /usr/share/openstack-puppet/modules/nova/manifests/params.pp 112 < 'Fedora', 'RedHat': { < $special_service_provider = undef < } < 'RedHat': { < if ($::operatingsystemrelease < 7) { > 'Fedora', 'RedHat', 'CentOS': { > $special_service_provider = undef > } > 'RedHat', 'CentOS': { > if ($::operatingsystemmajrelease < 7) { Of course, that wasn't the last of the Puppet errors, after fixing the above, I also ran into an Apache problem, which required the following change: /usr/share/openstack-puppet/modules/apache/manifests/version.pp line 8 < if ($::operatingsystem == 'Fedora' and $::operatingsystemrelease >= 18) or ($::operatingsystem != 'Fedora' and $::operatingsystemrelease >= 7) { > if ($::operatingsystem == 'Fedora' and $::operatingsystemrelease >= 18) or ($::operatingsystem != 'Fedora' and $::operatingsystemmajrelease >= 7) {
*** Bug 1119450 has been marked as a duplicate of this bug. ***
Kashyap - please note the severity here is unspecified. Should be set to something better.
Created attachment 919050 [details] RDO AIO CentOS 7 Patch Apply with: cd / patch -p1 < /path/to/packstack.diff
The Fix for this has already been merged in the Nova upstream puppet modules [1]. [1] - https://github.com/stackforge/puppet-nova/commit/0ed5b7745b6b200cdda4ae6b7d88af71498361e4
This bug is coming from the new CentOS versioning number. You will find a full status report on all the fixes for CentOS 7 in https://bugzilla.redhat.com/show_bug.cgi?id=1117035#c4
Updated openstack-puppet-modules has been published to the RDO Icehouse repository.