Nova: Mount machine id into compute daemonsets
This PS mounts the machine id into the compute daemonsets. It is required for newer verions of libvirt and nova. Change-Id: I75d3ebe670fe1372eb4b6a7fc90102bee69465bf
This commit is contained in:
parent
ebf571fd45
commit
d99ac61a0d
@ -187,6 +187,9 @@ spec:
|
||||
mountPath: /sys/fs/cgroup
|
||||
- name: pod-shared
|
||||
mountPath: /tmp/pod-shared
|
||||
- name: machine-id
|
||||
mountPath: /etc/machine-id
|
||||
readOnly: true
|
||||
{{ if $mounts_nova_compute.volumeMounts }}{{ toYaml $mounts_nova_compute.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: nova-bin
|
||||
@ -225,5 +228,8 @@ spec:
|
||||
path: /sys/fs/cgroup
|
||||
- name: pod-shared
|
||||
emptyDir: {}
|
||||
- name: machine-id
|
||||
hostPath:
|
||||
path: /etc/machine-id
|
||||
{{ if $mounts_nova_compute.volumes }}{{ toYaml $mounts_nova_compute.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
|
@ -139,6 +139,9 @@ spec:
|
||||
mountPath: /dev
|
||||
- name: cgroup
|
||||
mountPath: /sys/fs/cgroup
|
||||
- name: machine-id
|
||||
mountPath: /etc/machine-id
|
||||
readOnly: true
|
||||
{{- if .Values.ceph.enabled }}
|
||||
- name: etcceph
|
||||
mountPath: /etc/ceph
|
||||
@ -194,5 +197,8 @@ spec:
|
||||
- name: cgroup
|
||||
hostPath:
|
||||
path: /sys/fs/cgroup
|
||||
- name: machine-id
|
||||
hostPath:
|
||||
path: /etc/machine-id
|
||||
{{ if $mounts_nova_libvirt.volumes }}{{ toYaml $mounts_nova_libvirt.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user