Skip to content

Commit

Permalink
Add nova_compute_init container
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Jan 14, 2025
1 parent 9d30da2 commit f21a11d
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions bootc/embedded-services/quadlets/nova_compute/nova_compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,39 @@ metadata:
name: novacompute
spec:
containers:
- args:
- bash
- -c
- $*
- --
- eval
- python3
- /sbin/nova_statedir_ownership.py
- '|'
- logger
- -t
- nova_compute_init
env:
- name: NOVA_STATEDIR_OWNERSHIP_SKIP
value: /var/lib/nova/compute_id
- name: __OS_DEBUG
value: "False"
image: quay.io/podified-antelope-centos9/openstack-nova-compute:current-podified
name: novacomputeinit
securityContext:
runAsGroup: 0
runAsUser: 0
seLinuxOptions:
type: spc_t
volumeMounts:
- mountPath: /var/lib/_nova_secontext
name: var-lib-_nova_secontext-host-0
- mountPath: /sbin/nova_statedir_ownership.py
name: var-lib-openstack-config-nova-nova_statedir_ownership.py-host-1
- mountPath: /dev/log
name: dev-log-host-2
- mountPath: /var/lib/nova
name: var-lib-nova-host-3
- args:
- kolla_start
env:
Expand Down Expand Up @@ -62,6 +95,14 @@ spec:
readOnly: true
hostNetwork: true
volumes:
- hostPath:
path: /var/lib/_nova_secontext
type: Directory
name: var-lib-_nova_secontext-host-0
- hostPath:
path: /var/lib/openstack/config/nova/nova_statedir_ownership.py
type: File
name: var-lib-openstack-config-nova-nova_statedir_ownership.py-host-1
- hostPath:
path: /var/lib/iscsi
type: Directory
Expand Down Expand Up @@ -126,3 +167,11 @@ spec:
path: /var/lib/openstack/config/ceph
type: Directory
name: var-lib-openstack-config-ceph-host-15
- hostPath:
path: /dev/log
type: File
name: dev-log-host-2
- hostPath:
path: /var/lib/nova
type: Directory
name: var-lib-nova-host-3

0 comments on commit f21a11d

Please sign in to comment.