Ask Your Question
0

Newbie question, Installation guide juno ubuntu, tenants not showing

asked 2015-02-05 06:58:45 -0500

Ad Beumer gravatar image

updated 2015-02-10 02:52:25 -0500

My first post on this site, so I hope I don't goof up too much. I'm completely new to OpenStack, but I thought it would be fun project to play with in my spare time.

I found an abandoned server on one of our racks and kinda nicked it. Put VMWare hypervisor on it, created a few machines, put Ubuntu 14.04 server on them and started installing OpenStack.

I'm following the jan 20th Juno installation guide and started building the 3-node setup (controller, network, compute1)

I've been going through the manual without any problems, but ran into a snag at the 'Verify operation' section at page 37. after unsetting OS_SERVICE_..., tenant-list only shows the admin-tenant, where it's supposed to show all three tenants.

openstack_user@controller:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

openstack_user@controller:~$ uname -or
3.13.0-44-generic GNU/Linux


openstack_user@controller:~$ unset OS_SERVICE_TOKEN
openstack_user@controller:~$ unset OS_SERVICE_ENDPOINT

openstack_user@controller:~$ keystone --os-tenant-name admin --os-username admin --os-password 'SupSecPass!' --os-auth-url http://controller:35357/v2.0 token-get
+-----------+----------------------------------+
|  Property |              Value               |
+-----------+----------------------------------+
|  expires  |       2015-02-05T10:36:03Z       |
|     id    | 3fae6db2c6b6469d9938b6741663c60a |
| tenant_id | 0c49889b611f40319af62877fd602327 |
|  user_id  | 21e4e9d4a2b841afb736ff99f5f92b33 |
+-----------+----------------------------------+

openstack_user@controller:~$ date
Thu Feb  5 10:37:59 CET 2015

openstack_user@controller:~$ keystone --os-tenant-name admin --os-username admin --os-password 'SupSecPass!' --os-auth-url http://controller:35357/v2.0 tenant-list
+----------------------------------+-------+---------+
|                id                |  name | enabled |
+----------------------------------+-------+---------+
| 0c49889b611f40319af62877fd602327 | admin |   True  |
+----------------------------------+-------+---------+

openstack_user@controller:~$ keystone --os-tenant-name admin --os-username admin --os-password 'SupSecPass!' --os-auth-url http://controller:35357/v2.0 user-list
The resource could not be found. (HTTP 404)

openstack_user@controller:~$ keystone --os-tenant-name admin --os-username admin --os-password 'SupSecPass!' --os-auth-url http://controller:35357/v2.0 role-list
The resource could not be found. (HTTP 404)

openstack_user@controller:~$ sudo tail /var/log/keystone/keystone-all.log
2015-02-05 12:17:56.743 2936 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 12:17:56] "POST /v2.0/tokens HTTP/1.1" 200 971 0.086453
2015-02-05 12:17:56.751 2938 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 12:17:56] "GET /v2.0/tenants/0c49889b611f40319af62877fd602327/users/21e4e9d4a2b841afb736ff99f5f92b33/roles HTTP/1.1" 404 252 0.011384
2015-02-05 13:28:21.483 2936 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 13:28:21] "POST /v2.0/tokens HTTP/1.1" 200 971 0.094130
2015-02-05 13:28:21.495 2938 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 13:28:21] "GET /v2.0/tenants/0c49889b611f40319af62877fd602327/users/21e4e9d4a2b841afb736ff99f5f92b33/roles HTTP/1.1" 404 252 0.014653
2015-02-05 13:30:19.179 2936 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 13:30:19] "POST /v2.0/tokens HTTP/1.1" 200 971 0.092760
2015-02-05 13:30:19.195 2938 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 13:30:19] "GET /v2.0/tenants HTTP/1.1" 200 296 0.021879
2015-02-05 13:32:14.491 2936 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Feb/2015 13:32:14] "POST /v2.0/tokens ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-12 07:10:25 -0500

Ad Beumer gravatar image

Right, I found it.

I typoed the 'keystone endpoint-create' command and made adminurl point to http://controller:5000/v2.0 instead of http://controller:35357/v2.0.. .

edit flag offensive delete link more
0

answered 2015-02-05 11:41:53 -0500

smaffulli gravatar image

I am not sure I understand the problem. The keystone commands you issued after you reset the OS-SERVICE variables seem to produce the right results. Maybe try to raise the log levels to DEBUG if you want to see more details.

edit flag offensive delete link more

Comments

Thanks for your reply. The thing is that what I see is not what I should see. If I interpret the installation guide correctly, that is. I updated my question to show more clearly what's happening

Ad Beumer gravatar imageAd Beumer ( 2015-02-10 02:56:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-05 06:58:45 -0500

Seen: 324 times

Last updated: Feb 12 '15