Bug 1324617

Summary: error in Repository requirement => broken package
Product: Red Hat OpenStack Reporter: Nicolas Hicher <nhicher>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED NOTABUG QA Contact: RHOS Documentation Team <rhos-docs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: dmacpher, nhicher, yeylon
Target Milestone: ---Keywords: Documentation
Target Release: 8.0 (Liberty)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 23:35:25 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:

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 =)