[Date Prev][Date Next] [Thread Prev][Thread Next]
Re: [rdo-list] Building overcloud images with TripleO and RDO
- From: Christopher Brown <cbrown2 ocf co uk>
- To: "rdo-list redhat com" <rdo-list redhat com>
- Subject: Re: [rdo-list] Building overcloud images with TripleO and RDO
- Date: Fri, 12 Aug 2016 14:52:31 +0100
Thanks for this Graeme. As the original reporter of this bug, it would
be good to understand how the CI process works for stable rdo release.
Since downgrading the galera version we have progressed to a point
where we now see keystone authentication failures in Step 6 due the use
of multidomain support.
So I suppose my question would be where the responsibility for
maintaining stable RDO lies, where to file bugs and who to contact and
what CI takes place currently with these packages and how it can be
>From my point of view, as a contributor rarely, deployer of OpenStack
mostly (and an operator intermittently), it would be good to have
images that are grabbed via yum, similar to the OSP deployment
mechanism. These are then the "known good" images and bugs can be filed
against these quickly and we reduce the huge variation in images people
use to deploy.
This would in turn feed back up to the creation of OSP images so I
imagine benefit commercial deployments as well.
It would then be good to be able to build images if we need to pull in
additional packages or customise (I agree with Graeme's point about
building these being entirely in keeping with Open Source tradition)
but currently we have a situation where there are multiple paths to
build an image and multiple images to download from if something is
The last time there was a thread on stable deployment, a lot of things
got fixed (like buggy introspection so many thanks for that as it now
works flawlessly) but it would be good to understand who to talk to
when things go wrong.
Currently I'm entirely unsure if its tripleo devs, RDO people, Red Hat
bugzilla, CentOS bugs, CentOS cloud sig.. etc.
If anyone could point me in the right direction I'd be grateful. Thanks
to Graeme for debugging the Galera version issue.
On Fri, 2016-08-12 at 04:36 +0100, Graeme Gillies wrote:
> I spent the last day or two trying to get to the bottom of the issue
> described at , which turned out to be because the version of
> that is in EPEL is higher than what we have in RDO mitaka stable, and
> when it attempts to get used, mariadb-galera-server fails to start.
> In order to understand why epel was being pulled in, how to stop it,
> how this seemed to have slipped through CI/testing, I've been trying
> look through and understand the whole state of the image building
> process across TripleO, RDO, and our CI.
> Unfortunately what I've discovered hasn't been great. It looks like
> there is at least 3 different paths being used to build images.
> Apologies if anything below is incorrect, it's incredibly convoluted
> difficult to follow for someone who isn't intimately familiar with it
> all (like myself).
> 1) Using "openstack overcloud image build --all", which is I assume
> method end users are supposed to be using, or at least it's the
> documented in the docs. This uses diskimagebuilder under the hood,
> the logic behind it is in python (under python-tripleoclient), with a
> lot of stuff hardcoded in
> 2) Using tripleo.sh, which, while it looks like calls "openstack
> overcloud image build", also has some of it's own logic and messes
> things like the ~/.cache/image-create/source-repositories file, which
> believe is how the issue at  passed CI in the first place
> 3) Using the ansible role ansible-role-tripleo-image-build  which
> looks like it also uses diskimagebuilder, but through a slightly
> different approach, by using an ansible library that can take an
> definition via yaml (neat!) and then all diskimagebuilder using
> python-tripleo-common as an intermediary. Which is a different code
> (though the code itself looks similar) to python-tripleoclient
> I feel this issue is hugely important as I believe it is one of the
> biggest barriers to having more people adopt RDO/TripleO. Too often
> people encounter issues with deploys that are hard to nail down
> we have no real understanding exactly how they built the images, nor
> an Operator I don't feel like I have a clear understanding of what I
> when I use different options. The bug at  is a classic example of
> something I should never have hit.
> We do have stable images available at  (built using method 3)
> there are a number of problems with just using them
> 1) I think it's perfectly reasonable for people to want to build
> own images. It's part of the Open Source philosophy, we want things
> be Open and we want to understand how things work, so we can
> extend, and troubleshoot ourselves. If your image building process is
> convoluted that you have to say "just use our prebuilt ones", then
> have done something wrong.
> 2) The images don't get updated (they current mitaka ones were built
> 3) There is actually nowhere on the RDO website, nor the tripleo
> website, that actually references their location. So as a new user,
> have exactly zero chance of finding these images and using them.
> I'm not sure what the best process is to start improving this, but it
> looks like it's complicated enough and involves enough moving pieces
> that a spec against tripleo might be the way to go? I am thinking the
> goal would be to move towards everyone having one way, one code path,
> for building images with TripleO, that could be utilised by all use
> cases out there.
> My thinking is the method would take image definitions in a yaml
> similar to how ansible-role-tripleo-image-build works, and we can
> ship a bunch of different yaml files for all the different image
> scenarios people might want. e.g.
> Etc etc. you could then have a symlink called default.yaml which
> to whatever scenario you wish people to use by default, and the
> could be overwritten by a command line argument. Basically this is
> exactly how mock  works, and has been proven to be a nice, clean,
> easy to use workflow for people to understand. The added bonus is if
> people wanted to do their own images, they could copy one of the
> existing files as a template to start with.
> If people feel this is worthwhile (and I hope they do), I'm
> in understanding what the next steps would be to get this to happen.
>  https://bugzilla.redhat.com/show_bug.cgi?id=1365884
>  https://github.com/redhat-openstack/ansible-role-tripleo-image-bu
>  https://fedoraproject.org/wiki/Mock
> Graeme Gillies
> Principal Systems Administrator
> Openstack Infrastructure
> Red Hat Australia
> rdo-list mailing list
> rdo-list redhat com
> To unsubscribe: rdo-list-unsubscribe redhat com
[Date Prev][Date Next] [Thread Prev][Thread Next]