Browse Source

added the patched netapp.py driver from https://bugs.launchpad.net/cinder/+bug/1091480

tags/eol-grizzly
alop 6 years ago
parent
commit
f2c7219d60

+ 1
- 0
attributes/default.rb View File

@@ -90,6 +90,7 @@ default["cinder"]["netapp"]["dfm_password"] = nil
90 90
 default["cinder"]["netapp"]["dfm_port"] = "8088"
91 91
 default["cinder"]["netapp"]["dfm_web_port"] = "8080"
92 92
 default["cinder"]["netapp"]["storage_service"] = "storage_service"
93
+default["cinder"]["netapp"]["driver"] = "/usr/share/pyshared/cinder/volume/netapp.py"
93 94
 
94 95
 # logging attribute
95 96
 default["cinder"]["syslog"]["use"] = false

+ 1294
- 0
files/default/netapp_new-42cdc4d947a73ae6a3dbbaab36634e425b57c18c.py
File diff suppressed because it is too large
View File


+ 8
- 0
recipes/volume.rb View File

@@ -96,3 +96,11 @@ template "/etc/tgt/targets.conf" do
96 96
 
97 97
   notifies :restart, "service[iscsitarget]", :immediately
98 98
 end
99
+
100
+cookbook_file node["cinder"]["netapp"]["driver"] do
101
+  source "netapp_new-42cdc4d947a73ae6a3dbbaab36634e425b57c18c.py"
102
+  mode  00644
103
+  owner "root"
104
+  group "root"
105
+  notifies :restart, "service[cinder-volume]"
106
+end

Loading…
Cancel
Save