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 | +----------------------------------+---------+-----------------------------------------+-----------------------------------------+-----------------------------------------+
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 ------- ------- ------- ------- +------ ----+-- ------- -+----- ------- -+ ------- ------- ------- ------- +------ ----+-- ------- -+----- ------- -+ 6b73a81476dc504 29 | glance | image | None | 0af30c076fbc21d 2d | nova | compute | None | f968408c6e8bc7c dc | ec2 | ec2 | None | 3854b7a20c56a85 c0 | keystone | identity | None | 195e8abcfa6440e 25 | volume | image | None | ------- ------- ------- ------- +------ ----+-- ------- -+----- ------- -+
+------
| id | name | type | description |
+------
| 0cf014d3fbd14a7
| 365f125d787b4ce
| 8a519cc5b2a14b3
| d7446c41e59d425
| e0a71931f3cc43e
+------
# keystone endpoint-list ------- ------- ------- ------- +------ ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- +------ ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+ 58161f91545aa86 6a | 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 | aa5325be81642d2 7f | region1 | http:// 172.31. 70.87:9292/ v1 | http:// 172.31. 70.87:9292/ v1 | http:// 172.31. 70.87:9292/ v1 | 0a4963c5ff2d9c5 f2 | 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 | b82e74b141ba939 b4 | region1 | http:// 172.31. 70.87:8776/ v1 | http:// 172.31. 70.87:8776/ v1 | http:// 172.31. 70.87:8776/ v1 | ba805d023bb5451 96 | region1 | http:// 172.31. 70.87:8774/ v2 | http:// 172.31. 70.87:8774/ v2 | http:// 172.31. 70.87:8774/ v2 | ------- ------- ------- ------- +------ ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ---+
+------
| id | region | publicurl | internalurl | adminurl |
+------
| 23c36f42259b467
| 2914155a94ec4ff
| 5f7ae291f38a4fb
| e979d46f0e2c497
| f46bc014cfb74e8
+------