Retry cinder volume state 03/50503/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 12 Jan 2018 10:37:10 +0000 (14:37 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 19 Jan 2018 07:16:36 +0000 (07:16 +0000)
commit2d347e8fd382bbb99c9747328e41734b331f745c
treebb110ce9332ed9c9214cf920ad63bd3d190c5124
parentd047550627cd3b4d32556cfaa3608071949f773b
Retry cinder volume state

The service of cinder-volume restarts too quickly after package
installation with default/incorrect configuration and goes over restart
threshold, so systemd stops attempt to restart any further causing
state faulure. To fix it properly the RestartSec (i.e. restart delay)
param should be added into cinder-volume.service unit.

Change-Id: Ic8591e8ef52a3d439122f276d275e56bd2442ce6
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 1ea49591080442d8db86fff60031d3dc41142274)
mcp/config/states/openstack_ha
mcp/config/states/openstack_noha