2021-11-01T12:33:16.256289485Z stdout F 2021-11-01 12:33:16.255 6 ERROR glance.db.sqlalchemy.metadata [-] Failed to parse json file /var/lib/openstack/etc/glance/metadefs/compute-hypervisor.json while populating metadata due to: 'ascii' codec can't decode byte 0xc2 in position 898: ordinal not in range(128): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 898: ordinal not in range(128)
2021-11-01T12:33:16.328460709Z stdout F 2021-11-01 12:33:16.328 6 ERROR glance.db.sqlalchemy.metadata [-] Failed to parse json file /var/lib/openstack/etc/glance/metadefs/software-runtimes.json while populating metadata due to: 'ascii' codec can't decode byte 0xe2 in position 1367: ordinal not in range(128): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1367: ordinal not in range(128)
2021-11-01T12:32:54.675000242Z stderr F + OS_SERVICE_DESC='RegionOne: glance (image) service'
2021-11-01T12:32:54.675043656Z stderr F + unset OS_SERVICE_ID
2021-11-01T12:32:54.675545656Z stderr F ++ seq 3
2021-11-01T12:32:54.678134714Z stderr F + for i in '$(seq 3)'
2021-11-01T12:32:54.679088664Z stderr F ++ grep ',glance,image$'
2021-11-01T12:32:54.67932324Z stderr F ++ openstack service list -f csv --quote none
2021-11-01T12:32:54.679546801Z stderr F ++ sed -e s/,glance,image//g
2021-11-01T12:32:59.228688184Z stderr F + OS_SERVICE_ID=1b912ffbbf2d4c89b4318e58bd5456b3
2021-11-01T12:32:59.228720252Z stderr F + [[ -n 1b912ffbbf2d4c89b4318e58bd5456b3 ]]
2021-11-01T12:32:59.228723849Z stderr F + exit 0
++++
next step
++++
I will trace the process for armada applying openstack-glance and find out the root cause
hello
1.
stx-openstack apply was stuck because armada applied opendstack-glance failed
I surf the logs and found the issue in
==== 20211101. 125218/ controller- 0_20211101. 125218/ var/log/ pods/openstack_ glance- metadefs- load-jnkjv_ 542da925- 6a87-4d52- 88a8-5fa7ce1668 9c/glance- metadefs- load/0. log
ALL_NODES_
====
2021-11- 01T12:33: 16.256289485Z stdout F 2021-11-01 12:33:16.255 6 ERROR glance. db.sqlalchemy. metadata [-] Failed to parse json file /var/lib/ openstack/ etc/glance/ metadefs/ compute- hypervisor. json while populating metadata due to: 'ascii' codec can't decode byte 0xc2 in position 898: ordinal not in range(128): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 898: ordinal not in range(128)
2021-11- 01T12:33: 16.328460709Z stdout F 2021-11-01 12:33:16.328 6 ERROR glance. db.sqlalchemy. metadata [-] Failed to parse json file /var/lib/ openstack/ etc/glance/ metadefs/ software- runtimes. json while populating metadata due to: 'ascii' codec can't decode byte 0xe2 in position 1367: ordinal not in range(128): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1367: ordinal not in range(128)
==== 20211101. 125218/ controller- 0_20211101. 125218/ var/log/ pods/openstack_ glance- ks-service- lhgkn_5de50a62- c1a6-4f9a- 8895-de8a62581c 17/image- ks-service- registration/ 0.log
ALL_NODES_
====
2021-11- 01T12:32: 54.675000242Z stderr F + OS_SERVICE_ DESC='RegionOne : glance (image) service' 01T12:32: 54.675043656Z stderr F + unset OS_SERVICE_ID 01T12:32: 54.675545656Z stderr F ++ seq 3 01T12:32: 54.678134714Z stderr F + for i in '$(seq 3)' 01T12:32: 54.679088664Z stderr F ++ grep ',glance,image$' 01T12:32: 54.67932324Z stderr F ++ openstack service list -f csv --quote none 01T12:32: 54.679546801Z stderr F ++ sed -e s/,glance,image//g 01T12:32: 59.228688184Z stderr F + OS_SERVICE_ ID=1b912ffbbf2d 4c89b4318e58bd5 456b3 01T12:32: 59.228720252Z stderr F + [[ -n 1b912ffbbf2d4c8 9b4318e58bd5456 b3 ]] 01T12:32: 59.228723849Z stderr F + exit 0
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
++++
next step
++++
I will trace the process for armada applying openstack-glance and find out the root cause