Bug 1273462

Summary: Document how to provision arbitrary hiera data using *ExtraConfig
Product: Red Hat OpenStack Reporter: Giulio Fidente <gfidente>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: cylopez, ddomingo, dmacpher, gfidente, gjones, yeylon
Target Milestone: y2Keywords: Documentation
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-18 01:27:14 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: 1245737    
Bug Blocks: 1278721    

Description Giulio Fidente 2015-10-20 13:30:41 UTC
Description of problem:
we have a number of parameters which allow for provisioning of arbitrary hiera data to the nodes.

controllerExtraConfig
NovaComputeExtraConfig
ExtraConfig

the first two are for hiera data to be distributed on the relevant nodes, the latter for all nodes

I think it would be nice to document usage of these with a short example as it happens in the commit message of: https://review.openstack.org/#/c/197908/

These can be passed with a custom yaml containing;

  parameter_defaults:
    controllerExtraConfig:
      myclass::myparam: myvalue

Comment 2 Greg Jones 2015-10-20 13:34:00 UTC
Yes please.  ++1

Comment 4 Dan Macpherson 2015-11-20 05:49:05 UTC
This is now live:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Modifying_Puppet_Configuration_Data.html

Giulio -- Does this suit your requirements? Anything else I should add?

Comment 5 Giulio Fidente 2015-11-20 10:43:38 UTC
hi Dan, I think this is great! Thanks. In the future we can document how to include additional puppet classes or even deploy an additional .pp

I'm setting a needinfo for Cyril so he can help review this as well.

Comment 6 Cyril Lopez 2015-11-20 10:50:56 UTC
NovaComputeExtraConfig and ExtraConfig doesn't work.
https://bugzilla.redhat.com/show_bug.cgi?id=1245737

Use have to use parameters instead of parameter_defaults.

Comment 11 Dan Macpherson 2015-12-18 01:27:14 UTC
Thanks, Giulio! Closing this bug.