Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, in case of using token - you need to specify service URL, because Keystone service catalog is bypassed So you need to use --os-url <url> where URL is corresponding to OpenStack service you are using, that you can see using 'openstack catalog list'

(edited) Hi, in case of using token - you need to specify service URL, because Keystone service catalog is bypassed So you need to use --os-url <url> where URL is corresponding to OpenStack service you are using, that you can see using 'openstack catalog list'

list' I think you tried that in what you specified in 1., but I have tried on my system and it works

[stack@localhost ~(keystone_admin)]$ export OS_URL=http://10.0.2.7:9292 [stack@localhost ~(keystone_admin)]$ export OS_TOKEN=12485c18a5ff47b487acc05e772e7985 [stack@localhost ~(keystone_admin)]$ unset OS_PASSWORD [stack@localhost ~(keystone_admin)]$ openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | 7d4ea035-52c5-4b61-b8cb-9c672afa4dc8 | cirros | active | +--------------------------------------+--------+--------+

Maybe you can unset some variables for try ;) - it should

  1. It sounds suspicious that you tried /v3 (=Keystone API v3), while in other cases you try /v2 (openstack --os-auth-url http://X.X.237.59:5000/v3/) I think that is scenario of scoped token, but you can can have an unscoped one by using https://bugs.launchpad.net/python-openstackclient/+bug/1543214 (and well, keystone token issue should work for you)

BR, Konstantin