Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you also need to specify a default tenant as the last perameter to your credentials add command -- there should be another admin at the end. On Nov 23, 2011, at 10:30 AM, Vish Ishaya wrote:

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

Status: Open => Answered

Vish Ishaya proposed the following answer: try:

export EC2_ACCESS_KEY=xyz export EC2_SECRET_KEY=PASSWORD

verify that echo $EC2_ACCESS_KEY and echo $EC2_SECRET_KEY give the proper values.

On Nov 22, 2011, at 8:50 PM, ashokkumar c wrote:

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

Status: Answered => Open

ashokkumar c is still having a problem: hi vish thank you for answering my question. I followed your answer and created a small rc but still I got some error message form the server.Let me tell you what I did

  1. I created a credential for existing user xyz by using keystone-manage $* credentials add admin EC2 'xyz' 'PASSWORD'

2.I created xyzrc with

Set the ec2 url so euca2ools works

export EC2_URL=${EC2_URL:-http://$10.10.1.2:8773/services/Cloud}

Access key is set in the initial keystone data to be the same as username

export EC2_ACCESS_KEY=${USERNAME:-xyz}

Secret key is set in the initial keystone data to the admin password

export EC2_SECRET_KEY=${ADMIN_PASSWORD:-PASSWORD}

3. In the client side I made source xyzrc and run euca-describe-availability-zones verbose

Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error EC2ResponseError: 400 Bad Request 400 Bad Request

The server could not comply with the request since it is either malformed or otherwise incorrect.

I am trying to resolve this since long time. I even tried by replacing user name and pass with admin name and pass ,it works at cloud controller but not at client node.

pl z tell me how to solve this.

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

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