| Summary: | nova_api database not populated/configured after OSP8->OSP9 upgrade | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | kamil.rogon |
| Component: | openstack-tripleo-heat-templates | Assignee: | Sofer Athlan-Guyot <sathlang> |
| Status: | CLOSED DUPLICATE | QA Contact: | Arik Chernetsky <achernet> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 (Mitaka) | CC: | aschultz, jdonohue, mburns, rhel-osp-director-maint, sathlang |
| Target Milestone: | --- | ||
| 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: | 2017-03-17 10:15:48 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1373538, 1400606 | ||
|
Description
kamil.rogon
2016-11-18 07:27:14 UTC
Upstream information: https://github.com/openstack/nova/blob/df0fca62cf5324f5b6eae0fed1f88c6c9ed61c71/releasenotes/notes/request-spec-api-db-b9cc6e0624d563c5.yaml https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Compute_.28Nova.29 The missing configuration on each controller node:
# openstack-config --set /etc/nova/nova.conf api_database connection "$(openstack-config --get /etc/nova/nova.conf database connection)_api"
One primary-controller execute:
# nova-manage api_db sync
# mysql -e "grant all privileges on nova_api.* to 'nova'@'%'"
# mysql -e "grant all privileges on nova_api.* to 'nova'@'%'"
# mysqladmin flush-privileges
Restart nova daemons on each controllers:
# systemctl | grep nova | awk '{print $1}' | while read service; do systemctl restart $service ;done
hi, This is a duplicate of this one https://bugzilla.redhat.com/show_bug.cgi?id=1413686. The same solution apply and it's more involved. See comment https://bugzilla.redhat.com/show_bug.cgi?id=1413686#c25 for the current code. You can apply #c25 above just after having upgraded the undercloud. This make vm creation working in-between upgrade steps form controller upgrade to convergence. I keep this one open for you to be able to separate the client, but it's really the same thing. We're currently waiting on the upstream review to get merged https://review.openstack.org/#/c/428093/. Regards, Hi, fixed in openstack-tripleo-heat-templates-2.0.0-45.el7ost Closing this bug as a duplicate. If you have any trouble to get the relevant package don't hesitate to re-open the bug. Regards, *** This bug has been marked as a duplicate of bug 1413686 *** |