Hi Swogat,

The glance.yaml you've shared is for central site or edge site?
Is it possible for you to share your glance-api.conf just to check how configuration values are set?



Thanks,
Pranali

On Tue, Feb 14, 2023 at 12:35 PM Swogat Pradhan <swogatpradhan22@gmail.com> wrote:
Additional INFO:
The glance_api container is in reboot loop after adding multi store config.
Which is why the image service has become unreachable.


On Mon, Feb 13, 2023 at 6:39 PM Swogat Pradhan <swogatpradhan22@gmail.com> wrote:
Hi,
Openstack wallaby | tripleo

I am trying to setup DCN where i want to setup a glance multistore config in both central and edge sites as per the documentation.
But when ever i run stack update with the following config for multistore:

[stack@hkg2director ~]$ cat workplace/glance.yaml
parameter_defaults:
  GlanceShowMultipleLocations: true
  GlanceBackend: rbd
  GlanceEnabledImportMethods: web-download,copy-image
  GlanceBackendID: ceph
  GlanceMultistoreConfig:
    dcn01:
      GlanceBackend: rbd
      GlanceStoreDescription: 'dcn01 rbd glance store'
      CephClusterName: dcn01

The image service becomes inaccessible. Giving the following error:

(overcloud) [stack@hkg2director ~]$ openstack image list
Failed to contact the endpoint at https://bolt.bdxworld.com:13292 for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at https://bolt.bdxworld.com:13292 for discovery. Fallback to using that endpoint as the base url.
The image service for :regionOne exists but does not have any supported versions.


glance api.log from controller nodes:

2023-02-13 13:02:19.878 7 INFO glance.async_ [-] Threadpool model set to 'EventletThreadPoolModel'
2023-02-13 13:02:19.969 7 INFO keyring.backend [-] Loading KWallet
2023-02-13 13:02:19.977 7 INFO keyring.backend [-] Loading SecretService
2023-02-13 13:02:19.982 7 INFO keyring.backend [-] Loading Windows
2023-02-13 13:02:19.983 7 INFO keyring.backend [-] Loading chainer
2023-02-13 13:02:19.983 7 INFO keyring.backend [-] Loading macOS
2023-02-13 13:02:20.571 7 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.
2023-02-13 13:02:20.711 7 ERROR stevedore.extension [-] Could not load 'glance.store.s3.Store': No module named 'boto3': ModuleNotFoundError: No module named 'boto3'
2023-02-13 13:02:20.719 7 ERROR stevedore.extension [-] Could not load 's3': No module named 'boto3': ModuleNotFoundError: No module named 'boto3'

Is there a patch to fix this issue??