XenServer, Glance and VHD image
I use Nova revision 1186 on Ubuntu 10.04 with hypervisor XenServer 5.6.
I set Glance (r139) to image service.
When I use a RAW disk format image, I can run instance from this image (fetching is ok).
But If upload a VHD disk format image on Glance, I cannot start instance from this image.
Compute log says :
2011-06-16 17:19:42,014 AUDIT nova.compute.
2011-06-16 17:19:42,246 DEBUG nova.rpc [-] Making asynchronous call on network.p-hs22-12 ... from (pid=29274) multicall /usr/lib/
.py:475
2011-06-16 17:19:42,247 DEBUG nova.rpc [-] MSG_ID is 149c7082d7ca46c
2011-06-16 17:19:42,701 DEBUG nova.xenapi_net [-] ENTERING ensure_vlan_bridge in xenapi net from (pid=29274) ensure_vlan_bridge /usr/lib/
nova/network/
2011-06-16 17:19:43,374 DEBUG nova.virt.
dules/python2.
2011-06-16 17:19:43,375 DEBUG nova.virt.
hon2.6/
It blocks on "_fetch_
And on the XenServer, I can see the plugin 'glance' blocked :
<XenServer># ps -fe | grep glance
root 30802 30800 0 17:19 ? 00:00:00 python /etc/xapi.
And in Glance log, I can see the GET command for my image (id 39) :
2011-06-16 12:48:36 DEBUG [glance.
2011-06-16 12:48:36 DEBUG [glance.
2011-06-16 12:48:36 DEBUG [routes.middleware] Matched HEAD /images/39
2011-06-16 12:48:36 DEBUG [routes.middleware] Route path: '/images/{id}', defaults: {'action': u'meta', 'controller': <glance.
2011-06-16 12:48:36 DEBUG [routes.middleware] Match dict: {'action': u'meta', 'controller': <glance.
2011-06-16 12:48:36 DEBUG [eventlet.
2011-06-16 12:48:37 DEBUG [glance.
2011-06-16 12:48:37 DEBUG [glance.
2011-06-16 12:48:37 DEBUG [routes.middleware] Matched GET /images/39
2011-06-16 12:48:37 DEBUG [routes.middleware] Route path: '/images/:(id)', defaults: {'action': u'show', 'controller': <glance.
2011-06-16 12:48:37 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <glance.
2011-06-16 12:48:37 DEBUG [glance.
I waited long time, but nothing happen.
If I kill the 'glance' process plugin on the XenServer, I can see this log (reset cconnection from client) in Glance:
2011-06-16 17:51:57 DEBUG [eventlet.
File "/usr/lib/
write(
File "/usr/lib/
_writelines
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
File "/usr/lib/
tail = self.send(data, flags)
File "/usr/lib/
total_sent += fd.send(
error: [Errno 104] Connection reset by peer
2011-06-16 17:51:57 DEBUG [eventlet.
Where is my error ? What's the matter ?
Regards,
Édouard.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Édouard Thuleau
- Solved:
- Last query:
- Last reply: