Port stx-nova and stx-ceilometer to stx-debian

This change enables building the stx-nova and stx-ceilometer images
within the Debian build framework. It is now based on stx-debian and
following the new convention for StarlingX images.

Test Plan:
PASS: Build both images
PASS: Manually upload the built images to a system, use helm-override to
      change their respective containers images and reapply
      stx-openstack
PASS: Ensure affected pods successfully start and are running
PASS: Ensure affected pods liveness and readiness probes are healthy

Story: 2010072
Task: 47090

Depends-On: https://review.opendev.org/c/starlingx/root/+/871314

Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
Change-Id: Ibe92ad8eb003df225dd77be60bd9c5387f1109a3
This commit is contained in:
Luan Nunes Utimura 2023-01-19 16:30:22 -03:00
parent e6e1d16db6
commit 1526d5838c
3 changed files with 56 additions and 0 deletions

View File

@ -1,7 +1,9 @@
openstack/python-barbican
openstack/python-ceilometer
openstack/python-cinder
openstack/python-glance
openstack/python-heat/openstack-heat
openstack/python-neutron
openstack/python-nova
openstack/python-openstackclient
openstack/python-platformclients

View File

@ -0,0 +1,23 @@
BUILDER=loci
LABEL=stx-ceilometer
PROJECT=ceilometer
PROJECT_REPO=https://opendev.org/openstack/ceilometer.git
PROJECT_REF=stable/ussuri
PIP_PACKAGES="\
gnocchiclient \
libvirt-python \
panko==5.0.0
"
DIST_REPOS="OS"
DIST_PACKAGES="\
ipmitool \
libvirt0 \
libvirt-clients \
libvirt-daemon \
libvirt-daemon-driver-lxc \
libvirt-daemon-driver-qemu \
libvirt-daemon-driver-storage-gluster \
libvirt-login-shell
"
UPDATE_SYSTEM_ACCOUNT="yes"
NON_UNIQUE_SYSTEM_ACCOUNT="yes"

View File

@ -0,0 +1,31 @@
BUILDER=loci
LABEL=stx-nova
PROJECT=nova
PROJECT_REPO=https://opendev.org/openstack/nova.git
PROJECT_REF=stable/ussuri
PIP_PACKAGES="\
httplib2 \
pycryptodomex \
python-ironicclient
"
DIST_REPOS="OS"
DIST_PACKAGES="\
e2fsprogs \
libvirt0 \
libvirt-clients \
libvirt-daemon \
libvirt-daemon-driver-lxc \
libvirt-daemon-driver-qemu \
libvirt-daemon-driver-storage-gluster \
libvirt-login-shell \
openssh-client \
openssh-server
"
PROFILES="fluent nova ceph linuxbridge openvswitch configdrive qemu apache"
CUSTOMIZATION="\
sed -i 's/\(^\s*\)\(import oslo_service\)/\1# \2/' /var/lib/openstack/lib/python3*/site-packages/nova/monkey_patch.py && \
sed -i 's/\(^\s*\)\(eventlet.hubs.use_hub(\"oslo_service:service_hub\")\)/\1# \2/' /var/lib/openstack/lib/python3*/site-packages/nova/monkey_patch.py && \
mkdir -p /run/sshd
"
UPDATE_SYSTEM_ACCOUNT="yes"
NON_UNIQUE_SYSTEM_ACCOUNT="yes"