Bug 1126491
Summary: | openstack-db init fails with non-default service password for cinder | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | james labocki <jlabocki> |
Component: | openstack-utils | Assignee: | Pádraig Brady <pbrady> |
Status: | CLOSED WONTFIX | QA Contact: | yeylon <yeylon> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.0 (RHEL 7) | CC: | eharney, scohen, srevivo, yeylon |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | 5.0 (RHEL 7) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-16 15:22:58 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
james labocki
2014-08-04 14:46:52 UTC
It looks like openstack-db is not handling the case where sql_connection/connection is not in cinder.conf when setting the database credentials. Yes this was the assumption of this simplified tool. cinder.conf has gotten out of date. Changes I suggest are: - Ensure all variables are (commented out) in /etc/cinder/cinder.conf - Ensure values from cinder-dist.conf are reflected there too (see how nova does this automatically in its spec file). - Move from the deprecated [DEFAULT]/sql_connection to [database]/connection. The last point is why openstack-db uses the current mechanism of relying on the template in $service.conf to be appropriate as at the timem of writing not all services supported [database]/connection so it couldn't use that unconditionally. Now things may have progressed so that it could assume that and thus use crudini to auto update [database]/connection more robustly. However the points above still stand. |