Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rdo packstack allinone puppet

Fresh Fedora 23 server on a DL380 G5. Used the quickstart page https://www.rdoproject.org/install/quickstart/. Created /etc/environment, then cut and paste instructions. Like clockwork, puppet fails everytime. Tried some of the workarounds, nothing seems to get by this error. This machine's ip is 192.168.2.10. ... (snip) 192.168.2.10_amqp.pp: [ DONE ]
192.168.2.10_mariadb.pp: [ DONE ]
Applying 192.168.2.10_keystone.pp Applying 192.168.2.10_glance.pp Applying 192.168.2.10_cinder.pp 192.168.2.10_keystone.pp: [ DONE ]
192.168.2.10_glance.pp: [ DONE ]
192.168.2.10_cinder.pp: [ DONE ]
Applying 192.168.2.10_api_nova.pp 192.168.2.10_api_nova.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.2.10_api_nova.pp Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node openstack.n-voice.com You will find full trace in log /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log Please check log file /var/tmp/packstack/20160315-215602-bBbQnf/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20160315-215603.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 192.168.2.10. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.2.10/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.2.10/nagios username: nagiosadmin, password:

cat /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log Error: NetworkManager is not running. Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::database_connection'; class ::nova has not been evaluated Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::slave_connection'; class ::nova has not been evaluated Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::database_idle_timeout'; class ::nova has not been evaluated Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node stack.n-voice.com

/var/tmp/packstack/20160315-215602-bBbQnf/openstack-setup.log: ... tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance galera heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vlan vswitch xinetd openstacklib | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.2.10 tar -C /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules -xpzf - 2016-03-15 22:02:03::ERROR::run_setup::1017::root:: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 992, in main single_step_aio_install(options, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 760, in single_step_aio_install single_step_install(options, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 791, in single_step_install _main(options, answerfilepath, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 123, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 192.168.2.10_api_nova.pp Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node openstack.n-voice.com You will find full trace in log /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log

2016-03-15 22:02:03::INFO::shell::94::root:: [192.168.2.10] Executing script: rm -rf /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259

Easy fix?

rdo packstack allinone puppet

Fresh Fedora 23 server on a DL380 G5. Used the quickstart page https://www.rdoproject.org/install/quickstart/. Created /etc/environment, then cut and paste instructions. Like clockwork, puppet fails everytime. Tried some of the workarounds, nothing seems to get by this error. This machine's ip is 192.168.2.10. ... (snip) (snip)

192.168.2.10_amqp.pp:                                [ DONE ] 
192.168.2.10_mariadb.pp: [ DONE ]
Applying 192.168.2.10_keystone.pp Applying 192.168.2.10_glance.pp Applying 192.168.2.10_cinder.pp 192.168.2.10_keystone.pp: [ DONE ]
192.168.2.10_glance.pp: [ DONE ]
192.168.2.10_cinder.pp: [ DONE ]
Applying 192.168.2.10_api_nova.pp 192.168.2.10_api_nova.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

] ERROR : Error appeared during Puppet run: 192.168.2.10_api_nova.pp Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node openstack.n-voice.com You will find full trace in log /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log Please check log file /var/tmp/packstack/20160315-215602-bBbQnf/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20160315-215603.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 192.168.2.10. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.2.10/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.2.10/nagios username: nagiosadmin, password:

cat /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log Error: NetworkManager is not running. Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::database_connection'; class ::nova has not been evaluated Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::slave_connection'; class ::nova has not been evaluated Warning: Scope(Class[Nova::Db]): Could not look up qualified variable '::nova::database_idle_timeout'; class ::nova has not been evaluated Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node stack.n-voice.com

stack.n-voice.com /var/tmp/packstack/20160315-215602-bBbQnf/openstack-setup.log: ... tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance galera heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vlan vswitch xinetd openstacklib | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.2.10 tar -C /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules -xpzf - 2016-03-15 22:02:03::ERROR::run_setup::1017::root:: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 992, in main single_step_aio_install(options, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 760, in single_step_aio_install single_step_install(options, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 791, in single_step_install _main(options, answerfilepath, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 123, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 192.168.2.10_api_nova.pp Error: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259/modules/nova/manifests/api.pp:376:37 on node openstack.n-voice.com You will find full trace in log /var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log

/var/tmp/packstack/20160315-215602-bBbQnf/manifests/192.168.2.10_api_nova.pp.log 2016-03-15 22:02:03::INFO::shell::94::root:: [192.168.2.10] Executing script: rm -rf /var/tmp/packstack/008b788f09c84ca3ba677fe39185b259

/var/tmp/packstack/008b788f09c84ca3ba677fe39185b259

Easy fix?