Bug 1093828

Summary: packstack package should depend on yum-utils
Product: [Community] RDO Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-packstackAssignee: Gaƫl Chamoulaud <gchamoul>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, gchamoul, ichavero, lbezdick, srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:06:06 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 Lars Kellogg-Stedman 2014-05-02 18:45:53 UTC
Description of problem:

Packstack is missing a dependency on the yum-utils package, which it needs for yum-config-manager.

Version-Release number of selected component (if applicable):

openstack-packstack-2013.2.1-0.36.dev1013.el6.noarch


How reproducible:

Run "packstack --allinone" on a system without yum-utils.

Actual results:

ERROR : Failed to set RDO repo on host 10.0.0.4:
RPM file seems to be installed, but appropriate repo file is probably missing in /etc/yum.repos.d/
Please check log file /var/tmp/packstack/20140502-183506-CpPErx/openstack-setup.log for more information

This happens because the call to yum-config-manager fails:

2014-05-02 18:36:41::INFO::shell::78::root:: [10.0.0.4] Executing script:
yum-config-manager --enable openstack-havana
2014-05-02 18:36:52::ERROR::run_setup::891::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 872, in main
    single_step_aio_install(options)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 656, in single_step_aio_install
    single_step_install(options)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 689, in single_step_install
    _main(answerfilepath)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 573, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 552, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 84, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 96, in run
    step.run(config=config)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 43, in run
    raise SequenceError(str(ex))
SequenceError: Failed to set RDO repo on host 10.0.0.4:
RPM file seems to be installed, but appropriate repo file is probably missing in /etc/yum.repos.d/