Bug 1710078 - [RFE] Split Control Plane Unified Ansible Inventory
Summary: [RFE] Split Control Plane Unified Ansible Inventory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Ollie Walsh
QA Contact: Marian Krcmarik
URL:
Whiteboard:
Depends On:
Blocks: 1710557 1710574 1879154
TreeView+ depends on / blocked
 
Reported: 2019-05-14 20:13 UTC by John Fulton
Modified: 2020-10-01 10:53 UTC (History)
18 users (show)

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:
Clone Of:
Environment:
Last Closed: 2020-10-01 10:53:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1849073 0 None None None 2020-03-18 17:42:13 UTC
OpenStack gerrit 664065 0 'None' MERGED Add multistack support to tripleo-ansible-inventory 2020-10-07 11:21:17 UTC
OpenStack gerrit 679520 0 'None' MERGED Introduce TripleoInventories object 2020-10-07 11:21:17 UTC
OpenStack gerrit 718556 0 None MERGED Fix multistack inventory 2020-10-07 11:21:16 UTC
OpenStack gerrit 718557 0 None MERGED Fix multistack inventory 2020-10-07 11:21:16 UTC
OpenStack gerrit 719038 0 None MERGED Include uc plan var when TripleoInventories contains a single plan 2020-10-07 11:21:16 UTC

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.


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