openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17173
Re: instance + shutdown state
I would have a look at the VM console for the image during the boot process to see what is happening.
What you might find is that it is failing to boot (for some reason) then shutting down the instance because of the boot failure.
Where did you get that Ubuntu image?
Thanks,
John
From: openstack-bounces+john.garbutt=citrix.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+john.garbutt=citrix.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Afef MDHAFFAR
Sent: Wednesday, October 3, 2012 9:49 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] instance + shutdown state
Hi all,
I installed openstack on ubuntu 12.04 (with XCP). I created an ubuntu image (Raw).
When I try to launch an instance, while using the ubuntu image, I get the state "shutdown" for the instance.
Rebooting the instance does not solve the problem, because the instance is still unavailable.
My log file shows this error:
----------------------------
2012-10-03 20:19:31 ERROR nova.manager [-] Error during ComputeManager._poll_bandwidth_usage: 'module' object has no attribute 'fetch_bandwidth'
2012-10-03 20:19:31 TRACE nova.manager Traceback (most recent call last):
2012-10-03 20:19:31 TRACE nova.manager File "/opt/stack/nova/nova/manager.py", line 175, in periodic_tasks
2012-10-03 20:19:31 TRACE nova.manager task(self, context)
2012-10-03 20:19:31 TRACE nova.manager File "/opt/stack/nova/nova/compute/manager.py", line 2543, in _poll_bandwidth_usage
2012-10-03 20:19:31 TRACE nova.manager bw_counters = self.driver.get_all_bw_counters(instances)
2012-10-03 20:19:31 TRACE nova.manager File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 313, in get_all_bw_counters
2012-10-03 20:19:31 TRACE nova.manager all_counters = self._vmops.get_all_bw_counters()
2012-10-03 20:19:31 TRACE nova.manager File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1221, in get_all_bw_counters
2012-10-03 20:19:31 TRACE nova.manager counters = vm_utils.fetch_bandwidth(self._session)
2012-10-03 20:19:31 TRACE nova.manager AttributeError: 'module' object has no attribute 'fetch_bandwidth'
2012-10-03 20:19:31 TRACE nova.manager
-------------------------------
Would you please help me to fix this problem?
Thank you,
Afef
References