Comment 11 for bug 1222847

Revision history for this message
Bob Ball (bob-ball) wrote : Re: xenapi: Fetched VDIs of type 'root' with a wrong UUID

GlanceStore.download_image calls through to dom0 with the "glance" plugin, method "download_vhd".

This method will pull down the VHDs and rename them - which _SHOULD_ mean that the SR detects them with the correct UUID.

In this case, it does not, because there is a bug in the FFS SR which means that even when you have a correctly formatted UUID for the VHD name it will pick a new ID when introducing to XAPI.

The only way to do this with the current release is to use an EXT SR, so create a large file, loop-back mount it, and introduce it as an SR to XenServer - or if you have a spare block device, just use that / set up a new LV for it. Some of the instructions you'd need are in http://support.citrix.com/article/ctx116324 - don't delete the original SR, just create a new one and set it to the pool default.

I've also asked for this bug in FFS to be fixed - see https://github.com/xapi-project/xenserver-core/issues/243

OpenStack can also be fixed, but this is a slightly bigger task -