Ask Your Question
0

euca-run-instances ami-00000003 -k mykey -t m1.tiny error

asked 2011-08-17 07:32:24 -0500

wonder-zou gravatar image

hi : i am now install the openstack on ubuntu 11.04 , but i come across a problem:

#euca-run-instances ami-00000003 -k mykey -t m1.tiny ApiError: Image must be available

2011-08-17 15:17:10,455 AUDIT nova.api [f0df5eb6-d43c-449f-8f81-96ad81395fc5 vpsee mycloud] Authenticated Request For vpsee:mycloud) 2011-08-17 15:17:10,455 DEBUG nova.api [-] action: RunInstances from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:217 2011-08-17 15:17:10,456 DEBUG nova.api [-] arg: ImageId val: ami-00000003 from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:219 2011-08-17 15:17:10,456 DEBUG nova.api [-] arg: KeyName val: mykey from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:219 2011-08-17 15:17:10,456 DEBUG nova.api [-] arg: MaxCount val: 1 from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:219 2011-08-17 15:17:10,456 DEBUG nova.api [-] arg: MinCount val: 1 from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:219 2011-08-17 15:17:10,456 DEBUG nova.api [-] arg: InstanceType val: m1.tiny from (pid=4680) __call__ /usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py:219 2011-08-17 15:17:10,476 ERROR nova.api [f0df5eb6-d43c-449f-8f81-96ad81395fc5 vpsee mycloud] ApiError raised: Image must be available (nova.api): TRACE: Traceback (most recent call last): (nova.api): TRACE: File "/usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py", line 325, in __call__ (nova.api): TRACE: result = api_request.invoke(context) (nova.api): TRACE: File "/usr/lib/pymodules/python2.7/nova/api/ec2/apirequest.py", line 78, in invoke (nova.api): TRACE: result = method(context, **args) (nova.api): TRACE: File "/usr/lib/pymodules/python2.7/nova/api/ec2/cloud.py", line 1328, in run_instances (nova.api): TRACE: raise exception.ApiError(_('Image must be available')) (nova.api): TRACE: ApiError: Image must be available (nova.api): TRACE: 2011-08-17 15:17:10,477 ERROR nova.api [f0df5eb6-d43c-449f-8f81-96ad81395fc5 vpsee mycloud] ApiError: Image must be available 2011-08-17 15:17:10,477 INFO nova.api [f0df5eb6-d43c-449f-8f81-96ad81395fc5 vpsee mycloud] 0.47101s 10.144.xxx.xxx POST /services/Cloud/ CloudController:RunInstances 400 [Boto/1.9b (linux2)] application/x-www-form-urlencoded text/xml

root@tiger-desktop:/etc/nova# euca-describe-images IMAGE ami-00000003 mybucket/machine.manifest.xml downloading private x86_64 machine aki-00000001 ari-00000002 instance-store IMAGE ari-00000002 mybucket/ramdisk.manifest.xml available private x86_64 ramdisk instance-store IMAGE aki-00000001 mybucket/kernel.manifest.xml available private x86_64 kernel instance-store

i searched without any useful information. hope someone give me a hand?

thanks in advance

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2011-08-18 01:56:22 -0500

wonder-zou gravatar image

HI Brian: thank you for the reply.

i resolved this by modprobe kvm ; and restart the nova-compute process. now the state is available.

thank you agian:)

edit flag offensive delete link more
0

answered 2011-08-17 13:22:35 -0500

blamar gravatar image

IMAGE ami-00000003 mybucket/machine.manifest.xml downloading private x86_64 machine aki-00000001 ari-00000002 instance-store

This says that this image is in a "downloading" state. It must be "available" before you'll be able to make an instance. Unfortunately I can't give you any more information on why it's downloading (if it's been in that state for a long while something might be wrong).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-17 07:32:24 -0500

Seen: 11 times

Last updated: Aug 18 '11