The mysql user that the guest agent uses needs to be different for HP and RAX
This bug report was converted into a question: question #218136: The mysql user that the guest agent uses needs to be different for HP and RAX.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Invalid
|
Undecided
|
Unassigned | ||
Grizzly |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The mysql user that the guest agent uses to connect to the DB needs to be different in the case of HP and RAX.
In HP's case, 'root' needs to be used, but in RAX's case 'os_admin' needs to be used.
This is a direct result of the fact that the mysql image deployed is different in the case of HP and RAX. As per Vipul's comment, RAX's implementation depends on logging into mysql to do things like add user, add database, but the HP implementation only has a root user with root access who can add users and databases by connecting on port 3306.
As a temporary workaround for HP folks, you edit the file under reddwarf/ reddwarf/ guestagent/ dbaas.py: to change the line
ADMIN_USER_NAME = "os_admin" to read
ADMIN_USER_NAME = "root"
Thanks,
-Nikhil