Hi all,

We (Citrix) are working on Nova-Glance integration for XenAPI, under the 
bexar-xenapi-support-for-glance<https://blueprints.launchpad.net/nova/+spec/bexar-xenapi-support-for-glance>
 blueprint, but I see that something similar has just been merged as part of 
Rick Harris' 
xenapi_snapshots_first_cut<https://code.launchpad.net/~rconradharris/nova/xenapi_snapshots_first_cut>
 branch for the 
xs-snapshots<https://blueprints.launchpad.net/nova/+spec/xs-snapshots> 
blueprint.  We need to get our design ideas lined up, otherwise we're just 
wasting time both trying to do the same thing at the same time.

Firstly, I see that Rick's added a 'glance' XenServer plugin, following what I 
did with the 'objectstore' plugin.  Obviously it was reasonable to copy what 
was there already, but I now think that this was a mistake on my part, and that 
the streaming should be done inside nova-compute, rather than in a xapi plugin. 
 The only thing that we should be using the plugin for should be placing the 
external kernel/ramdisk, if present - everything else can be done with direct 
XenAPI calls, and doesn't need a plugin.  With that in mind, Sateesh is working 
on putting the Glance client code inside Nova.  Is there any particular reason 
that you _need_ the code inside a plugin for xs-snapshots, or will it be OK if 
we move it?

Assuming that that's OK, where should this code go?  There's discussion on the 
xenapi_snapshots_first_cut merge about ImageService, and how long it's going to 
be around.  I agree that Glance in the long term becomes the image service 
abstraction, so I expect that the Glance client code would be in or near 
nova.virt.xenapi, but I haven't looked closely, so I'm open to other 
suggestions.  Is there anywhere else that it should go?

I was also expecting Sateesh to implement the Glance authentication, once Jay 
is finished with 
middleware-authentication<https://blueprints.launchpad.net/glance/+spec/middleware-authentication>.
  Was anyone else expecting to do this?

Finally, we're expecting to follow the same model for ESX-Glance integration as 
we do for XS-Glance integration, and we're expecting to do that work at Citrix 
too.   I presume that that's OK with everyone.

Thanks,

Ewan.

_______________________________________________
Mailing list: https://launchpad.net/~openstack-xenapi
Post to     : openstack-xenapi@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-xenapi
More help   : https://help.launchpad.net/ListHelp

Reply via email to