Split Control Plane Unified Ansible Inventory

Registered by John Fulton on 2019-05-02

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].

[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

Blueprint information

Status:
Complete
Approver:
Alex Schultz
Priority:
High
Drafter:
John Fulton
Direction:
Approved
Assignee:
John Fulton
Definition:
Approved
Series goal:
Accepted for train
Implementation:
Implemented
Milestone target:
milestone icon train-3
Started by
John Fulton on 2019-06-07
Completed by
John Fulton on 2019-09-06

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/split-control-plane-unified-inventory

Addressed by: https://review.opendev.org/664065
     Add multistack support to tripleo-ansible-inventory

Addressed by: https://review.opendev.org/679520
    Introduce TripleoInventories object

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.