[Openstack] 回复: keystone fail

wawayu dongjh at ahope.com.cn
Wed Dec 28 23:24:08 UTC 2016


I think the 'keystone' database should have some tables after run the db_sync tool.
------------------ Original ------------------
From: "董建华"<dongjh at ahope.com.cn>
Date: Thu, Dec 29, 2016 01:44 AM
To: "Turbo Fredriksson"<turbo at bayour.com>;
Cc: "openstack"<openstack at lists.openstack.org>;
Subject: Re: [Openstack] 回复: keystone fail


The permission looks fine, but why the database keystone is empty ?


MariaDB [mysql]> select Host,User from user where User='keystone';
+------------+----------+
| Host       | User     |
+------------+----------+
| %          | keystone |
| controller | keystone |
| localhost  | keystone |
+------------+----------+
3 rows in set (0.00 sec)



 MariaDB [mysql]>  select Host,Db,User from db where User='keystone';
+------------+----------+----------+
| Host       | Db       | User     |
+------------+----------+----------+
| localhost  | keystone | keystone |
| %          | keystone | keystone |
| controller | keystone | keystone |
+------------+----------+----------+
3 rows in set (0.00 sec)


 =========================================
董 建 华
地址:杭州滨江区南环路3766号新世纪办公楼
邮编:310053
手机:13857132818
总机:0571-28996000
传真:0571-28996001
热线:4006728686
网址:www.ahope.com.cn
Email:dongjh at ahope.com.cn


  
发&#x4EF6;人: Turbo Fredriksson
发送时间: 2016-12-29 01:35
收&#x4EF6;人: dongjh at ahope.com.cn
抄送: openstack
主题: Re: [Openstack] 回复: keystone fail


On 28 Dec 2016, at 17:29, dongjh at ahope.com.cn wrote:
  
 > Welcome to the MariaDB monitor.  Commands end with ; or \g.
 > Your MariaDB connection id is 3
 > Server version: 10.1.18-MariaDB MariaDB Server
  
 Ah, MariaDB! I could never get that to work! I only tried for a couple of hours and
 then gave up - to much to do and to little time.
  
 > MariaDB [keystone]> select Host,User from user where User='keystone';
 > ERROR 1146 (42S02): Table 'keystone.user' doesn't exist
  
 Please read the following section again.
  
 > Look at the ‘mysql’ database:
 >  
 > select Host,User from user where User='keystone’;
 > select Host,Db,User from db where User='keystone’;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161229/fea69807/attachment.html>


More information about the Openstack mailing list