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

Bug 1214960

Summary: instack-install-undercloud fails on RHEL 7.1 if python-six not installed
Product: Red Hat OpenStack Reporter: Dan Sneddon <dsneddon>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: calfonso, jliberma, mburns, rhel-osp-director-maint
Target Milestone: gaKeywords: TestOnly, Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:51:15 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:

Description Dan Sneddon 2015-04-24 00:32:54 UTC
Description of problem:
When running instack-install-undercloud on a fresh RHEL 7.1 bare metal server, it fails with "ImportError: No module named six". It succeeds if you run "sudo yum install -y python-six" first.

Version-Release number of selected component (if applicable):
instack.noarch                   0.0.6.4-g57c723a.el7.centos
instack-undercloud.noarch        2.0.0-dev1662.el7.centos @delorean-rdo-management


How reproducible:
100%

Steps to Reproduce:
1. Install RHEL 7.1 on bare metal
2. Follow sphinx instructions to install instack RPMs
3. Run "instack-install-indercloud"

Actual results:
instack-install-undercloud fails when it can't find the six module.

Expected results:
The instack installation scripts should complete.

Additional info:
Output of command, starting just before the error:

+ target_tag=10-install-git
+ date +%s.%N
+ output '10-install-git completed'
++ date
+ echo puppet-tuskar Fri Apr 24 02:09:22 CEST 2015 10-install-git completed
puppet-tuskar Fri Apr 24 02:09:22 CEST 2015 10-install-git completed
+ for target in '$targets'
+ output 'Running /tmp/tmpYtenhF/extra-data.d/10-merge-svc-map-files'
++ date
+ echo puppet-tuskar Fri Apr 24 02:09:22 CEST 2015 Running /tmp/tmpYtenhF/extra-data.d/10-merge-svc-map-files
puppet-tuskar Fri Apr 24 02:09:22 CEST 2015 Running /tmp/tmpYtenhF/extra-data.d/10-merge-svc-map-files
+ target_tag=10-merge-svc-map-files
+ date +%s.%N
+ /tmp/tmpYtenhF/extra-data.d/10-merge-svc-map-files
Traceback (most recent call last):
  File "/tmp/tmpYtenhF/extra-data.d/10-merge-svc-map-files", line 18, in <module>
    import six
ImportError: No module named six
INFO: 2015-04-24 02:09:22,703 -- ############### End stdout/stderr logging ###############
ERROR: 2015-04-24 02:09:22,703 --     Hook FAILED.
ERROR: 2015-04-24 02:09:22,703 -- Failed running command ['dib-run-parts', u'/tmp/tmpYtenhF/extra-data.d']
  File "/usr/lib/python2.7/site-packages/instack/main.py", line 153, in main
    em.run()
  File "/usr/lib/python2.7/site-packages/instack/runner.py", line 79, in run
    self.run_hook(hook)
  File "/usr/lib/python2.7/site-packages/instack/runner.py", line 174, in run_hook
    raise Exception("Failed running command %s" % command)
ERROR: 2015-04-24 02:09:22,704 -- None

Comment 5 Alexander Chuzhoy 2015-06-18 16:18:27 UTC
Verified:
Environment:
instack-undercloud-2.1.2-1.el7ost.noarch


The unified CLI command to install the undercloud is now:
openstack undercloud install

And the issue doesn't reproduce.

Comment 7 errata-xmlrpc 2015-08-05 13:51:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1549