Index problem with keystone & %(tenant_id)s
/var/log/glance# TENANT=eb7e0c10a99446cfa14c244374549e9d keystone --token ADMIN --endpoint http://10.0.0.31:35357/v2.0/ endpoint-create --region RegionOne --service_id=4eee2c1038d842799b984479ad57c82e --publicurl='http://10.0.0.31:8776/v1/%(tenant_id)s' --internalurl='http://10.0.0.31:8776/v1/%(tenant_id)s' --adminurl='http://10.0.0.31:8776/v1/%(tenant_id)s' +-------------+----------------------------------------+ | Property | Value | +-------------+----------------------------------------+ | adminurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | id | c41bd45e11804a18a22890d052f49e91 | | internalurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | publicurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | region | RegionOne | | service_id | 4eee2c1038d842799b984479ad57c82e | +-------------+----------------------------------------+
If I have understood right where it outputs %(tenant_id)s it should be giving eb7e0c10a99446cfa14c244374549e9d but it aint... Same happens
:/var/log/glance# keystone --token ADMIN --endpoint http://10.0.0.31:35357/v2.0/ endpoint-create --region RegionOne --service_id=4eee2c1038d842799b984479ad57c82e --publicurl='http://10.0.0.31:8776/v1/%(tenant_id)s' --internalurl='http://10.0.0.31:8776/v1/%(tenant_id)s' --adminurl='http://10.0.0.31:8776/v1/%(tenant_id)s' +-------------+----------------------------------------+ | Property | Value | +-------------+----------------------------------------+ | adminurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | id | caf45ea4f98044e4855d24a6482cb541 | | internalurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | publicurl | http://10.0.0.31:8776/v1/%25(tenant_id)s (http://10.0.0.31:8776/v1/%(tenant_id)s) | | region | RegionOne | | service_id | 4eee2c1038d842799b984479ad57c82e | +-------------+----------------------------------------+
Where I think out put should be like http://10.0.0.31/v1/ (tenant_id)s without % marks, but still they are there? So what is wrong with --publicurl='http://10.0.0.31:8776/v1/%(tenant_id)s' syntax? I'm using ubuntu 12.04
Same is happening here:
keystone --token 012345SECRET99TOKEN012345 \ --endpoint http://192.168.206.130:35357/v2.0/ \ endpoint-create \ --region RegionOne \ --service_id=272efad2d1234376cbb911c1e5a5a6ed \ --publicurl 'http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s' \ --adminurl 'http://127.0.0.1:8080/' \ --internalurl 'http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s'
-->
+-------------+---------------------------------------------+ | Property | Value | +-------------+---------------------------------------------+ | adminurl | http://127.0.0.1:8080/ | | id | 7cec7bd0a47c4526b8d0031962272675 | | internalurl | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | | publicurl | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | | region | RegionOne | | service_id | 5fcbeb555b704f849452e188b0b00cec | +-------------+---------------------------------------------+