Build Fedora Atomic images using DIB
Currently to test and deploy Magnum, we rely on downloading a Fedora Atomic image pre-built with docker, kubernetes, flannel, etcd. The fact of relying on the download of an external image on tests is adding an extra overhead, and is a clear single point of failure.
From discussion in #openstack-infra and #openstack-
The build process for the Fedora Atomic image will use diskimagebuilder. Several steps are needed:
- using a Fedora minimal image, add elements to diskimage-builder to construct the final Fedora Atomic one. Documentation on how to generate Atomic images is here: http://
- add extra elements to diskimage-builder for installing Flannel, etcd, docker, Kubernetes as systemd services. The image needs to accommodate the current scripts for kubernetes and swarm.
In terms of diskimage-builder needs:
- add a new element on disk image builder to allow creation of logical volumes [OK]
- investigate how Atomic filesystem is generated, and add the filesystem to that extra volume created [In Process]
The build process will be documented properly so that anyone can create a new image with new versions.
This blueprint is largely inspired on: https:/
How Fedora Atomic filesystem is composed
=======
It relies on 2 logical volumes being added to the fedora image:
- volume group atomicos
- two logical volumes:
* /dev/atomicos/root -> 2.93G
* /dev/atomicos/
Blueprint information
- Status:
- Complete
- Approver:
- Adrian Otto
- Priority:
- Medium
- Drafter:
- Yolanda Robla
- Direction:
- Approved
- Assignee:
- Yolanda Robla
- Definition:
- Approved
- Series goal:
- Accepted for newton
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- hongbin
- Completed by
- Adrian Otto
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add script to install image build dependencies