Bug 1456957

Summary: Director registration templates only support 1 pool id, however 2 are needed on ceph nodes. openstack and ceph - osd repos.
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: rhosp-directorAssignee: Emilien Macchi <emacchi>
Status: CLOSED DUPLICATE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: dbecker, emacchi, jelle.hoylaerts, johfulto, jomurphy, mburns, morazi, ohochman, rhel-osp-director-maint, shan
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-08 21:00:51 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 Jeremy 2017-05-30 18:15:07 UTC
Description of problem:
Since openstack entitlement does not have ceph osd repos. then the ceph node in a director deployment needs openstack entitlement and ceph entitlement.  Below is the snapshot of what repos the openstack entitlement provides, note there is not ceph osd. Also snippets from the rhel-registration templates it only seems to support 1 single pool-id.

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

####openstack entitlement that doesn't have ceph-osd.
Additional info:
Product ID (SKU)
MCT2884
Support Level
Premium
Phone Support
Web Support
RHN Support
Update Support
View SLA Details

Architectures
x86_64, ppc64le, ppc64, ia64, ppc, s390, x86, s390x
Limits
Sockets: 2
Multi-entitlement
Yes
Instance Based
No
Products Provided
Red Hat OpenStack Beta
Red Hat Software Collections (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat Enterprise MRG Messaging
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Beta
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Single Sign-On
Oracle Java (for RHEL Server) - Extended Update Support
dotNET on RHEL Beta (for RHEL Server)
Red Hat Ceph Storage MON
Red Hat Ceph Storage
Oracle Java (for RHEL Server)
Red Hat OpenStack
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Enterprise Linux Server
dotNET on RHEL (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat CloudForms


# grep rhel_reg_pool_id /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml 
  rhel_reg_pool_id:
        REG_POOL_ID: {get_param: rhel_reg_pool_id}



/usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/environment-rhel-registration.yaml 
parameter_defaults:
  rhel_reg_pool_id: ""


/usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts/rhel-registration 


    if [ -n "${REG_POOL_ID:-}" ]; then
        attach_opts="$attach_opts --pool=$REG_POOL_ID"

Comment 1 Red Hat Bugzilla Rules Engine 2017-05-30 18:15:14 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 5 Emilien Macchi 2017-11-02 22:09:15 UTC
We're aware about the RHSM integration limitations in Director, we know it's only for OSP repos and nothing else. We're right now trying to figure out how to fix it, in future versions.

Comment 10 Emilien Macchi 2018-01-08 21:00:51 UTC

*** This bug has been marked as a duplicate of bug 1430545 ***

Comment 11 Emilien Macchi 2018-01-08 21:01:19 UTC
Closing this bug since it's a feature we'll implement in https://bugzilla.redhat.com/show_bug.cgi?id=1430545 with Ansible.