By default all Openstack deployment test jobs
use latest-ubuntu_focal image which has libvirt
version 6.0.0 and qemu version 4.2 which is
incompatible with Bobcat. This old image was published
more than a year ago and since that has never been
updated and it also contains the nova user.
The Openstack deployment with newer libvirt
images fails due to this
https://review.opendev.org/c/openstack/openstack-helm-images/+/864772
This PR adds nova user which is necessary for libvirt
to successfully communicate with Nova.
Change-Id: I0d5f302261611b0666323178a52ca974126be1a5
- Drop CentOS & Debian images from the build process
- Add multi-stage single Dockerfile for Ubuntu
- Switch to a more clear tagging process, using UCA images
- Fix documentation for `libvirt` image
Change-Id: Ia60d0571dceb182c6e43ea639fc50f7d4ad6283d
This change adds a dockerfile for debian bullseye to
build a libvirt image. Currently ceph does not have
a release file for ubuntu jammy.
Also removed the libvirt dockerfiles for SUSE since
they have not been maintained.
Change-Id: I87152fbf743ba444c72d0b65245e194bd9faa9b0
This change removes or updates any usage of ubuntu xenial either
to a newer version or removes any building of xenial images in
favor of using newer ones.
Change-Id: Ice391a36e17cdbe6783f42aa1d34d7dfe5fb6282
This reverts commit 5da6c41037.
Reason for revert: Nova requires a newer version as well,
instead of building a custom nova ubuntu image for focal,
we can wait for 22.04.
Change-Id: I8eeac66c3905c86d286e9f3bfefabf5ba5fe15c1
Nova requires libvirt 7.0+ in the xena release and focal only
has 6.X. This change adds in an ubuntu impish image option for
libvirt to handle xena.
A future change should remove this and migrate libvirt to use
jammy.
Change-Id: Ie162df7ceecb69a8abc47280a63643e0ee0d175f
In order to do tunnelled live migrations over SSH, libvirt needs
the SSH client to be installed or otherwise it will fail to connect
over SSH.
Change-Id: If6e1f92a4cb095d047d73bd599c46ca2681c8e86
This patch adds images using Focal for Libvirt, primarily, the
libvirt-bin package which was a transitionary package is now
installing the explicit daemon and client packages and the ipxe-qemu
includes all the ROMs for iPXE booting.
It also drops the Xenial images as they are no longer supported
and quite old now.
Change-Id: Ic0a2ad8610c383dbbe8b71020612d11dc2f1040e
This PS updates all dockerfiles to allow base image over-rides as
required by many consumers of OSH.
Change-Id: I53daac9c1ec4707628565abc912116d8997eba16
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This PS adds a libvirt image based on the bionic release of Ubuntu.
Change-Id: Id87dc3f6a280cf91b3a31a1f847ea1439cbfa797
Signed-off-by: Pete Birley <pete@port.direct>
This means any security update of libvirt would break the image
(1.3.1-1ubuntu10.26 was released recently, and broke the build).
Instead, we should rely on the fact packagers are doing the right
thing with their version.
Should we want to freeze to certain versions, then we should
provide a ppa and deal with the appropriate packaging of libvirt.
Change-Id: Ia7bba83ae5610a91267bae4d8b80c4c1b8dab70c
Version 5 of libvirt present in Virtualization repo is too recent
and unnecessary for queens and rocky builds.
Virtualization repo is however necessary for cgroups packages
that are not present in the main repository. It can be deleted once the
necessary packages are installed.
Ceph repo should not be needed at all.
Change-Id: I2d030c0f326cef4571ef6d15056d8afdf7381d69
This patch adds image building process for OSH.
Each root folder contains a 'kind' of images to build. Each folder will
have its own parent job, inheriting from a 'openstack-helm-images-base'
job. The folder 'parent job' is used for building distribution
variants (centos_7, ubuntu_xenial, opensuse_15).
Folders containing Dockerfiles (a different Dockerfiles per
distribution) will use the docker building play (docker-build.yml).
Dockerfiles come from openstack-helm-infra repository,
with the following changes:
* The deprecated "MAINTAINER" directive has been replaced with
LABEL maintainer=<maintaineremail>
* If Dockerfiles' default arguments were mismatching the
documentation or Makefiles, they were adapted (see libvirt).
* Relative paths to the openstack-helm-infra repo have been removed.
Each folder is given a convenience build script (build.sh) which
can be used to build a specific image manually.
This script's content gets included in the documentation to avoid
duplications of content.
This patch focuses on each image separately.
Another patch will be added to deal with a repo-wide image building
process, whether for CI purposes, or for developer's purposes,
with the help of a Makefile.
Note: Kubeadm-aio image was not imported in this process due to
circular dependencies: Image building currently requires the
helm charts of openstack-helm-infra.
Change-Id: I2d01e3f2c34d6dd7db4a1c3897dc4b994bf02623