[Openstack-operators] Visibility issues using puppet keystone v3

Ptacek, MichalX michalx.ptacek at intel.com
Fri Feb 19 10:43:56 UTC 2016


Hi,

I have some issues on keystone (v3) installed from puppet module,
some records from keystone db are not visible through openstack cli, like admin user below created by:
/bin/openstack user create --format shell admin --enable --password a_big_secret --email test at example.tld --domain Default

I can see it in keystone db directly or via curl,

[root at charon ~]# curl -si -H"X-Auth-Token:$TOKEN" -H "Content-type: application/json" http://localhost:35357/v3/users<http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers>
HTTP/1.1 200 OK
Vary: X-Auth-Token
Content-Type: application/json
Content-Length: 315
Date: Fri, 19 Feb 2016 10:36:32 GMT

{"users": [{"name": "admin", "links": {"self": "http://localhost:35357/v3/users/598652ccea444b99bbe2133204fa1fb4<http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers%2F598652ccea444b99bbe2133204fa1fb4>"}, "domain_id": "default", "enabled": true, "email": "test at example.tld", "id": "598652ccea444b99bbe2133204fa1fb4"}], "links": {"self": "http://localhost:35357/v3/users<http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers>", "previous": null, "next": null}}

but for some reason I can't see it from python-openstackclient

export OS_IDENTITY_API_VERSION=3
export OS_AUTH_URL=http://127.0.0.1:35357/v3<http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2F127%2E0%2E0%2E1%3A35357%2Fv3>
export OS_DEFAULT_DOMAIN=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
export OS_USERNAME=admin
export OS_PASSWORD=a_big_secret
export OS_PROJECT_NAME=admin


root at charon ~]# openstack user list --debug
...........................................
INFO: openstackclient.common.clientmanager Using auth plugin: v3password
INFO: openstackclient.shell command: openstackclient.identity.v3.user.ListUser
DEBUG: openstackclient.identity.v3.user.ListUser take_action(Namespace(columns=[], domain=None, formatter='table', group=None, long=False, max_width=0, quote_mode='nonnumeric'))
DEBUG: openstackclient.identity.client Instantiating identity client: <class 'keystoneclient.v3.client.Client'>
DEBUG: openstackclient.identity.client Using auth plugin: None
DEBUG: keystoneclient.auth.identity.v3 Making authentication request to http://127.0.0.1:35357/v3/auth/tokens<http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2F127%2E0%2E0%2E1%3A35357%2Fv3%2Fauth%2Ftokens>
INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1
DEBUG: requests.packages.urllib3.connectionpool "POST /v3/auth/tokens HTTP/1.1" 201 504
ERROR: openstack The service catalog is empty.


can someone please suggest what am I doing wrong ?

Thanks,
Michal
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160219/2a501c4b/attachment.html>


More information about the OpenStack-operators mailing list