[openstack-dev] [TripleO] Forming our plans around Ansible
mark at stackhpc.com
Mon Jul 10 17:15:26 UTC 2017
I'll throw a second grenade in.
Kayobe is an OpenStack deployment tool based on kolla-ansible that
adds sounds in some ways similar to what you're describing. It roughly
follows the TripleO undercloud/overcloud model, with Bifrost used to deploy
the overcloud. Kayobe augments kolla-ansible with ansible playbooks for
configuration of the undercloud and overcloud hosts - networking, docker
storage, LVM. It also provides automation of some common workflows. There's
currently a focus on baremetal and scientific computing, but that's only
because that's been the focus up to now. Users drive kayobe using a CLI
which is mostly a wrapper around ansible-playbook.
I'm not suggesting that everyone should discard TripleO and adopt Kayobe -
clearly TripleO is a lot more mature. That said, if TripleO wants to move
to a more ansible-centric architecture, it might be prudent to see how
similar projects work, and if possible, share some code.
On 10 July 2017 at 17:44, Michał Jastrzębski <inc007 at gmail.com> wrote:
> I'll just throw a grenade (pun intended) into your discussion - sorry!
> How about kolla-kubernetes? State awareness is done by kubernetes,
> it's designed for containers and we already have most of services
> ready and we'll be running ansible inside containers on top of k8s,
> for all the things that k8s is not natively good at. Sounds like
> somewhat you describe just switch heat with k8s.
> On 10 July 2017 at 08:37, Lars Kellogg-Stedman <lars at redhat.com> wrote:
> > On Fri, Jul 7, 2017 at 1:50 PM, James Slagle <james.slagle at gmail.com>
> >> There are also some ideas forming around pulling the Ansible playbooks
> >> and vars out of Heat so that they can be rerun (or run initially)
> >> independently from the Heat SoftwareDeployment delivery mechanism:
> > I think the closer we can come to "the operator runs ansible-playbook to
> > configure the overcloud" the better, but not because I think Ansible is
> > inherently a great tool: rather, I think the many layers of indirection
> > our existing model make error reporting and diagnosis much more
> > that it needs to be. Combined with Puppet's "fail as late as possible"
> > model, this means that (a) operators waste time waiting for a deployment
> > that is ultimately going to fail but hasn't yet, and (b) when it does
> > they need relatively intimate knowledge of our deployment tools to
> > through logs and find the root cause of the failure.
> > If we can offer a deployment mode that reduces the number of layers
> > the operator and the actions being performed on the hosts I think we
> > win on both fronts: faster failures and reporting errors as close as
> > possible to the actual problem will result in less frustration across the
> > board.
> > I do like Steve's suggestion of a split model where Heat is responsible
> > instantiating OpenStack resources while Ansible is used to perform host
> > configuration tasks. Despite all the work done on Ansible's OpenStack
> > modules, they feel inflexible and frustrating to work with when compared
> > Heat's state-aware, dependency ordered deployments. A solution that
> > Heat to output configuration that can subsequently be consumed by
> Ansible --
> > either running manually or perhaps via Mistral for
> API-driven-deployments --
> > seems like an excellent goal. Using Heat as a "front-end" to the process
> > means that we get to keep the parameter validation and documentation
> that is
> > missing in Ansible, while still following the Unix philosophy of giving
> > enough rope to hang yourself if you really want it.
> > --
> > Lars Kellogg-Stedman <lars at redhat.com>
> > ____________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.op
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev