From c6eaec81a6f2e7b50d6d8009767984611c918cf1 Mon Sep 17 00:00:00 2001 From: Shuicheng Lin Date: Mon, 3 Aug 2020 15:45:32 +0800 Subject: [PATCH] Fix vm cannot be created with non-admin user in horizon VM cannot be created due to non-admin user cannot retrieve resource limits info. The reason is nova code since Ussuri has changed limits/ os-availability-zone's policy to any user. But the policy config in openstack-helm is not updated yet, and cause the mismatch between code and config. Overwrite nova's policy config to align with the code. Here is upstream's patch for this policy change: limits: 4d37ffc111ae8bb43bd33fe995bc3686b065131b os-availability-zone: b8c2de86ed46caf7768027e82519c2418989c36b Patch is uploaded in openstack-helm also, and we could abandon this overwrite later when we upgrade openstack-helm to include the fix: https://review.opendev.org/744392 Closes-Bug: 1887589 Change-Id: If637c40fb6b887cdc017aa70c4c5ba145eb5bec3 Signed-off-by: Shuicheng Lin --- stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index f168c024..419031b3 100644 --- a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -1041,6 +1041,9 @@ data: conf: ceph: enabled: true + policy: + os_compute_api:limits: '@' + os_compute_api:os-availability-zone:list: '@' nova: DEFAULT: allow_resize_to_same_host: true