Retry cinder volume state 89/50489/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 12 Jan 2018 10:37:10 +0000 (14:37 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 12 Jan 2018 10:50:26 +0000 (14:50 +0400)
commit1ea49591080442d8db86fff60031d3dc41142274
tree4052fdec7da4a5d5fdfa44b48554bb6f3d121c98
parenta2eb85108839c2ea9d41b11506d2b35edda8a43d
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>
mcp/config/states/openstack_ha
mcp/config/states/openstack_noha