Bug 1290226

Summary: [Director] overcloud systems are not registered to RHSM during deployment
Product: Red Hat OpenStack Reporter: chris alfonso <calfonso>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.0 (Kilo)CC: chorn, dmacpher, dyocum, hbrock, jslagle, jthomas, kbasil, mburns, ochalups, rhel-osp-director-maint, yeylon
Target Milestone: y2Keywords: Documentation, Reopened, ZStream
Target Release: 7.0 (Kilo)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1290042 Environment:
Last Closed: 2016-03-01 01:32:08 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:
Bug Depends On: 1290042    
Bug Blocks: 1290377    

Comment 5 Jon Thomas 2016-01-28 15:07:17 UTC
hi

Its only during the update and is related to usage of overcloud-resource-registry-puppet.yaml. Including this in the update command causes the problem. 

but if you remove it (as below), the update works as expected:

$ openstack overcloud update stack osp72r1 -i --templates ~/templates/my-overcloud -e ~/templates/my-overcloud/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e ~/templates/storage-environment.yaml  -e ~/templates/pre-deployment.yaml  -e ~/templates/post-deployment.yaml


In the Red Hat documentation https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Updating_the_Overcloud.html#sect-Updating_the_Overcloud_Packages it is mentioned to include "overcloud-resource-registry-puppet.yaml" Heat template.

Perhaps this is a doc bug?

Comment 7 Dan Macpherson 2016-01-29 01:31:21 UTC
Hi Jon,

You probably saw the email thread. So the problem is the lack of the RHSM/Satellite information, which you need to also include as an environment file along with "overcloud-resource-registry-puppet.yaml". If this information isn't included, the director concludes that the Overcloud environment does not contain registration and as a result unregisters the nodes.

I'll include a line in the doc to also include the registration environment file during the update.