grizzly: direct file copy from glance

Bug #1111118 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Unassigned

Bug Description

https://review.openstack.org/#/c/19408/ introduced a new feature to nova: Directly copy a file URL from glance.

That patch allows nova to use shutil to copy a file directly from the
glance store. For this to work glance needs to enable direct_url
descriptions in the image metadata. This is done by setting
show_image_direct_url to True in glance-api.conf. The path used to back
glance also must match the path used to back nova instance storage. This
should be a large performance increase for the cases where both glance
and nova instance storage are backed by a shared file system like gluster
or ceph.

A new option has been added to nova: allowed_direct_url_schemes
This option is set to a list of schemes that can be directly accessed.
For this first simple patch only file:// is valid, and the
implementation is simple and inline. In the future it would be better
to make this into propagation modules which are dynamically loaded
according to the scheme.

62 cfg.ListOpt('allowed_direct_url_schemes',
   63 default=[],
   64 help='A list of url scheme that can be downloaded directly '
   65 'via the direct_url. Currently supported schemes: '
   66 '[file].'),
   67 ]

This new feature should be documented and the config option added to the reference

Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → grizzly
status: New → Confirmed
importance: Undecided → Medium
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.