nova/nova
Curt Moore 61aeb1adbc Add ability to download Glance images into the libvirt image cache via RBD
This change allows compute hosts to quickly download and cache images on the
local compute host directly from Ceph rather than slow dowloads from the
Glance API.

New '[glance]/enable_rbd_download' option is introduced to enable this
behavior. This is slight change compared to the original idea described in
the relevant blueprint where it was discussed to use (now obsolete)
'[glance]/allowed_direct_url_schemes' option.

Additionally, when an image signature verification is requested, it should
be done also for the image fetched by the new download handler. This was
completely missing so far.

New '[glance]/rbd_{user,pool,ceph_conf,connect_timeout}' configurables
are introduced to allow operators to configure access to the cluster
hosting Glance without the need to use the existing '[libvirt]'
specific configurables. nova.storage.rbd_utils.RBDDriver has also been
modified to accept these but continues to default to the '[libvirt]'
specific configurables for now.

Change-Id: I3032bbe6bd2d6acc9ba0f0cac4d00ed4b4464ceb
Implements: blueprint nova-image-download-via-rbd
2020-08-31 15:14:11 +02:00
..
accelerator Delete ARQs by UUID if Cyborg ARQ bind fails. 2020-07-23 15:26:07 +08:00
api Ensure source compute is up when confirming a resize 2020-08-26 14:50:07 +01:00
cmd Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
compute Merge "Add a lock to prevent race during detach/attach of interface" 2020-08-30 12:45:01 +00:00
conductor Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
conf Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
console Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
db Merge "db: fix database migrations when name includes dash" 2020-08-25 23:29:49 +00:00
hacking Remove hacking rules for python 2/3 compatibility 2020-06-17 08:19:13 +00:00
image Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
keymgr
locale Imported Translations from Zanata 2020-04-26 07:51:21 +00:00
network Remove six.reraise 2020-08-15 07:45:49 +00:00
notifications scheduler: Request vTPM trait based on flavor or image 2020-07-16 17:54:44 +01:00
objects compute: Validate a BDMs disk_bus when provided 2020-07-29 16:05:48 +00:00
pci Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
policies Few todo fixes for API new policies 2020-08-22 09:35:29 -05:00
privsep trivial: Remove log translations 2020-05-27 09:40:47 +00:00
scheduler Merge "Remove deprecated scheduler filters" 2020-08-26 12:14:55 +00:00
servicegroup trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
storage Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
tests Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
virt Merge "QEMU/KVM: accept vmxnet3 NIC" 2020-08-30 12:55:42 +00:00
volume Remove six.reraise 2020-08-15 07:45:49 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
availability_zones.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
baserpc.py
block_device.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
cache_utils.py trivial: Remove unused 'cache_utils' APIs 2020-02-05 17:20:28 +00:00
config.py remove support of oslo.messaging 9.8.0 warning message 2020-05-07 19:54:23 +01:00
context.py Reset the cell cache for database access in Service 2020-04-08 17:48:18 +00:00
crypto.py crypto: Add support for creating, destroying vTPM secrets 2020-07-16 17:58:36 +01:00
debugger.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
exception.py api: Reject non-spawn operations for vTPM 2020-08-24 19:37:01 +01:00
exception_wrapper.py Use 'Exception.__traceback__' for versioned notifications 2020-06-08 14:38:33 +01:00
filters.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
i18n.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
loadables.py trivial: Remove dead code 2019-12-12 10:55:02 +00:00
manager.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
middleware.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
monkey_patch.py Remove eventlet hub workaround for monotonic clock 2020-05-22 16:46:37 +01:00
policy.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
profiler.py
quota.py Make quotas respect instance_list_per_project_cells 2020-05-15 17:21:29 -04:00
rpc.py Remove unnecessary wrapper 2019-05-29 17:14:13 +01:00
safe_utils.py
service.py Merge "Remove monotonic usage" 2020-08-17 15:29:46 +00:00
service_auth.py
test.py Remove six.reraise 2020-08-15 07:45:49 +00:00
utils.py api: Reject non-spawn operations for vTPM 2020-08-24 19:37:01 +01:00
version.py trivial: Remove remaining '_LE' instances 2020-05-18 16:52:20 +01:00
weights.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
wsgi.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00