Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to finish packstack install without error.

OS: CentOS 7 Release: Pike using RDO Packstack

packstack error output

Applying 192.168.12.4_controller.pp 192.168.12.4_controller.pp: [ ERROR ] Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.12.4_controller.pp
Notice: /Stage[main]/Cinder::Db::Sync/Exec[cinder-manage db_sync]/returns: oslo_config.cfg.DefaultValueError: Error processing default value openstack_pike for Opt type of HostAddress.
You will find full trace in log /var/tmp/packstack/20171217-125558-0qcztd/manifests/192.168.12.4_controller.pp.log
Please check log file /var/tmp/packstack/20171217-125558-0qcztd/openstack-setup.log for more information
Additional information:
 * A new answerfile was created in: /root/packstack-answers-20171217-125559.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.12.4. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.12.4/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
You have new mail in /var/spool/mail/root
[root@openstack_pike ~]#


[root@openstack_pike oslo_config]#
[root@openstack_pike oslo_config]# cd
[root@openstack_pike ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.12.4    openstack_pike
[root@openstack_pike ~]#

openstack install logs

2017-12-17 12:56:43::INFO::shell::94::root:: [localhost] Executing script:
cd /var/tmp/packstack/20171217-125558-0qcztd/hieradata
tar --dereference -cpzf - ../hieradata | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.12.4 tar -C /var/tmp/packstack/7d301bfd54214e9195c50bead00adeac -xpzf -
cd /usr/lib/python2.7/site-packages/packstack/puppet
cd /var/tmp/packstack/20171217-125558-0qcztd/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.12.4 tar -C /var/tmp/packstack/7d301bfd54214e9195c50bead00adeac -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder concat firewall glance gnocchi heat horizon inifile ironic keystone magnum manila memcached mysql neutron nova nssdb openstack openstacklib oslo ovn packstack panko rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.12.4 tar -C /var/tmp/packstack/7d301bfd54214e9195c50bead00adeac/modules -xpzf -
2017-12-17 13:12:18::ERROR::run_setup::1059::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1034, in main
    single_step_aio_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 798, in single_step_aio_install
    single_step_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 829, in single_step_install
    _main(options, answerfilepath, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, 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 214, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, 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.12.4_controller.pp
Notice: /Stage[main]/Cinder::Db::Sync/Exec[cinder-manage db_sync]/returns: oslo_config.cfg.DefaultValueError: Error processing default value openstack_pike for Opt type of HostAddress