← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2007148] [NEW] Glance multistore config makes image service inaccessible

 

Public bug reported:

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??

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2007148

Title:
  Glance multistore config makes image service inaccessible

Status in Glance:
  New

Bug description:
  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??

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2007148/+subscriptions