Mount /dev/pts in nova-compute container

Nova will check if pty device exist or not under /dev/pts
when get console log.
If it does not exist, cannot get console log.
ref: https://review.opendev.org/c/starlingx/config/+/660268

Change-Id: I2793d1f51c18e81a4271b8b0c50bfe1a2dab8a09
This commit is contained in:
okozachenko 2021-02-18 05:12:03 +02:00
parent 287abeecb0
commit 04d600c5b0
3 changed files with 7 additions and 2 deletions
nova
releasenotes/notes

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Nova
name: nova
version: 0.1.14
version: 0.1.15
home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources:

@ -274,6 +274,8 @@ spec:
- /tmp/nova-compute.sh
terminationMessagePath: /var/log/termination-log
volumeMounts:
- name: dev-pts
mountPath: /dev/pts
- name: pod-tmp
mountPath: /tmp
- name: nova-bin
@ -446,7 +448,6 @@ spec:
secret:
secretName: {{ $configMapName }}
defaultMode: 0444
{{- if .Values.network.ssh.enabled }}
- name: nova-ssh
secret:
@ -467,6 +468,9 @@ spec:
secretName: {{ .Values.ceph_client.user_secret_name }}
{{ end }}
{{ end }}
- name: dev-pts
hostPath:
path: /dev/pts
- name: libmodules
hostPath:
path: /lib/modules

@ -15,3 +15,4 @@ nova:
- 0.1.12 Update RBAC apiVersion from /v1beta1 to /v1
- 0.1.13 Change Issuer to ClusterIssuer
- 0.1.14 BUG for deploying multiple compute nodes
- 0.1.15 Mount /dev/pts in Nova compute container