Create a common python API to ansible and mesos

Registered by Angus Salkeld

The point of this is to make deployment easier to use by consumers of kolla-ansible/kolla-mesos (like kolla-cli and fuel)
one of the issues is that currently kolla-ansible and kolla-mesos are configured via /etc (globals/password and config/*) this needs to be able to be passed in.
Instead, we would like to have a python library, to which we can push the whole configuration in some serializable format

Blueprint information

Status:
Not started
Approver:
Michal Rostecki
Priority:
Undefined
Drafter:
Angus Salkeld
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

SamYaple> asalkeld: just fyi, one of the big issues i raised with the api before was around wrapping the ansible output. screenscaping ansible is not practical due to its constant changes (same goes for importing the api, which is also not recommended). so thats a hurdle that needs to be overcome and i wasnt able to think of a solution before

nihilifer> I know that Sam is strongly against using Ansible's "Python API" due to huge changes between versions. But from my perspective, the biggest problem here were the differences between API in 1.9.x and 2.x versions of Ansible. After we switch to the 2.x release, I think that using the Python API is worth to try.
Sam, do you have any concrete objections in case of Ansible 2.x? You see any risks of rapidly changing API there?

Yes even between minor versions the ansible api changes internally. We will always be chasing ansible and breaking -- SamYaple

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.