Commit Graph

31 Commits

Author SHA1 Message Date
Vladimir Kozhukalov 9f4c075bff Build libvirt images for Caracal on Ubuntu Jammy
Change-Id: Iadc9aec92b756de2ecfcb610e62c15bdbad4bb9e
2024-03-28 13:54:04 -05:00
Vladimir Kozhukalov 8f3ffc08d6 Fix libvirt Dockerfile
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
2023-10-12 13:49:57 -05:00
Vladimir Kozhukalov ab89378118 Build libvirt bobcat jammy image
Change-Id: I544885424bae0937d9088664a2b3f045ebeac407
2023-10-09 17:21:06 -05:00
Sadegh Hayeri 14ab7ee572 Add libvirt version antelope
Change-Id: I0c657d4040521312d340664dfe7d5c494e5c70b9
2023-07-03 17:40:37 +03:30
Mohammed Naser 7ec5fa4189 libvirt: improve build process
- 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
2022-11-16 16:33:26 -05:00
Zuul fd8f89ccf6 Merge "Libvirt: Add Bullseye and remove SUSE dockerfiles" 2022-06-03 21:19:09 +00:00
Gage Hugo f30a6377bd Libvirt: Add Bullseye and remove SUSE dockerfiles
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
2022-06-03 18:00:49 +00:00
Stephen Taylor ae785b7398 Update Ceph version to Pacific 16.2.9
Change-Id: I1945346cc8204e2853299e98fb71c8e5fd68efce
2022-06-02 10:21:02 -06:00
Gage Hugo d3bf8b7f95 Remove usage of ubuntu xenial
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
2022-04-27 12:49:07 -05:00
Gage Hugo 5505f2f16f Revert "Add ubuntu impish to libvirt images"
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
2022-03-28 16:20:21 +00:00
Gage Hugo 5da6c41037 Add ubuntu impish to libvirt images
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
2022-03-16 05:00:45 +00:00
Mohammed Naser d9302a1560 libvirt: add ovmf package
Adding OVMF will include the EFI firmwares needed
to boot instances in EFI mode.

Change-Id: I27ece5ebbd5d6672b17ddcd35484531552ecee48
2021-11-12 01:43:58 -05:00
Mohammed Naser b8463198a1 Install openssh-client in libvirt
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
2021-08-06 16:41:37 -04:00
Mohammed Naser abc5910ae0 Add Focal images for Libvirt
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
2021-05-13 03:57:22 +00:00
Mohammed Naser ca3474eb33 Added CentOS libvirt images
Change-Id: I536b5468e6b90a7368d74b05e02212788ee6e13c
2020-11-07 22:03:52 +00:00
Guilherme Steinmüller 83cb67603b Bump ceph release to nautilus
Change-Id: If70913e659f9927a2ae6e4a9c9fec4bdc2de02f8
2020-09-18 18:30:19 +00:00
Pete Birley 5046975869 Images: Update all images to allow base image over-rides
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>
2020-08-11 04:50:26 +00:00
Dmitrii Kabanov 4179761efe [libvirt] Update Ceph to 14.2.9
The PS updates Ceph packages in libvirt image to 14.2.9 version.

Change-Id: I99ba8f37574b39eb986acc4dd1d01922f393e0fa
2020-06-22 22:25:31 +00:00
Andrii Ostapenko ed9f2d4228 Explicitly install kmod to libvirt image
Change-Id: I87fbe0abdabf4468977e7665fa99fdd6aad0452e
2020-03-03 19:01:56 +00:00
Andrii Ostapenko f1c3a66b73 Switch to leap 15.1 together with virtualization repo for libvirt
15.0 repo no longer available.

Change-Id: Ieca1356dbada5feca143e73f28b9733570d8f26a
2020-03-03 13:00:40 -06:00
ericxiett 0bc76c36c5 Fix correct shebang for libvirt.
Change-Id: I307434e73a9688e4b43920a4ce0f1b89f04e6aa0
2019-08-23 20:16:20 +08:00
Pete Birley 03e66fa9a8 Libvirt: Ubuntu Bionic image
This PS adds a libvirt image based on the bionic release of Ubuntu.

Change-Id: Id87dc3f6a280cf91b3a31a1f847ea1439cbfa797
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-26 15:18:09 -05:00
Jiří Suchomel 36e9575bef Install qemu-block-rbd package for Ceph support
Change-Id: I5270d183e303cf78d2512d0cd5c7a748b40fa8ea
2019-06-19 21:05:56 +02:00
Jean-Philippe Evrard 810bff82b2 Do not hardcode libvirt version
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
2019-05-16 16:19:37 +00:00
Jiří Suchomel 2a37c17207 libvirt: Stick to 4.0.0 version located in main repository
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
2019-03-19 13:49:28 +00:00
Itxaka c3d5311068
Bump libvirt-bin version for ubuntu xenial
A new version is available on xenial-security for libvirt-bin[0]

This bumps it to the newer version.

[0] http://changelogs.ubuntu.com/changelogs/pool/main/libv/libvirt/libvirt_1.3.1-1ubuntu10.25/changelog

Change-Id: I39911b1c886e76ede900518b41b2593a4624a8c0
2019-03-19 14:30:42 +01:00
Matthew Heler bfa78bf03f [CEPH] Update the Ceph repo and key to be arguements
Change-Id: Iee93e5a4d542b69bf6ebfbc82920b132a2af7778
2019-03-04 20:05:24 +00:00
Jiří Suchomel 41b6402415 Fix typo in argument name
Change-Id: Ie78addce2e47fc5a799ed287dab200084362af71
2019-02-20 14:46:35 +01:00
Sreejith Punnapuzha 76f88b2022 Makefile and Docker file for ceph containers.
Change-Id: Iaafb6663ecb960a7f76708d4dafcd07b00587a60
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-01-16 13:11:03 -06:00
Arun Kant cf83acd88d Add openSUSE Leap 15 libvirt image
Added public gpg signing key file for ceph and virtualization
repositories.

Change-Id: I4bf8e67dbbc12f3290958c1d3fae95e37896b9b6
2018-12-04 13:23:37 -08:00
Jean-Philippe Evrard 8468a18ae3 Add build process and osh-infra images
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
2018-11-28 16:47:50 +01:00