Nova: Implement MVP config
This PS brings in an MVP config for Nova. The changes to the Libvirt also permit operation on RHEL family distros. Closes-Bug: 1683195 Change-Id: I4ce8c9bd53164f1be719271e095edc31e2f3ae4b
This commit is contained in:
parent
60d01e54cc
commit
3d7b289719
37
nova/_values-mvp.yaml
Normal file
37
nova/_values-mvp.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 2017 The Openstack-Helm Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
images:
|
||||
libvirt: quay.io/stackanetes/stackanetes-nova-libvirt:newton
|
||||
|
||||
conf:
|
||||
nova:
|
||||
default:
|
||||
oslo:
|
||||
log:
|
||||
debug: true
|
||||
libvirt:
|
||||
nova:
|
||||
conf:
|
||||
images_type: null
|
||||
images_rbd_pool: null
|
||||
images_rbd_ceph_conf: null
|
||||
rbd_user: null
|
||||
rbd_secret_uuid: null
|
||||
disk_cachemodes: null
|
||||
hw_disk_discard: null
|
||||
upgrade_levels:
|
||||
nova:
|
||||
conf:
|
||||
compute: null
|
@ -14,6 +14,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set -x
|
||||
set -ex
|
||||
|
||||
# Make the Nova Instances Dir as this is not autocreated.
|
||||
mkdir -p /var/lib/nova/instances
|
||||
|
||||
exec nova-compute \
|
||||
--config-file /etc/nova/nova.conf
|
||||
|
@ -31,10 +31,10 @@ data:
|
||||
{{ tuple "bin/_libvirt.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
bootstrap.sh: |
|
||||
{{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
nova-api.sh: |
|
||||
{{ tuple "bin/_nova-api.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
nova-api-metadata.sh: |
|
||||
{{ tuple "bin/_nova-api-metadata.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
nova-api-osapi.sh: |
|
||||
{{ tuple "bin/_nova-api-osapi.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
nova-compute.sh: |
|
||||
{{ tuple "bin/_nova-compute.sh.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
nova-conductor.sh: |
|
||||
|
@ -37,6 +37,7 @@ spec:
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
dnsPolicy: ClusterFirst
|
||||
containers:
|
||||
- name: nova-libvirt
|
||||
@ -86,6 +87,8 @@ spec:
|
||||
mountPath: /var/lib/libvirt
|
||||
- name: run
|
||||
mountPath: /run
|
||||
- name: dev
|
||||
mountPath: /dev
|
||||
- name: cgroup
|
||||
mountPath: /sys/fs/cgroup
|
||||
{{- if .Values.ceph.enabled }}
|
||||
@ -118,6 +121,9 @@ spec:
|
||||
- name: run
|
||||
hostPath:
|
||||
path: /run
|
||||
- name: dev
|
||||
hostPath:
|
||||
path: /dev
|
||||
- name: cgroup
|
||||
hostPath:
|
||||
path: /sys/fs/cgroup
|
||||
|
Loading…
Reference in New Issue
Block a user