Bug 1320562 - tripleoclient has wrong hardcoded path to rhel registration environment
Summary: tripleoclient has wrong hardcoded path to rhel registration environment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 8.0 (Liberty)
Assignee: James Slagle
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-23 13:53 UTC by James Slagle
Modified: 2016-04-28 13:52 UTC (History)
3 users (show)

Fixed In Version: python-tripleoclient-0.3.4-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-28 13:52:11 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 296451 0 None None None 2016-03-23 13:55:40 UTC
OpenStack gerrit 297031 0 None None None 2016-03-28 11:05:09 UTC

Description James Slagle 2016-03-23 13:53:25 UTC
python-tripleoclient has wrong hardcoded path to rhel registration environment

in constants.py it has:
RHEL_REGISTRATION_EXTRACONFIG_NAME = ( 
    "extraconfig/post_deploy/rhel-registration/")

when it should be:
RHEL_REGISTRATION_EXTRACONFIG_NAME = ( 
    "extraconfig/pre_deploy/rhel-registration/")

due to the wrong path, a deployment using registration will fail with:
<urlopen error [Errno 2] No such file or directory: '/home/stack/templates/extraconfig/post_deploy/rhel-registration/rhel-registration-resource-registry.yaml'>

Comment 7 Udi Kalifon 2016-04-26 06:11:18 UTC
Deployments with registration were successful in 8.0, by appending the following to the command line:

 --rhel-reg --reg-method satellite --reg-sat-url https://***.redhat.com/ --reg-activation-key ak-osp8 --reg-org Default_Organization


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