diff options
author | Ewan Mellor <ewan.mellor@citrix.com> | 2011-01-18 21:19:10 +0000 |
---|---|---|
committer | Tarmac <> | 2011-01-18 21:19:10 +0000 |
commit | 5b496ed35c53869623e4a968ab9d310089f3bfb2 (patch) | |
tree | 02ed29d4075ef496ce305143886e3ae12f50e46a /nova/exception.py | |
parent | 6421a47cc71c4dfb5c93be2b48f202aebeb1c5a7 (diff) | |
parent | e8a8b14e6b4604633313ab083821f43ba9b8a64c (diff) | |
download | nova-5b496ed35c53869623e4a968ab9d310089f3bfb2.tar.gz nova-5b496ed35c53869623e4a968ab9d310089f3bfb2.tar.xz nova-5b496ed35c53869623e4a968ab9d310089f3bfb2.zip |
Implement support for streaming images from Glance when using the XenAPI virtualization backend, as per the bexar-xenapi-support-for-glance blueprint.
Images may be streamed raw, or will be streamed into the right place to allow room for an MBR and partition table, if using non-raw images. PV vs HVM detection now occurs on the image, immediately after it has been streamed. External kernel / ramdisk are also supported in this mode.
Unit test changes include a partial Glance simulator, which is stubbed in place of glance.client.Client. This allows us to pass through the VM spawn path with either glance or objectstore backends enabled; the unit tests now cover both. A dependency upon glance has been added to pip-requires, in order to pull the Glance client code into the venv.
This includes minor fixes to nova.image.glance. This code is expected to be heavily reworked anyway with the image-service-use-glance-clients work.
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions