Ask Your Question

justlikeef's profile - activity

2019-05-10 07:44:00 -0500 received badge  Famous Question (source)
2019-05-10 07:44:00 -0500 received badge  Notable Question (source)
2019-05-10 07:44:00 -0500 received badge  Popular Question (source)
2019-04-26 10:58:41 -0500 received badge  Taxonomist
2019-02-19 02:21:08 -0500 received badge  Notable Question (source)
2019-02-19 02:21:08 -0500 received badge  Popular Question (source)
2019-02-19 02:21:08 -0500 received badge  Famous Question (source)
2018-12-20 15:56:23 -0500 received badge  Popular Question (source)
2018-06-24 19:27:16 -0500 asked a question Issue with Centos 7.5 and SELinux

When installing Keystone on Centos 7 with SELinux enabled, I had to run the following commands to get SELinux out of the way:

setsebool -P httpd_use_openstack 1 setsebool -P httpd_can_network_connect 1

Otherwise attempting to start httpd resulted in an error message binding to port 5000 and then running any of the openstack commands in the installation guide resulted in an error 13 in keystone.log

  • List item
2018-06-24 19:27:16 -0500 asked a question keystone permission denied database

Trying to get OpenStack installed on Centos7, and I am following the installation instructions for Keystone located here:

https://docs.openstack.org/keystone/queens/install/keystone-install-rdo.html (https://docs.openstack.org/keystone/q...)

All of the commands seem to complete successfully and the database is created. Once I have done all of the exports at the bottom of the page and go to the next page:

https://docs.openstack.org/keystone/queens/install/keystone-users-rdo.html (https://docs.openstack.org/keystone/q...)

all of the commands fail. In the keystone.log, I get:

2018-04-18 15:00:59.292 2637 INFO keystone.common.wsgi [req-4450fa82-e7fd-4bbc-9cb3-9f938c5ad64c - - - - -] POST http://osctrl001.local.domain:35357/v3/auth/tokens (http://osctrl001.local.domain:35357/v...) 2018-04-18 15:00:59.311 2637 WARNING oslo_db.sqlalchemy.engines [req-4450fa82-e7fd-4bbc-9cb3-9f938c5ad64c - - - - -] SQL connection failed. 10 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'osctrl001.local.domain' ([Errno 13] Permission denied)") (Background on this error at: http://sqlalche.me/e/e3q8)

/etc/keystone/keystone.conf has the following entry:

connection = mysql+pymysql://keystone:password@osctrl001.local.domain/keystone

I can connect and read the database using the mysql command line and copying and pasting the username and password from the connection string, and it works.

2018-06-24 19:27:16 -0500 asked a question keystone permission denied database

Trying to get OpenStack installed on Centos7, and I am following the installation instructions for Keystone located here:

https://docs.openstack.org/keystone/queens/install/keystone-install-rdo.html (https://docs.openstack.org/keystone/q...)

All of the commands seem to complete successfully and the database is created. Once I have done all of the exports at the bottom of the page and go to the next page:

https://docs.openstack.org/keystone/queens/install/keystone-users-rdo.html (https://docs.openstack.org/keystone/q...)

all of the commands fail. In the keystone.log, I get:

2018-04-18 15:00:59.292 2637 INFO keystone.common.wsgi [req-4450fa82-e7fd-4bbc-9cb3-9f938c5ad64c - - - - -] POST http://osctrl001.local.domain:35357/v3/auth/tokens (http://osctrl001.local.domain:35357/v...) 2018-04-18 15:00:59.311 2637 WARNING oslo_db.sqlalchemy.engines [req-4450fa82-e7fd-4bbc-9cb3-9f938c5ad64c - - - - -] SQL connection failed. 10 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'osctrl001.local.domain' ([Errno 13] Permission denied)") (Background on this error at: http://sqlalche.me/e/e3q8)

/etc/keystone/keystone.conf has the following entry:

connection = mysql+pymysql://keystone:password@osctrl001.local.domain/keystone

I can connect and read the database using the mysql command line and copying and pasting the username and password from the connection string, and it works.