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)
Even if I get a token from keystone I still get the same error...
root@openstack1 :~/images# curl -d '{"auth" :{"passwordCred entials" :{"username" : "demo", "password": "supersecret"}}}' -H "Content-type: application/json" http:// localhost: 5000/v2. 0/tokens 03T10:26: 00", "id": "27288a04- e3c9-4fc4- a985-82fd22aded 18"}, "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": "f7a3552b662b47 26bc110f1744de2 daa", "roles": [], "name": "demo"}}}
{"access": {"token": {"expires": "2012-02-
root@openstack1 :~/images# glance -A 27288a04- e3c9-4fc4- a985-82fd22aded 18 add name=imagetest2 < disk.qcow2
(same error)