Bug 1324617 - error in Repository requirement => broken package
Summary: error in Repository requirement => broken package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Dan Macpherson
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 19:20 UTC by Nicolas Hicher
Modified: 2016-04-06 23:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-06 23:35:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nicolas Hicher 2016-04-06 19:20:48 UTC
Description of problem:


In the documentation, we specify to enable:

rhel-7-server-rhceph-1.3-osd-rpms for ceph nodes
rhel-7-server-rhceph-1.3-mon-rpms for controller nodes

without both repos on ceph and controller nodes, the upgrade is not possible:

--> Finished Dependency Resolution
Error: Package: 1:ceph-osd-0.94.1-13.el7cp.x86_64 (@rhos-7.0-director-ceph-1.3-osd-signed)
           Requires: ceph = 1:0.94.1-13.el7cp
           Removing: 1:ceph-0.94.1-13.el7cp.x86_64 (@rhos-7.0-director-ceph-1.3-mon-signed)
               ceph = 1:0.94.1-13.el7cp
           Updated By: 1:ceph-0.94.5-9.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.5-9.el7cp
           Available: 1:ceph-0.94.1-15.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.1-15.el7cp
           Available: 1:ceph-0.94.1-16.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.1-16.el7cp
           Available: 1:ceph-0.94.1-18.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.1-18.el7cp
           Available: 1:ceph-0.94.1-19.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.1-19.el7cp
           Available: 1:ceph-0.94.3-3.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.3-3.el7cp
           Available: 1:ceph-0.94.3-6.el7cp.x86_64 (rhel-7-server-rhceph-1.3-mon-rpms)
               ceph = 1:0.94.3-6.el7cp
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

The solution is to enable both repo for controller and ceph nodes

How reproducible:

everytime

Steps to Reproduce:
1. enable on mon repo on controller, and only osd repo on ceph nodes
2. sudo yum update --downloadonly


Actual results:

broken packages

Expected results:

all packages are downloaded

Additional info:

Comment 3 Dan Macpherson 2016-04-06 20:02:55 UTC
(In reply to Nicolas Hicher from comment #2)
> https://access.redhat.com/documentation/en-US/
> Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/
> Director_Installation_and_Usage/sect-Repository_Requirements.html

Hi Nicholas,

This table is a list of repositories to synchronize if using Satellite 5 or 6, not repositories to enable. The actual enabling of these repositories happens automatically as per the following section:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html-single/Director_Installation_and_Usage/index.html#sect-Advanced-Registering_the_Overcloud

In other words, when the Overcloud is created, the director decides what nodes to enable on a per-role basis.

I don't think any fix is required here, but let me know what you think.

Comment 4 Dan Macpherson 2016-04-06 20:50:15 UTC
> In other words, when the Overcloud is created, the director decides what nodes to enable on a per-role basis.

I meant, when the Overcloud is created, the director decides what repos to enable for each node on a per-role basis.

Comment 5 Nicolas Hicher 2016-04-06 23:36:25 UTC
ok, thanks for clarification =)


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