Ask Your Question
0

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 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 ...
(more)
edit retag flag offensive close merge delete

Comments

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
0

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

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

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 492 times

Last updated: Feb 08