RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1093828 - packstack package should depend on yum-utils
Summary: packstack package should depend on yum-utils
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Gaël Chamoulaud
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-02 18:45 UTC by Lars Kellogg-Stedman
Modified: 2016-04-18 06:47 UTC (History)
7 users (show)

Fixed In Version: openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 23:06:06 UTC
Embargoed:


Attachments (Terms of Use)

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/


Note You need to log in before you can comment on or make changes to this bug.