Hello
I am trying to use a mysql instance, mysql is installed in native on a VM.
when the docker keystone container is deployed the following error:
ERROR 1049 (42000) at line 1: Unknown database 'keystone'
ERROR 1008 (HY000) at line 1: Can't drop database 'keystone'; database doesn't exist
ERROR 1044 (42000) at line 2: Access denied for user 'root'@'myip' to database 'keystone'
Either --bootstrap-password argument or OS_BOOTSTRAP_PASSWORD must be set.
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
In Mysql:
- Keystone database has been created.
- I execute a grand command to allow root user.
* GRANT ALL ON keystone.* TO root@'myip IDENTIFIED BY 'mypass;
* docker restart keystone && docker logs -f keystone
myip port 3306 open.
ERROR 1146 (42S02) at line 1: Table 'keystone.domain' doesn't exist
{
"admin_required": "role:admin",
"cloud_admin": "rule:admin_required and domain_id:",
"service_role": "role:service",
Note: Forwarding request to 'systemctl enable openstack-keystone.service'.
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
[ keystone-entrypoint - keystone-all ]
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 97, in connect
2019-06-26 15:23:01.595 83 ERROR keystone return dialect.connect(*cargs, **cparams)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 385, in connect
2019-06-26 15:23:01.595 83 ERROR keystone return self.dbapi.connect(*cargs, **cparams)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/MySQLdb/init.py", line 81, in Connect
2019-06-26 15:23:01.595 83 ERROR keystone return Connection(*args, **kwargs)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 193, in init
2019-06-26 15:23:01.595 83 ERROR keystone super(Connection, self).init(*args, **kwargs2)
2019-06-26 15:23:01.595 83 ERROR keystone OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'keystone'@'myip' (using password: YES)")
2019-06-26 15:23:01.595 83 ERROR keystone
the log returns the same previous error.
Keystone cannot create anything when I use a mysql instance different a docker container.
Hello
I am trying to use a mysql instance, mysql is installed in native on a VM.
when the docker keystone container is deployed the following error:
ERROR 1049 (42000) at line 1: Unknown database 'keystone'
ERROR 1008 (HY000) at line 1: Can't drop database 'keystone'; database doesn't exist
ERROR 1044 (42000) at line 2: Access denied for user 'root'@'myip' to database 'keystone'
Either --bootstrap-password argument or OS_BOOTSTRAP_PASSWORD must be set.
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
In Mysql:
* GRANT ALL ON keystone.* TO root@'myip IDENTIFIED BY 'mypass;
* docker restart keystone && docker logs -f keystone
myip port 3306 open.
ERROR 1146 (42S02) at line 1: Table 'keystone.domain' doesn't exist
{
"admin_required": "role:admin",
"cloud_admin": "rule:admin_required and domain_id:",
"service_role": "role:service",
Note: Forwarding request to 'systemctl enable openstack-keystone.service'.
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'keystone.local_user' doesn't exist
[ keystone-entrypoint - keystone-all ]
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 97, in connect
2019-06-26 15:23:01.595 83 ERROR keystone return dialect.connect(*cargs, **cparams)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 385, in connect
2019-06-26 15:23:01.595 83 ERROR keystone return self.dbapi.connect(*cargs, **cparams)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/MySQLdb/init.py", line 81, in Connect
2019-06-26 15:23:01.595 83 ERROR keystone return Connection(*args, **kwargs)
2019-06-26 15:23:01.595 83 ERROR keystone File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 193, in init
2019-06-26 15:23:01.595 83 ERROR keystone super(Connection, self).init(*args, **kwargs2)
2019-06-26 15:23:01.595 83 ERROR keystone OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'keystone'@'myip' (using password: YES)")
2019-06-26 15:23:01.595 83 ERROR keystone
GRANT ALL ON keystone.* TO keystone@'myip IDENTIFIED BY 'mypass;
docker restart keystone && docker logs -f keystone
the log returns the same previous error.
Keystone cannot create anything when I use a mysql instance different a docker container.