(Created page with "{{admon/important | Comments and Explanations | The page source contains comments providing guidance to fill out each section. They are invisible when viewing this page. To rea...") |
(initial revision) |
||
Line 1: | Line 1: | ||
= Feature Name = | |||
OpenStack using libguestfs | |||
= Feature Name | |||
== Summary == | == Summary == | ||
Expand the operations and formats of virtual disk images supported by openstack, by using libguestfs | |||
== Owner == | == Owner == | ||
* Name: [[User:pbrady| Pádraig Brady]], [[User:rjones| Richard Jones]] | |||
* Name: [[User: | * Email: pbrady@redhat.com, rjones@redhat.com | ||
* Email: | |||
== Current status == | == Current status == | ||
* Targeted release: [ | * Targeted release: [Fedora 17] | ||
* Last updated: | * Last updated: 20 Dec 2011 | ||
* Percentage of completion: | * Percentage of completion: 100% | ||
== Detailed Description == | == Detailed Description == | ||
libguestfs supports many virtual disk formats and has support for operations like resizing and file injection, | |||
that is useful to opesntack, which is currently limited to raw or qcow images. | |||
== Benefit to Fedora == | == Benefit to Fedora == | ||
Expanding the range of virtual disk images, makes Fedora a more attractive platform for openstack development and deployment. | |||
It also aligns with RHEL 6 which doesn't support the default openstack virt image access method (qmeu-nbd) | |||
== Scope == | == Scope == | ||
The change is isolated to the openstack-nova package. | |||
== How To Test == | == How To Test == | ||
The openstack file injection logic that uses libguestfs is triggered when a VM instance is created. | |||
So the easiest thing is to follow the [[Test_Day:2011-10-20_OpenStack_Test_Day]] up to and including | |||
[[http://fedoraproject.org/wiki/QA:Testcase_launch_an_instance_on_OpenStack]] and verify that | |||
the ssh keys have been inserted. | |||
For low level testing of this specific logic one can do this: | |||
runuser -s /bin/bash nova -c "python" | |||
from nova.virt import disk | |||
def _(string): return string #To avoid gettext issues at interactive prompt | |||
disk.inject_data("/path/to/a/virtual/disk/image") | |||
Note doing the above within a VM is support, albeit slower. | |||
== User Experience == | == User Experience == | ||
There is no interface change to the the user. | |||
== Dependencies == | == Dependencies == | ||
The feature depends on libguestfs-mount which is already available. | |||
Any issues requiring updates to that package are avoided. | |||
== Contingency Plan == | == Contingency Plan == | ||
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan? This might be as simple as "None necessary, revert to previous release behaviour." Or it might not. If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy. --> | <!-- If you cannot complete your feature by the final development freeze, what is the backup plan? This might be as simple as "None necessary, revert to previous release behaviour." Or it might not. If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy. --> | ||
None necessary. | |||
== Documentation == | == Documentation == | ||
<!-- Is there upstream documentation on this feature, or notes you have written yourself? Link to that material here so other interested developers can get involved. --> | <!-- Is there upstream documentation on this feature, or notes you have written yourself? Link to that material here so other interested developers can get involved. --> | ||
There is no user visible change, hence no documentation change required. | |||
For completeness here are the 2 upstream commits: | |||
https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commit;h=f97c6652 | |||
https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commit;h=66348596 | |||
== Release Notes == | == Release Notes == | ||
<!-- The Fedora Release Notes inform end-users about what is new in the release. Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ --> | <!-- The Fedora Release Notes inform end-users about what is new in the release. Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ --> | ||
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the documentation team and shipped with the release. --> | <!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the documentation team and shipped with the release. --> | ||
* | * Openstack; Expanded support for virtual disk image formats | ||
== Comments and Discussion == | == Comments and Discussion == | ||
* See [[Talk:Features/ | * See [[Talk:Features/OpenStack_using_libguestfs]] <!-- This adds a link to the "discussion" tab associated with your page. This provides the ability to have ongoing comments or conversation without bogging down the main feature page --> | ||
Revision as of 12:33, 20 December 2011
Feature Name
OpenStack using libguestfs
Summary
Expand the operations and formats of virtual disk images supported by openstack, by using libguestfs
Owner
- Name: Pádraig Brady, Richard Jones
- Email: pbrady@redhat.com, rjones@redhat.com
Current status
- Targeted release: [Fedora 17]
- Last updated: 20 Dec 2011
- Percentage of completion: 100%
Detailed Description
libguestfs supports many virtual disk formats and has support for operations like resizing and file injection, that is useful to opesntack, which is currently limited to raw or qcow images.
Benefit to Fedora
Expanding the range of virtual disk images, makes Fedora a more attractive platform for openstack development and deployment. It also aligns with RHEL 6 which doesn't support the default openstack virt image access method (qmeu-nbd)
Scope
The change is isolated to the openstack-nova package.
How To Test
The openstack file injection logic that uses libguestfs is triggered when a VM instance is created. So the easiest thing is to follow the Test_Day:2011-10-20_OpenStack_Test_Day up to and including [[1]] and verify that the ssh keys have been inserted.
For low level testing of this specific logic one can do this:
runuser -s /bin/bash nova -c "python" from nova.virt import disk def _(string): return string #To avoid gettext issues at interactive prompt disk.inject_data("/path/to/a/virtual/disk/image")
Note doing the above within a VM is support, albeit slower.
User Experience
There is no interface change to the the user.
Dependencies
The feature depends on libguestfs-mount which is already available. Any issues requiring updates to that package are avoided.
Contingency Plan
None necessary.
Documentation
There is no user visible change, hence no documentation change required. For completeness here are the 2 upstream commits:
https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commit;h=f97c6652
https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commit;h=66348596
Release Notes
- Openstack; Expanded support for virtual disk image formats