glance/glance
Vlad Gusev a1fd2b4de5 Configure Glance TCP socket after the store initialization
When multiple stores are being used with rbd backend, Glance tries
to get fsid of the cluster using rados library.
If even one of the rbd backends is unavailable, glance-api wsgi fails
to start properly, but continue listening on the TCP socket and is not
responding at any request until the timeout.

This change moves socket configuration after the store initialization
to make sure that failed Glance API process will not be
considered as up by the haproxy TCP check.

Change-Id: I4298bb835ec60b79a0010e52318ada19eb24ad80
Related-Bug: #1861723
(cherry picked from commit d9902c26a1)
2020-02-13 14:33:37 +00:00
..
api Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
async_ Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
cmd Add support for oslo.reports 2019-09-20 05:17:58 +00:00
common Configure Glance TCP socket after the store initialization 2020-02-13 14:33:37 +00:00
db Fix INSTR not supported for postgresql 2019-08-21 10:38:14 +00:00
domain Pass kwargs to exception to get better format of error message 2019-04-17 15:15:57 +08:00
hacking Fix DeprecationWarning: invalid escape sequence 2019-09-19 17:34:55 +09:00
image_cache Add periodic job to prefetch images into cache 2019-09-10 15:01:58 +00:00
locale Imported Translations from Zanata 2019-10-03 10:57:48 +00:00
quota Change location metadata key 'backend' to 'store' 2019-08-08 04:52:51 +00:00
registry Merge "Allow glance tests to run on Windows" 2019-03-14 15:30:41 +00:00
tests Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
gateway.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
i18n.py Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
location.py Adding member to image fails for multiple stores 2019-08-21 08:02:23 +00:00
notifier.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
opts.py Revert "Add reserved stores to the sample config file" 2019-09-19 12:40:34 +01:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Change location metadata key 'backend' to 'store' 2019-08-08 04:52:51 +00:00
version.py Add support for oslo.reports 2019-09-20 05:17:58 +00:00