[Openstack-operators] Liberty Identity install: keystone.service not being created in DB

Christopher Hull chrishull42 at gmail.com
Sat Mar 5 22:35:48 UTC 2016


Hi all;

I'm attempting an install of Liberty on a single box and I ran into an
issue when syncing keystone.conf with the db.

Contents of keystone.conf
+-------------------+-------------+---------------------------------------------------+
| keystone: Section | Key         |
Value                                             |
+-------------------+-------------+---------------------------------------------------+
| DEFAULT           | verbose     |
True                                              |
| DEFAULT           | admin_token |
91121d2c109d7fc778e4                              |
| database          | connection  |
mysql://keystone:sleestack191@controller/keystone
|
| memcache          | servers     |
localhost:11211                                   |
| revoke            | driver      |
sql                                               |
| token             | driver      |
memcache                                          |
| token             | provider    |
uuid                                              |
+-------------------+-------------+---------------------------------------------------+

su -s /bin/sh -c "keystone-manage db_sync" keystone
No handlers could be found for logger "oslo_config.cfg"
IS this an issue somehow?  Not sure it's working.


Because later when I try to
openstack service create --name keystone --description "OpenStack Identity"
identity
An unexpected error prevented the server from fulfilling your request.
(HTTP 500) (Request-ID: req-5603ec65-3ba2-4c9b-9501-73772d6b3812)
Comes back quickly

WTF?
2016-03-05 16:42:51.695 3294 ERROR keystone.common.wsgi
[req-3059b920-d493-4142-b104-f59c955e5d37 - - - - -]
(_mysql_exceptions.ProgrammingError) (1146, "Table 'keystone.service'
doesn't exist")
[SQL: u'INSERT INTO service (id, type, enabled, extra) VALUES (%s, %s, %s,
%s)'] [parameters:
('17b77b89d54d4dad97a89afd5b779cb0', 'identity', 1, '{"description":
"OpenStack Identity", "name": "keystone"}')]

I log onto mariadb and indeed there is no keystone.service table in the
keystone db.



The only reference I could find was this.   And BTW the poster is correct.
I sure can't find a dup of the question.  And if there was one a nice
little link to it from this page sure would be the common sense thing to
do.  :-)    I don't even know how to register for an account on this site?

Anyway.  has anyone else run into this?

Chris

-------

And then, for no reason :-)   it worked???

[root at maersk src]# source os-service-create.sh
[root at maersk src]# openstack service create --name keystone --description
"OpenStack Identity" identity
+-------------+----------------------------------+
| Field       | Value                            |
+-------------+----------------------------------+
| description | OpenStack Identity               |
| enabled     | True                             |
| id          | 2f38c47f88e54e59bb8e289644b7e8cb |
| name        | keystone                         |
| type        | identity                         |
+-------------+----------------------------------+

Um  ok.   Wonder if anyone else has seen this.






- Christopher T. Hull
333 Orchard Ave, Sunnyvale CA. 94085
(415) 385 4865
chrishull42 at gmail.com
http://chrishull.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160305/b0509ac5/attachment.html>


More information about the OpenStack-operators mailing list