Comment 1 for bug 925693

Revision history for this message
justinsb (justin-fathomdb) wrote : Re: Upload broken with Keystone unless using SERVICE_TOKEN

Even if I get a token from keystone I still get the same error...

root@openstack1:~/images# curl -d '{"auth":{"passwordCredentials":{"username": "demo", "password": "supersecret"}}}' -H "Content-type: application/json" http://localhost:5000/v2.0/tokens
{"access": {"token": {"expires": "2012-02-03T10:26:00", "id": "27288a04-e3c9-4fc4-a985-82fd22aded18"}, "serviceCatalog": [{"endpoints": [{"id": "2", "region": "RegionOne", "internalURL": "http://192.168.69.1:8773/services/Cloud", "publicURL": "http://192.168.69.1:8773/services/Cloud"}], "type": "ec2", "name": "ec2"}, {"endpoints": [{"id": "3", "region": "RegionOne", "internalURL": "http://192.168.69.1:9292/v1", "publicURL": "http://192.168.69.1:9292/v1"}], "type": "image", "name": "glance"}, {"endpoints": [{"id": "4", "region": "RegionOne", "internalURL": "http://192.168.69.1:5000/v2.0", "publicURL": "http://192.168.69.1:5000/v2.0"}], "type": "identity", "name": "keystone"}], "user": {"id": "f7a3552b662b4726bc110f1744de2daa", "roles": [], "name": "demo"}}}

root@openstack1:~/images# glance -A 27288a04-e3c9-4fc4-a985-82fd22aded18 add name=imagetest2 < disk.qcow2
(same error)