Jump to: navigation, search

Difference between revisions of "GlanceSupportForXS"

 
m (Text replace - "NovaSpec" to "NovaSpec")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
 
* '''Launchpad Entry''': [[NovaSpec]]:bexar-glance-support-xenserver
+
* '''Launchpad Entry''': NovaSpec:bexar-xenapi-support-for-glance
 
* '''Created''': 16 November 2010
 
* '''Created''': 16 November 2010
 
* '''Contributors''': Zhixue Wu
 
* '''Contributors''': Zhixue Wu
  
 
== Summary ==
 
== Summary ==
 +
 +
This specification covers Nova support for [[XenServer]] and XCP through XenAPI. Note that this does not imply support for other Xen-based platforms such as those shipped with RHEL 5 or SUSE.
 +
 +
Glossary:
 +
 +
      [[XenServer]]: Commercial, supported product from Citrix
 +
 +
      Xen Cloud Platform (XCP): Open-source equivalent of [[XenServer]] (and the development project for the toolstack). Everything said about [[XenServer]] below applies equally to XCP
 +
 +
      XenAPI: The management API exposed by [[XenServer]] and XCP
 +
 +
      xapi: The primary daemon on [[XenServer]] and Xen Cloud Platform; the one that exposes the XenAPI
 +
 
== Release Note ==
 
== Release Note ==
This section should include a paragraph describing the end-user impact of this change. It is meant to be included in the release notes of the first release in which it is implemented.  (Not all of these will actually be included in the release notes, at the release manager's discretion; but writing them is a useful exercise.)
+
By implementing XenAPI support for Glance, XenAPI can pull out images from Glance. It will enable users to use Swift, or any other object stores supported by Glance, for storing their images to be used by compute nodes using Xen.
  
It is mandatory.
+
== Rationale ==
 +
Glance provides an image registration and discovery service (Parallax) and an image delivery service (Teller). These services are used in conjunction by Nova to deliver images from object stores, such as Swift service, to Nova’s compute nodes.
 +
 
 +
Currently, XenAPI fetches images from the [[OpenStack]] local object store. This implementation will enable XenAPI to use Glance services to fetch images registered in Swift, or other object stores supported by Glance.
  
== Rationale ==
 
 
== User stories ==
 
== User stories ==
 +
Xen users could take advantage of Glance to register and manager their images.
 +
 
== Assumptions ==
 
== Assumptions ==
 +
Glance integration with Nova in Bexar
 +
 
== Design ==
 
== Design ==
You can have subsections that better describe specific parts of the issue.
+
virt.xenapi and its plugin are self contained. The new implementation only needs to ensure to connect to the Glance services and use their API to fetch images.
  
 
== Implementation ==
 
== Implementation ==
This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:
+
Rework virt.xenapi and the XenAPI plugin for fetching images.
  
 
=== UI Changes ===
 
=== UI Changes ===
Should cover changes required to the UI, or specific UI that is required to implement this
+
There should be no visible changes to the end users.
  
 
=== Code Changes ===
 
=== Code Changes ===
Code changes should include an overview of what needs to change, and in some cases even the specific details.
+
Code changes should be isolated to xenapi component in the virt module and XenAPI plugin for fetching images.
  
 
=== Migration ===
 
=== Migration ===
Include:
+
Migration once when the implementation nears beta.
  
* data migration, if any
+
The only change for users is that they could register their images to Swift when Glance is integrated with Nova.
* redirects from old URLs to new ones, if any
 
* how users will be pointed to the new way of doing things, if necessary.
 
  
 
== Test/Demo Plan ==
 
== Test/Demo Plan ==
This need not be added or completed until the specification is nearing beta.
+
Unit tests will be provided as code is developed.  
  
 
== Unresolved issues ==
 
== Unresolved issues ==
This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.
+
None.
 
 
== BoF agenda and discussion ==
 
Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.
 
 
 
----
 
[[Category:Spec]]
 

Latest revision as of 23:31, 17 February 2013

  • Launchpad Entry: NovaSpec:bexar-xenapi-support-for-glance
  • Created: 16 November 2010
  • Contributors: Zhixue Wu

Summary

This specification covers Nova support for XenServer and XCP through XenAPI. Note that this does not imply support for other Xen-based platforms such as those shipped with RHEL 5 or SUSE.

Glossary:

     XenServer: Commercial, supported product from Citrix
     Xen Cloud Platform (XCP): Open-source equivalent of XenServer (and the development project for the toolstack). Everything said about XenServer below applies equally to XCP
     XenAPI: The management API exposed by XenServer and XCP
     xapi: The primary daemon on XenServer and Xen Cloud Platform; the one that exposes the XenAPI

Release Note

By implementing XenAPI support for Glance, XenAPI can pull out images from Glance. It will enable users to use Swift, or any other object stores supported by Glance, for storing their images to be used by compute nodes using Xen.

Rationale

Glance provides an image registration and discovery service (Parallax) and an image delivery service (Teller). These services are used in conjunction by Nova to deliver images from object stores, such as Swift service, to Nova’s compute nodes.

Currently, XenAPI fetches images from the OpenStack local object store. This implementation will enable XenAPI to use Glance services to fetch images registered in Swift, or other object stores supported by Glance.

User stories

Xen users could take advantage of Glance to register and manager their images.

Assumptions

Glance integration with Nova in Bexar

Design

virt.xenapi and its plugin are self contained. The new implementation only needs to ensure to connect to the Glance services and use their API to fetch images.

Implementation

Rework virt.xenapi and the XenAPI plugin for fetching images.

UI Changes

There should be no visible changes to the end users.

Code Changes

Code changes should be isolated to xenapi component in the virt module and XenAPI plugin for fetching images.

Migration

Migration once when the implementation nears beta.

The only change for users is that they could register their images to Swift when Glance is integrated with Nova.

Test/Demo Plan

Unit tests will be provided as code is developed.

Unresolved issues

None.