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

Bug 886177

Summary: configure yum-plugin-priorities
Product: Red Hat OpenStack Reporter: Derek Higgins <derekh>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Nir Magnezi <nmagnezi>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0 (Folsom)CC: aortega, apevec, ykaul
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 886178 893146 (view as bug list) Environment:
Last Closed: 2013-01-29 11:09:52 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: 893146    
Bug Blocks:    

Description Derek Higgins 2012-12-11 17:15:59 UTC
openstack-packstack needs to configure the openstack yum repository to have a higher priority then EPEL. 

If installed RHOS should have a higher priority.

Comment 3 Alan Pevec 2013-01-10 09:51:50 UTC
(In reply to comment #2)
> Implemented in
> https://github.com/fedora-openstack/packstack/commit/
> 481758e448dc1f397b50fb1c6a393f6ef14367ed

> # lower priority of EPEL repository

You don't need to change EPEL priority, default priority is 99[1]
just need to make sure RHOS repo has a lower value.

http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch06s14.html

Comment 5 Alan Pevec 2013-01-16 08:31:11 UTC
(In reply to comment #3)
> You don't need to change EPEL priority, default priority is 99[1]
> just need to make sure RHOS repo has a lower value.

From 886178 comment 2, all you need to do is:
$ openstack-config --set /etc/yum.repos.d/redhat.repo rhel-server-ost-6-folsom-rpms priority 1

Comment 6 Martin Magr 2013-01-16 08:51:32 UTC
Oh ok, will rewrite it then.

Comment 8 Nir Magnezi 2013-01-24 13:34:51 UTC
Verified With: openstack-packstack-2012.2.2-0.5.dev318.el6ost.noarch
Used packstack witn an answers file. Set CONFIG_REPO with the repository path
When packstack finished, check /etc/yum.repos.d/

# cat packstack_0.repo 

[packstack_0]
name=packstack_0
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/rel-eng/OpenStack/Folsom/2013-01-21.2/x86_64/os/
enabled=1
priority=1
gpgcheck=0

Comment 10 errata-xmlrpc 2013-01-29 11:09:52 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.

http://rhn.redhat.com/errata/RHEA-2013-0204.html