- From: Cooper Simmons <
>
- To:
- Subject: [chef] how to auth knife openstack with rackspace openstack
- Date: Wed, 30 May 2012 23:15:29 -0500
Hello all.
I'm tripped up on the authentication piece and I'm not sure what auth items these refer to:
knife[:openstack_access_key_id]
knife[:openstack_secret_access_key]
knife[:openstack_api_endpoint]
I've excerpted what I thought was relevant, and changed the names to protect the innocent.
{
"endpoints": [
{
"region": "DFW",
"tenantId": "123456",
"versionId": "2",
}
],
"name": "cloudServersOpenStack",
"type": "compute"
}
"token": {
"expires": "2012-05-31T21:18:57.000-05:00",
"id": "fe8a9999-999a-99b1-9abc-99e9cd95682c",
"tenant": {
"id": "id9999",
"name": "name99"
}
},
"user": {
"id": "654321",
"name": "myname",
"roles": [
{
"description": "User Admin Role.",
"id": "3",
"name": "identity:user-admin"
}
]
}
This is the data I think is relevant but I've tried various combinations of these and always get:
ERROR: Excon::Errors::Unauthorized: Expected(200) <=> Actual(401 Unauthorized)
I'm assuming
I was also assuming openstack_secret_access_key is my API key which is not listed above.
Any info appreciated.
Thanks!
- [chef] how to auth knife openstack with rackspace openstack, Cooper Simmons, 05/30/2012
Archive powered by MHonArc 2.6.16.