Need to configure backend_host (not host) for cinder-volume HA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alan Bishop |
Bug Description
There seems to be some confusion over cinder's host versus backend_host config
setting. The host value is used by all Cinder services, and backend_host
should be used to override the host setting in the cinder-volume backends.
The purpose is to support HA, where all cinder-volume instances are required
to use the same value (typically "hostgroup"). This should be done using the
backend_host, and not the DEFAULT/host setting. When DEFAULT/host is set to
"hostgroup," other cinder services (cinder-api , cinder-scheduler,
cinder-backup) use that value on every node, and this makes the logs very
confusing.
The problem can be reproduced by deploying cinder-volume with pacemaker.
After the overcloud deploys, check cinder.conf and observe the DEFAULT/host
is set to "hostgroup" and backend_host is missing from the backend section(s).
Fix proposed to branch: master /review. openstack. org/550111
Review: https:/