Failure to communicate with Glance server stores empty files in /var/lib/nova/instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have two nodes, one running nova-api, nova-network, nova-volume, nova-compute and glance, the second is just running nova-compute. The nodes are running Ubuntu 11.04 server and I've installed from the ppa.launchpad repository, additionally both nodes use the KVM hypervisor, and kvm-ok returns that vitrualization (sp) is enabled in their bios. On the master node, I can start instances and they run just fine, but when a vm is scheduled on the second node, I receive the following errors:
2011-07-11 08:53:38,013 INFO nova.virt.
2011-07-11 08:53:38,034 DEBUG nova.utils [-] Attempting to grab semaphore "00000001" for method "call_if_not_exists
"... from (pid=6846) inner /usr/lib/
2011-07-11 08:53:38,036 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: block_device_
(nova.exception): TRACE: File "/usr/lib/
e_image
(nova.exception): TRACE: project=project)
(nova.exception): TRACE: File "/usr/lib/
_image
(nova.exception): TRACE: call_if_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: retval = f(*args, **kwargs)
(nova.exception): TRACE: File "/usr/lib/
f_not_exists
(nova.exception): TRACE: fn(target=base, *args, **kwargs)
(nova.exception): TRACE: File "/usr/lib/
_image
(nova.exception): TRACE: images.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: metadata = image_service.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: image_meta, image_chunks = self.client.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: res = self.do_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: headers, params)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: "server. Got error: %s" % e)
(nova.exception): TRACE: ClientConnectio
(nova.exception): TRACE:
2011-07-11 08:53:38,037 ERROR nova.compute.
he BIOS? Details: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED
Looking in /var/lib/
The nodes have dual nics attached to a public 172.16.0.0/16 and a private 10.0.0.0/8 netowrk and i was using http://
/etc/nova/
# RabbitMQ
--rabbit_
# MySQL
--sql_connectio
# Networking
--network_
--vlan_
--public_
--network_
--routing_
--fixed_
--network_size=1024
--dhcpbridge_
--dhcpbridge=
# Virtualization
--libvirt_type=kvm
# Volumes
--iscsi_
--num_targets=100
# APIs
--auth_
--cc_host=
--ec2_url=http://
--s3_host=
--s3_dmz=
# Image service
--glance_
--image_
# Misc
--logdir=
--state_
--lock_
--verbose
# VNC Console
--vnc_enabled=true
--vncproxy_url=http://
--vnc_console_
Hi! Can you paste your glance configs please. Also, what does this return:
curl http:// 172.16. 1.13/
return?
Cheers,
jay