An end user is seeing this issue, which looks very similar to https://review.opendev.org/c/starlingx/integ/+/659081 which was fixed 2 years ago. The user is seeing this issue on StarlingX 4.0. The configuration is a simplex (AIO) system.
The user reports that locking/unlocking the controller does not resolve the issue.
Logs captured are:
controller-0:~$ source /etc/platform/openrc
[sysadmin@controller-0 ~(keystone_admin)]$ system host-list
+----+--------------+-------------+----------------+-------------+--------------+
| id | hostname | personality | administrative | operational | availability |
+----+--------------+-------------+----------------+-------------+--------------+
| 1 | controller-0 | controller | unlocked | enabled | degraded |
+----+--------------+-------------+----------------+-------------+--------------+
[sysadmin@controller-0 ~(keystone_admin)]$ system application-list
+--------------------------+---------------------------+-----------------------------------+----------------------------------------+----------+-----------+
| application | version | manifest name | manifest file | status | progress |
+--------------------------+---------------------------+-----------------------------------+----------------------------------------+----------+-----------+
| cert-manager | 1.0-6 | cert-manager-manifest | certmanager-manifest.yaml | applied | completed |
| nginx-ingress-controller | 1.0-0 | nginx-ingress-controller-manifest | nginx_ingress_controller_manifest.yaml | applied | completed |
| oidc-auth-apps | 1.0-28 | oidc-auth-manifest | manifest.yaml | uploaded | completed |
| platform-integ-apps | 1.0-10 | platform-integration-manifest | manifest.yaml | applied | completed |
| stx-openstack | 1.0-49-centos-stable- | armada-manifest | stx-openstack.yaml | applied | completed |
| | latest | | | | |
| | | | | | |
+--------------------------+---------------------------+-----------------------------------+----------------------------------------+----------+-----------+
[sysadmin@controller-0 ~(keystone_admin)]$ openstack compute service list
internal endpoint for compute service in RegionOne region not found
[sysadmin@controller-0 ~(keystone_admin)]$ openstack endpoint list
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
| 7640ca71125c468d8d404eb6e5fab0be | RegionOne | fm | faultmanagement | True | admin | http://192.168.204.1:18002 |
| ed95da9eed7f45a48536f56cd98d7f6d | RegionOne | fm | faultmanagement | True | internal | http://192.168.204.1:18002 |
| 0fbbef441ab648e19167cd72271d993a | RegionOne | fm | faultmanagement | True | public | http://192.168.172.18:18002 |
| 4cf33a8c21004501b65701ca4af9e085 | RegionOne | patching | patching | True | admin | http://192.168.204.1:5491 |
| 9b3ed1ea44a344798c1508090b8455c1 | RegionOne | patching | patching | True | internal | http://192.168.204.1:5491 |
| 9bcc2dc5da56472482b99158580a15aa | RegionOne | patching | patching | True | public | http://192.168.172.18:15491 |
| 974458fe518848a1b353bc522aa719f4 | RegionOne | vim | nfv | True | admin | http://192.168.204.1:4545 |
| 776e1616ae8e4487a088d1c3bcc393d8 | RegionOne | vim | nfv | True | internal | http://192.168.204.1:4545 |
| 00a8ec1edef442859d002ba82106c839 | RegionOne | vim | nfv | True | public | http://192.168.172.18:4545 |
| 4e1be4f3cfe440a1b3696d310ba587cc | RegionOne | barbican | key-manager | True | admin | http://192.168.204.1:9311 |
| 1f62de9274044b76967eaa5c50f8963a | RegionOne | barbican | key-manager | True | internal | http://192.168.204.1:9311 |
| 0f336b7a951740fab6f5624f1b4745c1 | RegionOne | barbican | key-manager | True | public | http://192.168.172.18:9311 |
| b268f65d54f4442582831ef350ad04b3 | RegionOne | smapi | smapi | True | admin | http://192.168.204.1:7777 |
| 21ce287f252f4c29a8b488a95011fd38 | RegionOne | smapi | smapi | True | internal | http://192.168.204.1:7777 |
| f2bdd1e93e70449cbe9c86ce4d1b5ef8 | RegionOne | smapi | smapi | True | public | http://192.168.172.18:7777 |
| 8c8b84b269284623aa7a56410f610f6a | RegionOne | keystone | identity | True | admin | http://192.168.204.1:5000/v3 |
| e5098d9e405243b1a65b9481829cfacf | RegionOne | keystone | identity | True | internal | http://192.168.204.1:5000/v3 |
| 7772e70e06824cf7af9d419810747843 | RegionOne | keystone | identity | True | public | http://192.168.172.18:5000/v3 |
| 2c893433a3f345249a4bf8e2aa57c71d | RegionOne | sysinv | platform | True | admin | http://192.168.204.1:6385/v1 |
| 2d508cf2e24a4a16a46c56f6afcd2ec7 | RegionOne | sysinv | platform | True | internal | http://192.168.204.1:6385/v1 |
| ac433b091270449f8f99dacd7147c5af | RegionOne | sysinv | platform | True | public | http://192.168.172.18:6385/v1 |
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
controller-0:~$ source /etc/platform/openrc
[sysadmin@controller-0 ~(keystone_admin)]$ openstack compute service list
internal endpoint for compute service in RegionOne region not found
[sysadmin@controller-0 ~(keystone_admin)]$ openstack endpoint list
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
| 7640ca71125c468d8d404eb6e5fab0be | RegionOne | fm | faultmanagement | True | admin | http://192.168.204.1:18002 |
| ed95da9eed7f45a48536f56cd98d7f6d | RegionOne | fm | faultmanagement | True | internal | http://192.168.204.1:18002 |
| 0fbbef441ab648e19167cd72271d993a | RegionOne | fm | faultmanagement | True | public | http://192.168.172.18:18002 |
| 4cf33a8c21004501b65701ca4af9e085 | RegionOne | patching | patching | True | admin | http://192.168.204.1:5491 |
| 9b3ed1ea44a344798c1508090b8455c1 | RegionOne | patching | patching | True | internal | http://192.168.204.1:5491 |
| 9bcc2dc5da56472482b99158580a15aa | RegionOne | patching | patching | True | public | http://192.168.172.18:15491 |
| 974458fe518848a1b353bc522aa719f4 | RegionOne | vim | nfv | True | admin | http://192.168.204.1:4545 |
| 776e1616ae8e4487a088d1c3bcc393d8 | RegionOne | vim | nfv | True | internal | http://192.168.204.1:4545 |
| 00a8ec1edef442859d002ba82106c839 | RegionOne | vim | nfv | True | public | http://192.168.172.18:4545 |
| 4e1be4f3cfe440a1b3696d310ba587cc | RegionOne | barbican | key-manager | True | admin | http://192.168.204.1:9311 |
| 1f62de9274044b76967eaa5c50f8963a | RegionOne | barbican | key-manager | True | internal | http://192.168.204.1:9311 |
| 0f336b7a951740fab6f5624f1b4745c1 | RegionOne | barbican | key-manager | True | public | http://192.168.172.18:9311 |
| b268f65d54f4442582831ef350ad04b3 | RegionOne | smapi | smapi | True | admin | http://192.168.204.1:7777 |
| 21ce287f252f4c29a8b488a95011fd38 | RegionOne | smapi | smapi | True | internal | http://192.168.204.1:7777 |
| f2bdd1e93e70449cbe9c86ce4d1b5ef8 | RegionOne | smapi | smapi | True | public | http://192.168.172.18:7777 |
| 8c8b84b269284623aa7a56410f610f6a | RegionOne | keystone | identity | True | admin | http://192.168.204.1:5000/v3 |
| e5098d9e405243b1a65b9481829cfacf | RegionOne | keystone | identity | True | internal | http://192.168.204.1:5000/v3 |
| 7772e70e06824cf7af9d419810747843 | RegionOne | keystone | identity | True | public | http://192.168.172.18:5000/v3 |
| 2c893433a3f345249a4bf8e2aa57c71d | RegionOne | sysinv | platform | True | admin | http://192.168.204.1:6385/v1 |
| 2d508cf2e24a4a16a46c56f6afcd2ec7 | RegionOne | sysinv | platform | True | internal | http://192.168.204.1:6385/v1 |
| ac433b091270449f8f99dacd7147c5af | RegionOne | sysinv | platform | True | public | http://192.168.172.18:6385/v1 |
+----------------------------------+-----------+--------------+-----------------+---------+-----------+-------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$ openstack compute service list --service nova-compute
internal endpoint for compute service in RegionOne region not found
[sysadmin@controller-0 ~(keystone_admin)]$ openstack flavor list
internal endpoint for compute service in RegionOne region not found
controller-0:~$ kubectl get pods --all-namespaces -o wide|grep nova | grep -a -e Running -e Completed
openstack nova-bootstrap-bt6jz 0/1 Completed 0 2d8h 172.16.192.157 controller-0 <none> <none>
openstack nova-bootstrap-zhj9w 0/1 Completed 0 5d12h 172.16.192.109 controller-0 <none> <none>
openstack nova-cell-setup-bxh4q 0/1 Completed 0 5d12h 172.16.192.105 controller-0 <none> <none>
openstack nova-cell-setup-ltxmx 0/1 Completed 0 2d8h 172.16.192.154 controller-0 <none> <none>
openstack nova-db-init-g67tk 0/3 Completed 0 5d12h 172.16.192.111 controller-0 <none> <none>
openstack nova-db-init-hnnxw 0/3 Completed 0 2d8h 172.16.192.155 controller-0 <none> <none>
openstack nova-db-sync-8zq8m 0/1 Completed 0 2d8h 172.16.192.156 controller-0 <none> <none>
openstack nova-db-sync-xdcb2 0/1 Completed 0 5d12h 172.16.192.107 controller-0 <none> <none>
openstack nova-ks-endpoints-c9kkx 0/3 Completed 0 5d12h 172.16.192.70 controller-0 <none> <none>
openstack nova-ks-service-9hr9j 0/1 Completed 0 2d8h 172.16.192.159 controller-0 <none> <none>
openstack nova-ks-service-jpf7g 0/1 Completed 0 5d12h 172.16.192.98 controller-0 <none> <none>
openstack nova-ks-user-bfjg2 0/1 Completed 0 2d8h 172.16.192.160 controller-0 <none> <none>
openstack nova-ks-user-bqh5q 0/1 Completed 0 5d12h 172.16.192.108 controller-0 <none> <none>
openstack nova-rabbit-init-7g7hk 0/1 Completed 0 2d8h 172.16.192.158 controller-0 <none> <none>
openstack nova-rabbit-init-cfxws 0/1 Completed 0 5d12h 172.16.192.112 controller-0 <none> <none>
openstack nova-service-cleaner-1614945600-hck6t 0/1 Completed 0 3d12h 172.16.192.113 controller-0 <none> <none>
openstack nova-service-cleaner-1614949200-j6h5g 0/1 Completed 0 3d11h 172.16.192.105 controller-0 <none> <none>
openstack nova-service-cleaner-1614967200-kh2w7 0/1 Completed 0 2d9h 172.16.192.92 controller-0 <none> <none>
openstack nova-service-cleaner-1615201200-kk47d 0/1 Completed 0 13h 172.16.192.154 controller-0 <none> <none>
openstack nova-service-cleaner-1615204800-h6w8p 0/1 Completed 0 12h 172.16.192.161 controller-0 <none> <none>
openstack nova-service-cleaner-1615208400-965sc 0/1 Completed 0 11h 172.16.192.163 controller-0 <none> <none>
openstack nova-storage-init-vsbdz 0/1 Completed 0 5d12h 172.16.192.95 controller-0 <none> <none>
openstack nova-storage-init-wl674 0/1 Completed 0 2d8h 172.16.192.161 controller-0 <none> <none>
controller-0:~$ kubectl get pods --all-namespaces -o wide|grep nova | grep -v -e Running -e Completed
openstack nova-api-metadata-89496f88b-wwwfg 0/1 Init:Unknown 0 12h <none> controller-0 <none> <none>
openstack nova-api-osapi-8c586b98b-k6dsn 0/1 Init:Unknown 0 12h <none> controller-0 <none> <none>
openstack nova-api-proxy-6c5488769-dbdt8 0/1 Unknown 1 12h <none> controller-0 <none> <none>
openstack nova-compute-controller-0-937646f6-4jlmq 0/2 Init:Unknown 1 13h 192.168.204.2 controller-0 <none> <none>
openstack nova-conductor-7d6fc48cc9-hq7sb 0/1 Init:Unknown 0 12h <none> controller-0 <none> <none>
openstack nova-novncproxy-c7b7f4c69-xpdj4 0/1 Init:Unknown 0 3h18m <none> controller-0 <none> <none>
openstack nova-scheduler-cfcf778f7-dkksd 0/1 Init:0/1 0 147m 172.16.192.157 controller-0 <none> <none>
openstack nova-service-cleaner-1615215600-klrrw 0/1 Init:0/1 0 147m 172.16.192.134 controller-0 <none> <none>
----inventory log---
sysinv 2021-03-09 04:38:24.379 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:38:24.383 83939 INFO sysinv.api.controllers.v1.rest_api [-] Response={u'status': u'success', u'in-progress': None, u'sw-update-type': None}
sysinv 2021-03-09 04:38:24.428 83939 INFO sysinv.conductor.manager [-] Platform managed application oidc-auth-apps: Prerequisites not met.
sysinv 2021-03-09 04:38:24.434 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:38:24.436 83939 INFO sysinv.api.controllers.v1.rest_api [-] Response={u'status': u'success', u'in-progress': None, u'sw-update-type': None}
sysinv 2021-03-09 04:38:24.443 83939 INFO sysinv.conductor.manager [-] platform-integ-apps requires re-apply but there are currently node(s) in an unstable state. Will retry on next audit
sysinv 2021-03-09 04:39:24.384 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:39:24.386 83939 INFO sysinv.api.controllers.v1.rest_api [-] Response={u'status': u'success', u'in-progress': None, u'sw-update-type': None}
sysinv 2021-03-09 04:39:24.431 83939 INFO sysinv.conductor.manager [-] Platform managed application oidc-auth-apps: Prerequisites not met.
sysinv 2021-03-09 04:39:24.437 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:39:24.439 83939 INFO sysinv.api.controllers.v1.rest_api [-] Response={u'status': u'success', u'in-progress': None, u'sw-update-type': None}
sysinv 2021-03-09 04:39:24.448 83939 INFO sysinv.conductor.manager [-] platform-integ-apps requires re-apply but there are currently node(s) in an unstable state. Will retry on next audit
sysinv 2021-03-09 04:40:24.404 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:40:24.405 83939 WARNING sysinv.api.controllers.v1.rest_api [-] URLError Error e=<urlopen error [Errno 111] ECONNREFUSED>: URLError: <urlopen error [Errno 111] ECONNREFUSED>
sysinv 2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task [-] Error during ConductorManager._k8s_application_audit: 'NoneType' object has no attribute '__getitem__': TypeError: 'NoneType' object has no attribute '__getitem__'
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task Traceback (most recent call last):
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task File "/usr/lib64/python2.7/site-packages/sysinv/openstack/common/periodic_task.py", line 180, in run_periodic_tasks
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task task(self, context)
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 5454, in _k8s_application_audit
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task if self._check_software_orchestration_in_progress():
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 5411, in _check_software_orchestration_in_progress
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task if vim_resp['sw-update-type'] is not None and \
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task TypeError: 'NoneType' object has no attribute '__getitem__'
2021-03-09 04:40:24.405 83939 ERROR sysinv.openstack.common.periodic_task
sysinv 2021-03-09 04:41:24.375 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
sysinv 2021-03-09 04:41:24.378 83939 INFO sysinv.api.controllers.v1.rest_api [-] Response={u'status': u'success', u'in-progress': None, u'sw-update-type': None}
sysinv 2021-03-09 04:41:24.424 83939 INFO sysinv.conductor.manager [-] Platform managed application oidc-auth-apps: Prerequisites not met.
sysinv 2021-03-09 04:41:24.430 83939 INFO sysinv.api.controllers.v1.rest_api [-] GET cmd:http://localhost:30001/nfvi-plugins/v1/sw-update hdr:{'Content-type': 'application/json', 'User-Agent': 'sysinv/1.0'} payload:None
This bug was reported by Danishka Navin <email address hidden>, who should be contacted if more information is needed.