Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.