Skip to content

Add nova-api container image - #74

Open
Dyrkon wants to merge 1 commit into
openstack-k8s-operators:mainfrom
Dyrkon:feature/nova-api
Open

Add nova-api container image#74
Dyrkon wants to merge 1 commit into
openstack-k8s-operators:mainfrom
Dyrkon:feature/nova-api

Conversation

@Dyrkon

@Dyrkon Dyrkon commented Aug 13, 2026

Copy link
Copy Markdown

Nova API container serving both osapi_compute (port 8774) and metadata
(port 8775) APIs via Apache/mod_wsgi. Multi-stage Containerfile built
from source with cryptography pinned to 49.0.0 (RPM version) and
pyOpenSSL 26.4.0 for compatibility.

Includes WSGI wrapper scripts for both APIs (authored for this repo,
as upstream nova removed its wsgi scripts). Also includes project-level
lock files and sources shared by future nova services.

@yazug yazug left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@amoralej amoralej left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. Containerfile mostly looks good, but see my inline comments.

Comment thread containers/nova/nova-api/Containerfile Outdated
Comment thread containers/nova/nova-api/bindeps.txt Outdated
Comment thread containers/nova/nova-api/config/etc/httpd/conf.d/10-nova_wsgi_main.conf Outdated
Comment thread containers/nova/nova-api/builddeps.txt Outdated
Comment thread containers/nova/nova-api/Containerfile Outdated
@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from amoralej. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Dyrkon
Dyrkon force-pushed the feature/nova-api branch 4 times, most recently from 8c89556 to 0784fd7 Compare August 14, 2026 11:30
@Dyrkon
Dyrkon marked this pull request as draft August 14, 2026 11:37
Comment thread containers/nova/rpms.in.yaml Outdated
Comment on lines +51 to +53
- qemu-kvm-block-rbd
- qemu-kvm-core
- qemu-kvm-device-display-virtio-gpu

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so nova-compute need qemu-img
and we need rbd for qemu-img

but we do not need qemu-kvm-device-display-virtio-gpu

and im not sure we need qemu-kvm-core

the vms that nova manages are create by libvirt outside of the nova-compute container

also nova should likely be 2 images like cybrog

one for the podifed services on openshshift and one for the edpm node contianer as that need a lot of deps that the rest do not

Comment thread containers/nova/rpms.in.yaml Outdated
Comment on lines +29 to +33
- libvirt-daemon-driver-nodedev
- libvirt-daemon-driver-nwfilter
- libvirt-daemon-driver-qemu
- libvirt-daemon-driver-secret
- libvirt-daemon-driver-storage-core

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not needed

the libvirt deamo is not used in the nova contaienrs not even nova-compute

its installed on teh host
we jsut need the libvirt lib to build the python3-libvirt package

Comment thread containers/nova/rpms.in.yaml Outdated
Comment on lines +18 to +20
- ceph-common
- device-mapper-multipath
- e2fsprogs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread containers/nova/rpms.in.yaml Outdated
- gcc-c++
- git-core
- httpd
- iscsi-initiator-utils

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • iscsi-initiator-utils is edpm only as is libosinfo below

Comment thread containers/nova/rpms.in.yaml Outdated
- nvme-cli
- openssh-clients
- openssl-devel
- openvswitch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is edpm node only
techinally we only require the ovs lib
https://github.com/openstack-k8s-operators/tcib/blob/main/container-images/tcib/base/os/nova-base/nova-compute/nova-compute.yaml#L28

but that stop being its own package after rhel 8

- x86_64
- aarch64

packages:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this file is ment to be generated
form bindeps.txt and builddeps.txt

but the content of it does nto look corect to me.

  Nova API container serving both osapi_compute (port 8774) and metadata
  (port 8775) APIs via Apache/mod_wsgi. Multi-stage Containerfile built
  from source with cryptography pinned to 49.0.0 (RPM version) and
  pyOpenSSL 26.4.0 for compatibility.

  Includes WSGI wrapper scripts for both APIs (authored for this repo,
  as upstream nova removed its wsgi scripts). Also includes project-level
  lock files and sources shared by future nova services.

Signed-off-by: Matěj Mudra <mmudra@redhat.com>
@Dyrkon
Dyrkon marked this pull request as ready for review August 17, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants