2.11.9.2. 확인된 문제
이 부분에서는 OpenShift 18.0의 Red Hat OpenStack Services에서 알려진 문제에 대해 설명합니다.
uniquePodNames 가 true인 경우 인스턴스에 대한 extraMounts 전파가 작동하지 않음
uniquePodNames 가 true 인 경우 모든 Cinder Pod(및 일반적으로 각 구성 요소 및 서비스)의 접두사는 pseudo-random 문자열입니다. 이는 strings.TrimPrefix 를 기반으로 하는 레거시 방법이 더 이상 유효하지 않기 때문에 인스턴스별 전파에 영향을 미칩니다.
DCN 배포에서 Red Hat은 AZ 인스턴스와 일치하여 포드에 보안을 전파하는 것이 좋습니다.
예제 1에서는 이름이 az0과 일치하는 Pod가 secret ceph-conf-az-0을 가져오고, 이름이 az1과 일치하는 Pod는 ceph-conf-az-0 등을 가져옵니다. 예를 들어 1은 Glance pod에서 작동하지만 uniquePodNames 가 false 인 경우에만 Cinder Pod에서 작동합니다.
해결방법: 이 버그가 해결될 때까지 Example 2에 표시된 대로 uniquePodNames 를 false로 설정합니다. uniquePodNames 설정은 스토리지 백엔드에서 NFS를 사용하는 경우에만 필요합니다.
예시 1
apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
spec:
extraMounts:
- extraVol:
- extraVolType: Ceph
mounts:
- mountPath: /etc/ceph
name: ceph0
readOnly: true
propagation:
- az0
volumes:
- name: ceph0
projected:
sources:
- secret:
name: ceph-conf-az-0
- extraVolType: Ceph
mounts:
- mountPath: /etc/ceph
name: ceph1
readOnly: true
propagation:
- az1
volumes:
- name: ceph1
projected:
sources:
- secret:
name: ceph-conf-az-1
예시 2
apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
<...>
spec:
cinder:
uniquePodNames: false # workaround https://issues.redhat.com/browse/OSPRH-11240
enabled: true
apiOverride:
<...>