Unable to finish packstack install without error.

asked 2017-12-16 23:54:33 -0600

vblando gravatar image

OS: CentOS 7 Release: Pike using RDO Packstack

packstack error output

Applying [ ERROR ] Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run:
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/
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 To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to .
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   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6    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@ 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@ 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@ 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
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences
  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 ...
edit retag flag offensive close merge delete


tried running it a couple of time but still the same, the hostname openstack_pike resolves just fine though

vblando gravatar imagevblando ( 2017-12-16 23:55:36 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-02-08 13:49:07 -0600

tiswanso gravatar image

I hit a similar problem and it's due to the hostname being an invalid DNS hostname -- due to the '_' character. Change your system's hostname it should work.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-12-16 23:54:33 -0600

Seen: 1,797 times

Last updated: Feb 08 '18