Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1653058

Summary: Failing to deploy UC - Command 'instack-install-undercloud' returned non-zero exit status 1
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: rhosp-directorAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Gurenko Alex <agurenko>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 12.0 (Pike)CC: dbecker, mburns, morazi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-25 21:15:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1629729    
Attachments:
Description Flags
UC install log none

Description Tzach Shefi 2018-11-25 10:04:22 UTC
Created attachment 1508417 [details]
UC install log

Description of problem: Trying to deploy my BM UC


Version-Release number of selected component (if applicable):
rhel7.6
rhos-release 12   -p 2018-11-21.1



How reproducible:
Unsure 


Steps to Reproduce:
1. Run openstack undercloud install
2.
3.

Actual results:

2018-11-25 11:59:18,465 INFO: + ln -f -s /usr/share/openstack-puppet/modules/aodh /usr/share/openstack-puppet/modules/apache /usr/share/openstack-puppet/modules/archive /usr/share/openstack-puppet/modules/auditd /usr/share/openstack-puppet/modules/barbican /usr/share/openstack-puppet/modules/cassandra /usr/share/openstack-puppet/modules/ceilometer /usr/share/openstack-puppet/modules/ceph /usr/share/openstack-puppet/modules/certmonger /usr/share/openstack-puppet/modules/cinder /usr/share/openstack-puppet/modules/collectd /usr/share/openstack-puppet/modules/concat /usr/share/openstack-puppet/modules/contrail /usr/share/openstack-puppet/modules/corosync /usr/share/openstack-puppet/modules/datacat /usr/share/openstack-puppet/modules/ec2api /usr/share/openstack-puppet/modules/elasticsearch /usr/share/openstack-puppet/modules/fdio /usr/share/openstack-puppet/modules/firewall /usr/share/openstack-puppet/modules/fluentd /usr/share/openstack-puppet/modules/git /usr/share/openstack-puppet/modules/glance /usr/share/openstack-puppet/modules/gnocchi /usr/share/openstack-puppet/modules/haproxy /usr/share/openstack-puppet/modules/heat /usr/share/openstack-puppet/modules/horizon /usr/share/openstack-puppet/modules/inifile /usr/share/openstack-puppet/modules/ipaclient /usr/share/openstack-puppet/modules/ironic /usr/share/openstack-puppet/modules/java /usr/share/openstack-puppet/modules/kafka /usr/share/openstack-puppet/modules/keepalived /usr/share/openstack-puppet/modules/keystone /usr/share/openstack-puppet/modules/kibana3 /usr/share/openstack-puppet/modules/kmod /usr/share/openstack-puppet/modules/manila /usr/share/openstack-puppet/modules/memcached /usr/share/openstack-puppet/modules/midonet /usr/share/openstack-puppet/modules/mistral /usr/share/openstack-puppet/modules/module-data /usr/share/openstack-puppet/modules/mysql /usr/share/openstack-puppet/modules/n1k_vsm /usr/share/openstack-puppet/modules/neutron /usr/share/openstack-puppet/modules/nova /usr/share/openstack-puppet/modules/nssdb /usr/share/openstack-puppet/modules/ntp /usr/share/openstack-puppet/modules/octavia /usr/share/openstack-puppet/modules/opendaylight /usr/share/openstack-puppet/modules/openstack_extras /usr/share/openstack-puppet/modules/openstacklib /usr/share/openstack-puppet/modules/oslo /usr/share/openstack-puppet/modules/ovn /usr/share/openstack-puppet/modules/pacemaker /usr/share/openstack-puppet/modules/panko /usr/share/openstack-puppet/modules/rabbitmq /usr/share/openstack-puppet/modules/redis /usr/share/openstack-puppet/modules/remote /usr/share/openstack-puppet/modules/rsync /usr/share/openstack-puppet/modules/sahara /usr/share/openstack-puppet/modules/sensu /usr/share/openstack-puppet/modules/snmp /usr/share/openstack-puppet/modules/ssh /usr/share/openstack-puppet/modules/staging /usr/share/openstack-puppet/modules/stdlib /usr/share/openstack-puppet/modules/swift /usr/share/openstack-puppet/modules/sysctl /usr/share/openstack-puppet/modules/systemd /usr/share/openstack-puppet/modules/tempest /usr/share/openstack-puppet/modules/timezone /usr/share/openstack-puppet/modules/tomcat /usr/share/openstack-puppet/modules/tripleo /usr/share/openstack-puppet/modules/trove /usr/share/openstack-puppet/modules/uchiwa /usr/share/openstack-puppet/modules/vcsrepo /usr/share/openstack-puppet/modules/veritas_hyperscale /usr/share/openstack-puppet/modules/vlan /usr/share/openstack-puppet/modules/vswitch /usr/share/openstack-puppet/modules/xinetd /usr/share/openstack-puppet/modules/zaqar /usr/share/openstack-puppet/modules/zookeeper /etc/puppet/modules/
2018-11-25 11:59:18,465 INFO: ln: target ‘/etc/puppet/modules/’ is not a directory: No such file or directory
2018-11-25 11:59:18,466 INFO: INFO: 2018-11-25 11:59:18,463 -- ############### End stdout/stderr logging ###############
2018-11-25 11:59:18,467 INFO: ERROR: 2018-11-25 11:59:18,464 --     Hook FAILED.
2018-11-25 11:59:18,468 INFO: ERROR: 2018-11-25 11:59:18,464 -- Failed running command ['/usr/lib/python2.7/site-packages/diskimage_builder/lib/dib-run-parts', u'/root/.instack/tmp/instack.VQku7q/hook2jApTe/install.d']
2018-11-25 11:59:18,468 INFO:   File "/usr/lib/python2.7/site-packages/instack/main.py", line 181, in main
2018-11-25 11:59:18,469 INFO:     em.run()
2018-11-25 11:59:18,469 INFO:   File "/usr/lib/python2.7/site-packages/instack/runner.py", line 109, in run
2018-11-25 11:59:18,470 INFO:     self.run_hook(hook)
2018-11-25 11:59:18,470 INFO:   File "/usr/lib/python2.7/site-packages/instack/runner.py", line 212, in run_hook
2018-11-25 11:59:18,471 INFO:     raise Exception("Failed running command %s" % command)
2018-11-25 11:59:18,471 INFO: ERROR: 2018-11-25 11:59:18,465 -- None
2018-11-25 11:59:18,509 DEBUG: An exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1909, in install
    _run_instack(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1355, in _run_instack
    _run_live_command(args, instack_env, 'instack')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 625, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: instack failed. See log for details.
2018-11-25 11:59:18,512 ERROR: 
#############################################################################
Undercloud install failed.

Reason: instack failed. See log for details.

See the previous output for details about what went wrong.  The full install
log can be found at /home/stack/.instack/install-undercloud.log.

#############################################################################

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1909, in install
    _run_instack(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1355, in _run_instack
    _run_live_command(args, instack_env, 'instack')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 625, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: instack failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1


Expected results:


Additional info:

Comment 1 Tzach Shefi 2018-11-25 13:13:11 UTC
FYI might be related to preinstalled puppets. 
Checking again, boarding a fligjt, I'll update close ticket if this is the root cause.

Comment 2 Tzach Shefi 2018-11-25 21:15:24 UTC
Yep, removing preinstalled puppet modules and started fresh fixed this issue. 
Undercloud now installed without errors. 
Closing as not a bug.