glance/glance
Rajat Dhasmana ff313acaf2 Add `fsid` to RBD store properties
Currently the RBD store/backend doesn't report the FSID field.
To include the FSID field, we need a connection to the RBD cluster.
Luckily, while initializing the RBD store, we fetch the FSID and
put it in the _url_prefix field (given fsid and pool info are available).

We just need to fetch it from the _url_prefix field and return it
in the response.
If FSID is not set in the RBD store, we return NULL value.

This is required for the effort of optimizing the upload volume to
image operation from cinder RBD to glance RBD backend.

Partial-Implements: blueprint optimize-upload-volume-to-rbd-store
Change-Id: I3e7dc11bc632ca0f3e134e0bca7eb2442bf797ca
2024-12-04 01:51:26 +05:30
..
api Add `fsid` to RBD store properties 2024-12-04 01:51:26 +05:30
async_ Merge "Use format_inspector from oslo" 2024-09-16 18:21:15 +00:00
cmd Merge "Remove workaround for eventlet bug #592" 2024-11-15 05:11:22 +00:00
common Remove default override for config options policy_file 2024-11-19 12:30:23 -08:00
db Merge "Change DB migration constant to 2025_1" 2024-11-07 16:22:00 +00:00
domain Replace deprecated functions in datetime 2024-11-02 14:27:49 +00:00
hacking Bump hacking 2024-01-27 16:55:11 +00:00
image_cache Make centralized_db cache driver default 2024-03-05 19:35:20 +00:00
locale Imported Translations from Zanata 2024-09-02 03:51:10 +00:00
policies Add new get location api 2024-07-25 10:22:47 +00:00
quota [APIImpact] Quota usage API 2022-02-03 09:55:50 -08:00
tests Add `fsid` to RBD store properties 2024-12-04 01:51:26 +05:30
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Merge "Add get_ksa_client() helper" 2021-03-02 19:41:57 +00:00
gateway.py Remove dead code of auth and policy layers 2022-06-14 10:15:55 +00:00
housekeeping.py Add housekeeping module and staging cleaner 2021-03-03 14:36:46 -08:00
i18n.py Raise hacking to latest 2.0.0 release 2020-03-27 14:11:08 -05:00
location.py Use format_inspector from oslo 2024-08-28 07:03:54 -07:00
notifier.py Bump hacking 2024-01-27 16:55:11 +00:00
opts.py Remove Windows OS support 2024-10-30 00:59:02 +09:00
schema.py Remove six.iteritems usage 2021-12-21 13:01:56 +00:00
scrubber.py Deprecate glance scrubber 2024-02-26 22:02:24 -05:00
sqlite_migration.py Replace deprecated functions in datetime 2024-11-02 14:27:49 +00:00
version.py Add support for oslo.reports 2019-09-20 05:17:58 +00:00