Bug 1396351

Summary: Unable to attach proper subscription using rhel-registration heat-template
Product: Red Hat OpenStack Reporter: kamil.rogon
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: aschultz, jcoufal, jdonohue, mburns, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 9.0 (Mitaka)   
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: 2017-03-13 06:09:06 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 kamil.rogon 2016-11-18 06:59:01 UTC
Description of problem: Tried to registered systems with this rhel-registration heat-template based on this documentation: https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/single/director-installation-and-usage#method_2_environment_file

Unfortunately there is no possibility to select different (or many) pool_id for Ceph Storage nodes, which is required according to https://access.redhat.com/solutions/1450293.


Version-Release number of selected component (if applicable):
[root@osp9-director ~]# rpm -qa | grep heat
openstack-heat-templates-0-0.3.96a0b0bgit.el7ost.noarch
openstack-tripleo-heat-templates-kilo-0.8.14-16.el7ost.noarch
openstack-heat-engine-6.0.0-11.el7ost.noarch
openstack-tripleo-heat-templates-liberty-2.0.0-34.el7ost.noarch
openstack-heat-api-cfn-6.0.0-11.el7ost.noarch
openstack-heat-api-cloudwatch-6.0.0-11.el7ost.noarch
openstack-heat-common-6.0.0-11.el7ost.noarch
openstack-tripleo-heat-templates-2.0.0-34.el7ost.noarch
python-heatclient-1.2.0-1.el7ost.noarch
openstack-heat-api-6.0.0-11.el7ost.noarch
python-heat-tests-6.0.0-11.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. cp -r /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration ~/templates/.
2. Fill in ~/templates/rhel-registration/environment-rhel-registration.yaml with OpenStack subscription pool_id
3. openstack overcloud deploy [...] -e /home/stack/templates/rhel-registration/environment-rhel-registration.yaml -e /home/stack/templates/rhel-registration/rhel-registration-resource-registry.yaml

Actual results:
On Ceph nodes there is no rhel-7-server-rhceph-1.3-osd-rpms repo available.

Expected results:
I want to put proper pool_ids in environment-rhel-registration.yaml file that matches requirement for both controllers/computes and Ceph storage nodes

Additional info:

Comment 1 Jaromir Coufal 2017-03-13 06:09:06 UTC
This is unsupported feature within RHOSP director (multiple pools), will be resolved with following Feature request effort (hopefully backportable to earlier releases).

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