Comment 2 for bug 975262

Revision history for this message
Philippe Berthault (philippe-berthault-deactivatedaccount) wrote : Re: glance add-image aborts with a 404 error

There is the same error with the --silent-upload option.

For the information, it seems the problem come from the interaction between glance and keystone.
Without using keystone, the glance add is OK.

Here my keystone configuration:

# keystone service-list
+----------------------------------+----------+----------+-------------+
| id | name | type | description |
+----------------------------------+----------+----------+-------------+
| 0cf014d3fbd14a76b73a81476dc50429 | glance | image | None |
| 365f125d787b4ce0af30c076fbc21d2d | nova | compute | None |
| 8a519cc5b2a14b3f968408c6e8bc7cdc | ec2 | ec2 | None |
| d7446c41e59d4253854b7a20c56a85c0 | keystone | identity | None |
| e0a71931f3cc43e195e8abcfa6440e25 | volume | image | None |
+----------------------------------+----------+----------+-------------+

# keystone endpoint-list
+----------------------------------+---------+-----------------------------------------+-----------------------------------------+-----------------------------------------+
| id | region | publicurl | internalurl | adminurl |
+----------------------------------+---------+-----------------------------------------+-----------------------------------------+-----------------------------------------+
| 23c36f42259b46758161f91545aa866a | region1 | http://172.31.70.87:35357/v2.0 | http://172.31.70.87:35357/v2.0 | http://172.31.70.87:5000/v2.0 |
| 2914155a94ec4ffaa5325be81642d27f | region1 | http://172.31.70.87:9292/v1 | http://172.31.70.87:9292/v1 | http://172.31.70.87:9292/v1 |
| 5f7ae291f38a4fb0a4963c5ff2d9c5f2 | region1 | http://172.31.70.87:8773/services/Cloud | http://172.31.70.87:8773/services/Cloud | http://172.31.70.87:8773/services/Admin |
| e979d46f0e2c497b82e74b141ba939b4 | region1 | http://172.31.70.87:8776/v1 | http://172.31.70.87:8776/v1 | http://172.31.70.87:8776/v1 |
| f46bc014cfb74e8ba805d023bb545196 | region1 | http://172.31.70.87:8774/v2 | http://172.31.70.87:8774/v2 | http://172.31.70.87:8774/v2 |
+----------------------------------+---------+-----------------------------------------+-----------------------------------------+-----------------------------------------+