Init cinder db before cinder-volume restart
It is too late for api.rb to call db sync when cinder-volume restart. Change-Id: Ia48fa79b0d1e8b65499c0a479ba3661f23d35863
This commit is contained in:
parent
3eb7f044b4
commit
a765e73e9f
@ -61,6 +61,8 @@ directory "/var/lock/cinder" do
|
||||
mode 00700
|
||||
end
|
||||
|
||||
execute "cinder-manage db sync"
|
||||
|
||||
case node["openstack"]["block-storage"]["volume"]["driver"]
|
||||
when "cinder.volume.drivers.netapp.iscsi.NetAppISCSIDriver"
|
||||
node.override["openstack"]["block-storage"]["netapp"]["dfm_password"] = service_password "netapp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user