Connection Error Occurs When Keystone Password Contains '@' Symbol

Bug #2051651 reported by CHUNGEUN CHOI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.db
New
Undecided
Unassigned

Bug Description

This issue arose while I was installing devstack. I defined the `ADMIN_PASSWORD` in the local.conf file to include the '@' symbol (for example, 'test123@A'). This resulted in an oslo_db.exception.DBConnectionError, and the following log was recorded.

In my opinion, it seems that the keystone-manage is not properly handling special characters during execution.

It appears that the issue is arising from the **`make_url`** function call in the `oslo_db.sqlalchemy.utils.py` file. Since SQLAlchemy does not handle the '@' character in passwords, it seems advisable to add a logic using the `quote` function for encoding. While it would be understandable if MySQL did not support such special characters in passwords, MySQL does allow the use of special characters in passwords. Therefore, it seems necessary to support this functionality.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.