Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nice one. Forgot to add the relevent roles:

https://github.com/cloudbuilders/devstack/pull/116

That fixes it.

Vish On Oct 28, 2011, at 7:55 AM, Yun Mao wrote:

Question #176014 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/176014

Yun Mao posted a new comment: Unfortunately in the devstack scripted installation, it only works for euca-describe-instances, euca-describe-images, at least for me.

When I tried euca-run-instances, the error is: $ euca-run-instances ami-00000004 Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error None: None

The log on the nova-api daemon looks like this: 2011-10-27 18:29:22,288 DEBUG nova [-] HTTP PERF: 0.01362 seconds to GET 127.0.0.1:35357 /v2.0/tokens/bd9c6abd-eeb4-4ba9-b49e-7aafe790ef9c) from (pid=2774) getresponse /opt/stack/keystone/keystone/common/bufferedhttp.py:99 2011-10-27 18:29:22,301 DEBUG nova [-] HTTP PERF: 0.01282 seconds to GET 127.0.0.1:35357 /v2.0/tokens/bd9c6abd-eeb4-4ba9-b49e-7aafe790ef9c) from (pid=2774) getresponse /opt/stack/keystone/keystone/common/bufferedhttp.py:99 2011-10-27 18:29:22,302 DEBUG nova.api [-] action: RunInstances from (pid=2774) __call__ /opt/stack/nova/nova/api/ec2/__init__.py:240 2011-10-27 18:29:22,302 DEBUG nova.api [-] arg: ImageId val: ami-0000000 from (pid=2774) __call__ /opt/stack/nova/nova/api/ec2/__init__.py:242 2011-10-27 18:29:22,303 DEBUG nova.api [-] arg: MaxCount val: 1 from (pid=2774) __call__ /opt/stack/nova/nova/api/ec2/__init__.py:242 2011-10-27 18:29:22,303 DEBUG nova.api [-] arg: MinCount val: 1 from (pid=2774) __call__ /opt/stack/nova/nova/api/ec2/__init__.py:242 2011-10-27 18:29:22,303 DEBUG nova.api [-] arg: InstanceType val: m1.small from (pid=2774) __call__ /opt/stack/nova/nova/api/ec2/__init__.py:242 2011-10-27 18:29:22,303 AUDIT nova.api [4f056dc4-6515-4bd0-bd09-0c1584b9fc39 demo 2] Unauthorized request for controller=CloudController and action=RunInstances 2011-10-27 18:29:22,304 INFO nova.api [4f056dc4-6515-4bd0-bd09-0c1584b9fc39 demo 2] 0.60822s 127.0.0.1 POST /services/Cloud/ CloudController:RunInstances 401 [Boto/2.0 (linux2)] application/x-www-form-urlencoded text/plain

-- You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).