Bug 1580362
Summary: | Undercloud deployment ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | karan singh <karan> |
Component: | instack-undercloud | Assignee: | James Slagle <jslagle> |
Status: | CLOSED NOTABUG | QA Contact: | Arik Chernetsky <achernet> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 12.0 (Pike) | CC: | aschultz, dbecker, johfulto, karan, mburns, morazi |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-22 13:40:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
karan singh
2018-05-21 11:08:11 UTC
please see [1] for undercloud.conf and full error logs [1] https://paste.fedoraproject.org/paste/AGNXMomnvGHYm5yOr5BGiQ/raw (In reply to karan singh from comment #0) > On a fresh machine, deploying OSP-12 undercloud throws error > > 2018-05-21 06:47:53,832 INFO: Error: Failed to apply catalog: Execution of > '/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, > '@',Host) AS User FROM mysql.u > ser' returned 1: ERROR 1045 (28000): Access denied for user > 'root'@'localhost' (using password: YES) Was the machine really a fresh install or had you followed [1] to erase the undercloud first and then attempt the reinstall? It looks like the MySQL datbase's root password is set in a way that the installer is not expecting. [1] https://access.redhat.com/solutions/2210421 #1 John is right, I cleaned up the undercloud node by following [1] and when I tried to re-deploy undercloud it failed with the message ( i shared above ) #2 When i deploy undercloud on a FRESH machine, it works without issues. So looks like there is some step missing in the doc [1] which performs absolute cleaning of the database. what should be the correct way to cleanup undercloud (database) ? [1] https://access.redhat.com/solutions/2210421 Karan, Thanks for the update. So it's not a bug in the software but a step missing from the KB article. I added a comment to the KB article to add the missing step. https://access.redhat.com/solutions/2210421 John |