commit faeae32a7e5b2048aacb05995b294e9665d78b8e
Author: Andrew Melton <email address hidden>
Date: Thu Aug 20 11:18:33 2015 -0700
libvirt: refactor _create_domain_setup_lxc to use Image.get_model
Instead of trying to figure out what the proper ImageModel is for
the instance's image, just use the get_model function. The resulting
ImageModel will actually represent the proper ImageModel for the
instance, and downstream mounting functions will be able to make
intelligent decisions on how to mount the instance's disks.
It is not possible to use get_model for an instance booted from volume,
but we can still use LocalBlockImage in it's case because it is
simply exposed as a block device.
Reviewed: https:/ /review. openstack. org/215310 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=faeae32a7e5 b2048aacb05995b 294e9665d78b8e
Committed: https:/
Submitter: Jenkins
Branch: master
commit faeae32a7e5b204 8aacb05995b294e 9665d78b8e
Author: Andrew Melton <email address hidden>
Date: Thu Aug 20 11:18:33 2015 -0700
libvirt: refactor _create_ domain_ setup_lxc to use Image.get_model
Instead of trying to figure out what the proper ImageModel is for
the instance's image, just use the get_model function. The resulting
ImageModel will actually represent the proper ImageModel for the
instance, and downstream mounting functions will be able to make
intelligent decisions on how to mount the instance's disks.
It is not possible to use get_model for an instance booted from volume,
but we can still use LocalBlockImage in it's case because it is
simply exposed as a block device.
Partial-Bug: #1287754 64affbf6924f4a7 a4c34df4fd1
Change-Id: I0f4456731c9d6f