Ask Your Question
4

Attempt of RDO AIO install IceHouse on CentOS 7

asked 2014-07-09 05:40:40 -0500

dbaxps gravatar image

updated 2014-07-09 08:29:14 -0500

   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
edit retag flag offensive close merge delete

Comments

packstack appears not to understand systemd folders content /lib/systemd/system/ ; /usr/lib/systemd/system/; /etc/systemd/system/

dbaxps ( 2014-07-09 08:43:05 -0500 )edit

i also got the Error appeared during Puppet run: 192.169.142.57_nova.pp. it was working fine till yesterday.I made changes in nova.conf file as mentioned in http://docs.openstack.org/juno/instal...

I have installed openstack using packstack in centos7

Queen ( 2015-02-02 08:54:36 -0500 )edit

I have undo the changes as i caught error.but no effect......

Queen ( 2015-02-02 08:55:18 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
2

answered 2014-07-14 07:46:51 -0500

John Haller gravatar image

updated 2014-07-14 07:49:01 -0500

As I installed Icehouse, I recorded the changes I needed to make in Puppet, and have the following list, but don't remember exactly which one of the changes fixed this one. I'm also not sure if the *.rb files absolutely needed to be changed, or if they are only used for testing. But, here is the list, AIO installs on CentOS 7 with all of these changes. Note that this is not real diff output, but copy/paste of the after, and retroactively changing it to the before:

/usr/share/openstack-puppet/modules/mysql/manifests/params.pp: line 40:
<        'RedHat': {
<          if $::operatingsystemrelease >= 7 {
>        'RedHat','CentOS': {
>          if $::operatingsystemmajrelease >= 7 {

/usr/lib/python2.7/site-packages/packstack/puppet/templates/prescript.pp: line 37:
< if $::operatingsystem in $el_releases and $::operatingsystemmajrelease < 7 {
> if $::operatingsystem in $el_releases and $::operatingsystemmajrelease < 7 {
/usr/lib/python2.7/site-packages/packstack/puppet/templates/amqp.pp: line 47:
>      if $::operatingsystemrelease >= 7 {
>      if $::operatingsystemmajrelease >= 7 {
/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) {
/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) {
edit flag offensive delete link more
1

answered 2014-07-09 10:52:18 -0500

dbaxps gravatar image

Workaround just for now :- At the point of first packstack failure with mysql rather then follow https://bugzilla.redhat.com/show_bug.... , 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.

edit flag offensive delete link more

Comments

I had a similar problem and I was able to install RDO fine with this fix. Thank you!!

Alejandro Cortina ( 2014-07-11 14:07:36 -0500 )edit
0

answered 2014-07-11 14:48:11 -0500

kfox gravatar image

I ran into the same issue. the Fedora /etc/redhat-release seems to be working around the issues better then the mysqld service switching stuff.

edit flag offensive delete link more
0

answered 2014-07-09 09:32:55 -0500

Sounds like a bug in puppet modules. Please report it.

edit flag offensive delete link more

Comments

I filed it here on the behalf of the submitter: https://bugzilla.redhat.com/show_bug....

sgordon ( 2014-07-09 09:45:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
2 followers

Stats

Asked: 2014-07-09 05:40:40 -0500

Seen: 5,354 times

Last updated: Jul 14 '14