Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

packstack --allinone failure at keystone.pp Fedora 23

Hello,

Question: Can I run the keystone.pp (and subsequent necessary stuff) without messing with http/restart? See below for the gritty details.

I am installing openstack on Fedora 23. Near the end, keystone apparently needs to restart httpd and fails. I re-ran {removed,reinstalled httpd/openstack-packstack} the installation several times to figure out what was failing. Seems that the packstack install, after performing considerable re-configuration of my web server, failed to put back the "Include" directive for the modules. I was able to fix my web server after this, but packstack will consistently fail at this point, re-breaking httpd. Included is the output:

root@mattresskitten ~]# packstack --allinone Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160324-222832-DBctSJ/openstack-setup.log

Installing: Clean Up [ DONE ] Discovering ip protocol version [ DONE ] Setting up ssh keys [ DONE ] Preparing servers [ DONE ] Pre installing Puppet and discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Setting up CACERT [ 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 VPNaaS Agent manifest entries [ DONE ] Adding Neutron FWaaS Agent manifest entries [ DONE ] Adding Neutron LBaaS Agent 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 Metering Agent manifest entries [ DONE ] Adding Neutron Metadata Agent manifest entries [ DONE ] Adding Neutron SR-IOV Switch 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 Demo bridge 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 10.23.62.26_prescript.pp 10.23.62.26_prescript.pp: [ DONE ]
Applying 10.23.62.26_amqp.pp Applying 10.23.62.26_mariadb.pp 10.23.62.26_amqp.pp: [ DONE ]
10.23.62.26_mariadb.pp: [ DONE ]
Applying 10.23.62.26_keystone.pp Applying 10.23.62.26_glance.pp Applying 10.23.62.26_cinder.pp 10.23.62.26_keystone.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 10.23.62.26_keystone.pp Error: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not restart Service[httpd]: Execution of '/usr/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. You will find full trace in log /var/tmp/packstack/20160324-222832-DBctSJ/manifests/10.23.62.26_keystone.pp.log Please check log file /var/tmp/packstack/20160324-222832-DBctSJ/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20160324-222835.txt * 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 10.23.62.26. 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 10.23.62.26. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.23.62.26/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://10.23.62.26/nagios username: nagiosadmin, password: 26fd47f3d1764519 [root@mattresskitten ~]#

packstack --allinone failure at keystone.pp Fedora 23

Hello,

Question: Can I run the keystone.pp (and subsequent necessary stuff) without messing with http/restart? See below for the gritty details.

I am installing openstack on Fedora 23. Near the end, keystone apparently needs to restart httpd and fails. I re-ran {removed,reinstalled httpd/openstack-packstack} the installation several times to figure out what was failing. Seems that the packstack install, after performing considerable re-configuration of my web server, failed to put back the "Include" directive for the modules. I was able to fix my web server after this, but packstack will consistently fail at this point, re-breaking httpd. Included is the output:

root@mattresskitten ~]# packstack --allinone Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160324-222832-DBctSJ/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Setting up CACERT                                    [ 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 VPNaaS Agent manifest entries         [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent 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 Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Adding Neutron SR-IOV Switch 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 Demo bridge 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 10.23.62.26_prescript.pp
10.23.62.26_prescript.pp:                            [ DONE ] 
Applying 10.23.62.26_amqp.pp Applying 10.23.62.26_mariadb.pp 10.23.62.26_amqp.pp: [ DONE ]
10.23.62.26_mariadb.pp: [ DONE ]
Applying 10.23.62.26_keystone.pp Applying 10.23.62.26_glance.pp Applying 10.23.62.26_cinder.pp 10.23.62.26_keystone.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

] ERROR : Error appeared during Puppet run: 10.23.62.26_keystone.pp Error: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not restart Service[httpd]: Execution of '/usr/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. You will find full trace in log /var/tmp/packstack/20160324-222832-DBctSJ/manifests/10.23.62.26_keystone.pp.log Please check log file /var/tmp/packstack/20160324-222832-DBctSJ/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20160324-222835.txt * 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 10.23.62.26. 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 10.23.62.26. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.23.62.26/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://10.23.62.26/nagios username: nagiosadmin, password: 26fd47f3d1764519

[root@mattresskitten ~]#