Bug 1710078

Summary: [RFE] Split Control Plane Unified Ansible Inventory
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: openstack-tripleo-commonAssignee: Ollie Walsh <owalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Marian Krcmarik <mkrcmari>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: acanan, bdobreli, dasmith, gcharot, gfidente, jjoyce, jschluet, marjones, mburns, mschuppe, nlevinki, owalsh, pdeore, sclewis, slinaber, spower, tvignaud, yrabl
Target Milestone: z2Keywords: FutureFeature, TestOnly, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-11.3.2-0.20191126040433.7cebd8b.el8ost openstack-tripleo-validations-11.3.1-0.20191126041901.2bba53a.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-01 10:53:23 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:    
Bug Blocks: 1710557, 1710574, 1879154    

Description John Fulton 2019-05-14 20:13:21 UTC
By design split-control-plane deployments [1] isolate stacks but sometimes it is useful to have ansible plays which run processes across stacks. For example, given the following deployment:

- central control plane
- edge site1
- edge site 2
- edge site 3

Where glance cache [2] is deployed to each edge site, there is a usecase to precache the glance images from the central site to edge sites 1 and 2, but not 3. The precaching operation for image foo can be achieved by running glance and/or nova commands on edge nodes. Running these commands across all edge nodes via Ansible will be useful for operators.

We should provide a means to generate an ansible inventory which includes all nodes from the dpeloyment above, except form site 3, from TripleO where the config-download tools query each stack to create the inventory.

Playbooks which fulfill this function could then be provided in the tripleo-ansible repository [3]. 

This is a downstream tracker of:

https://blueprints.launchpad.net/tripleo/+spec/split-control-plane-unified-inventory


[1] https://blueprints.launchpad.net/tripleo/+spec/split-controlplane
[2] https://blueprints.launchpad.net/tripleo/+spec/split-controlplane-glance-cache
[3] https://github.com/openstack/tripleo-ansible

Comment 2 John Fulton 2019-09-06 20:19:59 UTC
Proposed upstream documentation for this new feature:

 https://review.opendev.org/#/c/680767/1/deploy-guide/source/features/distributed_compute_node.rst

Comment 3 Gregory Charot 2019-11-28 15:48:21 UTC
As agreed with the Edge team pushing this to 16.1

Comment 6 John Fulton 2019-12-02 14:34:50 UTC
Change landed in tripleo-common so component updated

 https://review.opendev.org/#/c/679520

Comment 13 Scott Lewis 2020-04-19 19:06:29 UTC
Removing Target Milestone; please replan

Comment 22 Lon Hohberger 2020-09-15 10:54:27 UTC
According to our records, this should be resolved by openstack-tripleo-common-11.3.3-0.20200611110657.f7715be.el8ost.  This build is available now.

Comment 23 Lon Hohberger 2020-09-15 10:54:33 UTC
According to our records, this should be resolved by openstack-tripleo-validations-11.3.2-0.20200611115253.08f469d.el8ost.  This build is available now.