Bug 1832667 - All queries to glance API fails with 503 error if rbd store configured incorrectly
Summary: All queries to glance API fails with 503 error if rbd store configured incorr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-glance-store
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 16.1 (Train on RHEL 8.2)
Assignee: Abhishek Kekane
QA Contact: Mike Abrams
Chuck Copello
URL:
Whiteboard:
Depends On:
Blocks: 1802772
TreeView+ depends on / blocked
 
Reported: 2020-05-07 03:44 UTC by Abhishek Kekane
Modified: 2020-07-29 07:52 UTC (History)
6 users (show)

Fixed In Version: python-glance-store-1.0.2-0.20200511193428.a622766.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-29 07:52:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1875281 0 None None None 2020-05-07 03:48:43 UTC
OpenStack gerrit 722915 0 None MERGED Fix: API returns 503 if one of the store is mis-configured 2020-08-04 12:53:12 UTC
OpenStack gerrit 726309 0 None MERGED Fix: API returns 503 if one of the store is mis-configured 2020-08-04 12:53:12 UTC
OpenStack gerrit 726735 0 None MERGED Fix: API returns 503 if one of the store is mis-configured 2020-08-04 12:53:12 UTC
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:52:42 UTC

Description Abhishek Kekane 2020-05-07 03:44:09 UTC
If I misconfigure my glance-api.conf with an incorrect rbd_store_user for one of my store then that store does not work as expected. All requests to glance fails with a 503 error.

Steps to reproduce:
1. Enabled multiple stores by configuring more than one store using enabled_backends config option
2. Provide incorrect rbd_store_user name for one of the rbd store.
3. Restart the glance api service
4. Run glance image-list command

Expected output:
Should list available images

Actual output:
Fails with 503 error

NOTE: Sample glance-api.conf

[default]
enabled_backends = ceph:rbd,fast:file

[glance_store]
default_backend = ceph

[ceph]
rbd_store_pool = images
rbd_store_user = glance-break # incorrect user name
rbd_store_ceph_conf = /etc/ceph/ceph.conf

Comment 11 Alex McLeod 2020-06-16 12:31:06 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 13 errata-xmlrpc 2020-07-29 07:52:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3148


Note You need to log in before you can comment on or make changes to this bug.