Ask Your Question
0

Keystone problem

asked 2016-04-04 05:46:26 -0500

penak gravatar image

I'm installing openstack with ubuntu installation guide and have some problems with verifying the installation. Get-token command works fine, but almost everything else fails because of http 404 error. I really would appriciate if someone could help.

keystone --os-tenant-name admin --os-username admin --os-password openstack --os-auth-url http:// controller:35357/v2.0 token-get Returns

+-----------+----------------------------------+
| Property | Value |
+-----------+----------------------------------+
| expires | 2016-04-04T11:29:02Z |
| id | b65b0c879ac24df191cb998aaae4577a |
| tenant_id | be3325fa865a4d23babd64bb88c0abb0 |
| user_id | fb9e2be926284cfca67a3eafdfcbe10a |

root@controller:/var/log/keystone# keystone --os-tenant-name admin --os-username admin --os-password openstack --os-auth-url http:// controller:35357/v2.0 tenant-list This returns
The resource could not be found. (HTTP 404)

Here are some keystone logs from restarting it and running those commands. The problem is probably on those 0.0.0.0 addresses, but i have no idea where they come from.

2016-04-04 13:39:06.649 3524 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin/keystone-all on 0.0.0.0:35357
2016-04-04 13:39:06.650 3524 INFO keystone.openstack.common.service [-] Starting 4 workers
2016-04-04 13:39:06.651 3524 INFO keystone.openstack.common.service [-] Started child 3528
2016-04-04 13:39:06.652 3524 INFO keystone.openstack.common.service [-] Started child 3529
2016-04-04 13:39:06.653 3528 INFO eventlet.wsgi.server [-] (3528) wsgi starting up on http:// 0.0.0.0:35357/
2016-04-04 13:39:06.654 3524 INFO keystone.openstack.common.service [-] Started child 3530
2016-04-04 13:39:06.655 3529 INFO eventlet.wsgi.server [-] (3529) wsgi starting up on http:// 0.0.0.0:35357/
2016-04-04 13:39:06.656 3524 INFO keystone.openstack.common.service [-] Started child 3531
2016-04-04 13:39:06.656 3524 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin /keystone-all on 0.0.0.0:5000
2016-04-04 13:39:06.657 3530 INFO eventlet.wsgi.server [-] (3530) wsgi starting up on http:// 0.0.0.0:35357/
2016-04-04 13:39:06.657 3524 INFO keystone.openstack.common.service [-] Starting 4 workers
2016-04-04 13:39:06.658 3531 INFO eventlet.wsgi.server [-] (3531) wsgi starting up on http:// 0.0.0.0:35357/
2016-04-04 13:39:06.658 3524 INFO keystone.openstack.common.service [-] Started child 3532
2016-04-04 13:39:06.660 3524 INFO keystone.openstack.common.service [-] Started child 3533
2016-04-04 13:39:06.661 3532 INFO eventlet.wsgi.server [-] (3532) wsgi starting up on http:// 0.0.0.0:5000/
2016-04-04 13:39:06.661 3524 INFO keystone.openstack.common.service [-] Started child 3534
2016-04-04 13:39:06.662 3533 INFO eventlet.wsgi.server [-] (3533) wsgi starting up on http:// 0.0.0.0:5000/
2016-04-04 13:39:06.663 3524 INFO keystone.openstack.common.service [-] Started child 3535
2016-04-04 13:39:06.664 3534 INFO eventlet.wsgi.server [-] (3534) wsgi starting up on http:// 0.0.0.0:5000/
2016-04-04 13:39:06.666 3535 INFO eventlet.wsgi.server [-] (3535) wsgi starting up on http:// 0.0.0.0:5000/
2016-04-04 13:40:10.301 3529 INFO passlib.registry [-] registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'="">
2016-04-04 13:40:10.469 3529 ...




















(more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-09 06:36:09 -0500

dbaxps gravatar image

That is not a problem, that is wrong syntax

[root@ip-192-169-142-127 ~]# keystone --os-tenant-name admin --os-username admin --os-password 7049f834927e4468 --os-auth-url http://192.169.142.127:35357/v2.0 --os-region-name  RegionOne tenant-list
+----------------------------------+----------+---------+
|                id                |   name   | enabled |
+----------------------------------+----------+---------+
| 130ae834c10b4f7e9a1641246086b491 |  admin   |   True  |
| a5ea577acbde4c0ea8c2f7970cb85167 |   demo   |   True  |
| 3646798541b144d78724898d74909bf3 | services |   True  |
+----------------------------------+----------+---------+

In your case --os-region-name regionOne

[root@ip-192-169-142-127 ~]# keystone --os-tenant-name admin --os-username admin --os-password 7049f834927e4468 --os-auth-url http://192.169.142.127:35357/v2.0 --os-region-name  RegionOne token-get
+-----------+----------------------------------+
|  Property |              Value               |
+-----------+----------------------------------+
|  expires  |       2016-04-09T12:31:43Z       |
|     id    | 61c23e3c9cbf4ae4bc81fa65dc478d72 |
| tenant_id | 130ae834c10b4f7e9a1641246086b491 |
|  user_id  | 0bdb3a36d50d450fbc700574926c81be |
+-----------+----------------------------------+
edit flag offensive delete link more

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: 2016-04-04 05:46:26 -0500

Seen: 298 times

Last updated: Apr 09 '16