fail to run instance when using Glance

Asked by van dinh phuc

Hi everyone.
I have installed successfully Nova version 2011.2 on ubuntu 10.10.I can run the instances with the --image_service flag is default.
But my instances cannot is running state when i'm playing with Glance .

More information:

Glance version
--------------------------------
$ sudo glance --version
glance 2011.3-dev
-------------------------------

nova.conf:
-----------------------------------------
--s3_host=10.2.14.210
--rabbit_host=10.2.14.210
--cc_host=10.2.14.210
--ec2_url=http://10.2.14.210:8773/services/Cloud
--fixed_range=10.0.0.0/8
--network_size=256
--FAKE_subdomain=ec2
--routing_source_ip=10.2.14.210
--sql_connection=mysql://root:nova@10.2.14.210/nova
--network_manager=nova.network.manager.FlatDHCPManager
--flat_network_dhcp_start=10.0.0.2
--public_interface=eth0
--flat_interface=eth0
--flat_injected=False
--allow_project_net_traffic=true
--user_ipv6=False
--iscsi_ip_prefix=10.
--libvirt_type=qemu
--glance_host=10.2.14.210
--image_service=nova.image.glance.GlanceImageService
--------------------------------------------------------------------------------------------------

$ euca-describe-instances
RESERVATION r-94pms0hu proj1 default
INSTANCE i-00000024 ami-00000005 10.0.0.6 10.0.0.6 shutdown k01 (proj1, ubuntu4) 0 m1.tiny 2011-07-29T08:12:58Z nova

log file : nova-compute.log
---------------------------------------------------------------------
2011-07-29 15:13:00,512 DEBUG nova.utils [-] Attempting to grab semaphore "00000003" for method "call_if_not_exists"... from (pid=28441) inner /usr/lib/pymodules/python$
2011-07-29 15:13:00,527 ERROR nova.compute.manager [-FMPAVD9DM7TG62VRFKS admin1 proj1] Instance '36' failed to spawn. Is virtualization enabled in the BIOS?
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance
(nova.compute.manager): TRACE: self.driver.spawn(instance_ref)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap
(nova.compute.manager): TRACE: return f(*args, **kw)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 616, in spawn
(nova.compute.manager): TRACE: self._create_image(instance, xml, network_info)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 841, in _create_image
(nova.compute.manager): TRACE: project=project)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 776, in _cache_image
(nova.compute.manager): TRACE: call_if_not_exists(base, fn, *args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 607, in inner
(nova.compute.manager): TRACE: retval = f(*args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 774, in call_if_not_exists
(nova.compute.manager): TRACE: fn(target=base, *args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 787, in _fetch_image
(nova.compute.manager): TRACE: images.fetch(image_id, target, user, project)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/images.py", line 51, in fetch
(nova.compute.manager): TRACE: metadata = image_service.get(elevated, image_id, image_file)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/glance.py", line 119, in get
(nova.compute.manager): TRACE: raise exception.NotFound
(nova.compute.manager): TRACE: NotFound: None
(nova.compute.manager): TRACE:
2011-07-29 15:13:26,497 INFO nova.compute.manager [-] Found instance 'instance-00000024' in DB but no VM. State=8, so setting state to shutoff.
---------------------------------------------------------------------

please , help!

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
van dinh phuc
Solved:
Last query:
Last reply:
Revision history for this message
van dinh phuc (phucvdb) said :
#1

I have tried again with ppa:glance-core/release instead of ppa:glance-core/trunk.
thanks.