Undercloud Install Fails

Solution Unverified - Updated -

Issue

  • After running 'openstack undercloud install' the following error is encountered preventing the install from completing:
[2016/01/25 02:15:36 PM] [WARNING] DEPRECATED: falling back to /var/run/os-collect-config/os_config_files.json
+ UNDERCLOUD_TUSKAR_PASSWORD=<password>
+ os-db-create tuskar tuskar <password>
dib-run-parts Mon Jan 25 14:15:36 UTC 2016 80-tuskar-db-create completed
dib-run-parts Mon Jan 25 14:15:36 UTC 2016 Running /usr/libexec/os-refresh-config/configure.d/88-httpd-vhost-port
+ set -o pipefail
+ add-rule INPUT -p tcp --dport 8088 -j ACCEPT
active
iptables: Bad rule (does a matching rule exist in that chain?).
+ mkdir -p /etc/httpd/conf.d
++ dirname /usr/libexec/os-refresh-config/configure.d/88-httpd-vhost-port
+ sudo cp -r /usr/libexec/os-refresh-config/configure.d/ipxe-vhost.template /etc/httpd/conf.d/10-ipxe_vhost.conf
+ os-svc-enable -n apache2
WARNING: map-services has been deprecated.  Please use the svc-map element.
+ os-svc-restart -n apache2
WARNING: map-services has been deprecated.  Please use the svc-map element.
+ '[' -x /usr/sbin/semanage ']'
+ semanage fcontext -a -t httpd_sys_content_t '/httpboot(/.*)?'
+ restorecon -Rv /httpboot/
restorecon reset /httpboot context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:httpd_sys_content_t:s0
restorecon reset /httpboot/discoverd.ipxe context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:httpd_sys_content_t:s0
+ semanage port -d -t http_port_t -p tcp 8088
ValueError: Port tcp/8088 is not defined
+ true
+ semanage port -a -t http_port_t -p tcp 8088
/usr/libexec/os-refresh-config/configure.d/88-httpd-vhost-port: line 23: 25619 Killed                  semanage port -a -t http_port_t -p tcp 8088
[2016-01-25 14:15:59,610] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 137]

[2016-01-25 14:15:59,616] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 526, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 461, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 297, in _run_live_command
    raise RuntimeError('%s failed. See log for details.', name)
RuntimeError: ('%s failed. See log for details.', 'os-refresh-config')
ERROR: openstack Command 'instack-install-undercloud' returned non-zero exit status 1

Environment

Red Hat OpenStack Platform 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content