[openstack-dev] [magnum] Generate atomic images using diskimage-builder
mathieu.velten at cern.ch
Tue Mar 29 08:17:52 UTC 2016
We are using the official Fedora Atomic 23 images here (on Mitaka M1
however) and it seems to work fine with at least Kubernetes and Docker
Any reason to continue building specific Magnum image ?
Le mercredi 23 mars 2016 à 12:09 +0100, Yolanda Robla Mota a écrit :
> I wanted to start a discussion on how Fedora Atomic images are being
> built. Currently the process for generating the atomic images used
> Magnum is described here:
> The image needs to be built manually, uploaded to fedorapeople, and
> consumed from there in the magnum tests.
> I have been working on a feature to allow diskimage-builder to
> these images. The code that makes it possible is here:
> This will allow that magnum images are generated on infra, using
> diskimage-builder element. This element also has the ability to
> any tree we need, so images can be customized on demand. I generated
> image using this element, and uploaded to fedora people. The image
> passed tests, and has been validated by several people.
> So i'm raising that topic to decide what should be the next steps.
> change to generate fedora-atomic images has not already landed into
> diskimage-builder. But we have two options here:
> - add this element to generic diskimage-builder elements, as i'm
> doing now
> - generate this element internally on magnum. So we can have a
> in magnum project, called "elements", and have the fedora-atomic
> here. This will give us more control on the element behaviour, and
> allow to update the element without waiting for external reviews.
> Once the code for diskimage-builder has landed, another step can be
> periodically generate images using a magnum job, and upload these
> to OpenStack Infra mirrors. Currently the image is based on Fedora
> docker-host tree. But different images can be generated if we need a
> better option.
> As soon as the images are available on internal infra mirrors, the
> can be changed, to consume these internals images. By this way the
> can be a bit faster (i know that the bottleneck is on the functional
> testing, but if we reduce the download time it can help), and tests
> be more reilable, because we will be removing an external dependency.
> So i'd like to get more feedback on this topic, options and next
> to achieve the goals. Best
More information about the OpenStack-dev