Features/OpenStack using libguestfs

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(typos)
(move to OpenStack category)
 
(6 intermediate revisions by 4 users not shown)
Line 16: Line 16:
 
== Detailed Description ==
 
== Detailed Description ==
 
libguestfs supports many virtual disk formats and has support for operations like resizing and file injection,
 
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.
+
that is useful to openstack, 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.
 
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)
+
It also aligns with RHEL 6 which doesn't support the default openstack virt image access method (qemu-nbd)
  
 
== Scope ==
 
== Scope ==
Line 69: Line 69:
  
  
[[Category:FeaturePageIncomplete]]
+
[[Category:FeatureAcceptedF17]]
 
<!-- When your feature page is completed and ready for review -->
 
<!-- When your feature page is completed and ready for review -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 +
 +
[[Category:OpenStack]]

Latest revision as of 06:06, 25 April 2012

Contents

[edit] Feature Name

OpenStack using libguestfs

[edit] Summary

Expand the operations and formats of virtual disk images supported by openstack, by using libguestfs

[edit] Owner

[edit] Current status

  • Targeted release: [Fedora 17]
  • Last updated: 20 Dec 2011
  • Percentage of completion: 100%

[edit] Detailed Description

libguestfs supports many virtual disk formats and has support for operations like resizing and file injection, that is useful to openstack, which is currently limited to raw or qcow images.

[edit] 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 (qemu-nbd)

[edit] Scope

The change is isolated to the openstack-nova package.

[edit] 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 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 supported, albeit slower.

[edit] User Experience

There is no interface change to the the user.

[edit] Dependencies

The feature depends on libguestfs-mount which is already available. Any issues requiring updates to that package are avoided.

[edit] Contingency Plan

None necessary.

[edit] 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

[edit] Release Notes

  • Openstack; Expanded support for virtual disk image formats

[edit] Comments and Discussion