We have tried patching the charm in live environment, i.e. by replacing 'volume_type' with volume_type, but it looks like there's something else missing still. With patched glance charm, `glance image-create` fails as follows: ``` $ glance image-create --store volume-type-1 --file ./cirros-0.5.1-x86_64-disk.img --container-format bare --disk-format qcow2 HTTP 503 Service Unavailable: Service Unavailable: The server is temporarily unable to service your: request due to maintenance downtime or capacity: problems. Please try again later.: Apache/2.4.52 (Ubuntu) Server at image.example.com Port 9292 ``` glance-api.conf seem to be configured correctly: ``` ... [volume-type-1] cinder_volume_type = volume-type-1 cinder_http_retries = 3 cinder_state_transition_timeout = 30 cinder_catalog_info = volumev3:cinderv3:internalURL [volume-type-2] cinder_volume_type = volume-type-2 cinder_http_retries = 3 cinder_state_transition_timeout = 30 cinder_catalog_info = volumev3:cinderv3:internalURL ``` Glance log shows the following DEBUG messages, I'm not sure if this is relevant though: ``` 2024-02-12 10:20:31.173 2512343 DEBUG glance_store.multi_backend [-] Attempting to import store file _load_multi_store /usr/lib/python3/dist-packages/glance_store/multi_backend.py:171 2024-02-12 10:20:31.174 2512343 DEBUG glance_store.capabilities [-] Store glance_store._drivers.filesystem.Store doesn't support updating dynamic storage capabilities. Please overwrite 'update_capabilities' method of the store to implement updating logics if needed. update_capabilities /usr/lib/python3/dist-packages/glance_store/capabilities.py:91 2024-02-12 10:20:31.174 2512343 DEBUG glance_store.multi_backend [-] Registering store file with schemes ('file', 'filesystem') create_multi_stores /usr/lib/python3/dist-packages/glance_store/multi_backend.py:304 2024-02-12 10:20:31.175 2512343 DEBUG glance_store.driver [-] Late loading location class glance_store._drivers.filesystem.StoreLocation get_store_location_class /usr/lib/python3/dist-packages/glance_store/driver.py:117 2024-02-12 10:20:31.175 2512343 DEBUG glance_store.location [-] Registering scheme file with {'local': {'store': , 'location_class': , 'store_entry': 'file'}} register_scheme_backend_map /usr/lib/python3/dist-packages/glance_store/location.py:132 2024-02-12 10:20:31.175 2512343 DEBUG glance_store.location [-] Registering scheme file with {'local': {'store': , 'location_class': , 'store_entry': 'file'}} register_scheme_backend_map /usr/lib/python3/dist-packages/glance_store/location.py:132 2024-02-12 10:20:31.175 2512343 DEBUG glance_store.location [-] Registering scheme filesystem with {'local': {'store': , 'location_class': , 'store_entry': 'file'}} register_scheme_backend_map /usr/lib/python3/dist-packages/glance_store/location.py:132 2024-02-12 10:20:31.175 2512343 DEBUG glance_store.multi_backend [-] Attempting to import store cinder _load_multi_store /usr/lib/python3/dist-packages/glance_store/multi_backend.py:171 2024-02-12 10:20:31.176 2512343 DEBUG glance_store.common.fs_mount [-] Initialising _HostMountState __init__ /usr/lib/python3/dist-packages/glance_store/common/fs_mount.py:84 2024-02-12 10:20:31.177 2512343 DEBUG glance_store.capabilities [-] Store glance_store._drivers.cinder.Store doesn't support updating dynamic storage capabilities. Please overwrite 'update_capabilities' method of the store to implement updating logics if needed. update_capabilities /usr/lib/python3/dist-packages/glance_store/capabilities.py:91 ``` I also noticed that these log entries started to appear in Glance log more or less every second, only after the charm was patched: ``` 2024-02-12 10:18:20.644 2472552 INFO glance.async_ [-] Threadpool model set to 'EventletThreadPoolModel' 2024-02-12 10:18:21.423 2472552 INFO glance.image_cache [-] Image cache loaded driver 'sqlite'. 2024-02-12 10:18:21.433 2472552 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True. ```