Browse Source

Enable Multipath

chaithanyak 2 years ago
parent
commit
131e48d949

+ 1
- 0
deployment_scripts/puppet/manifests/cinder_multipath.pp View File

@@ -0,0 +1 @@
1
+include multipath

+ 18
- 0
deployment_scripts/puppet/modules/kaminario/lib/facter/default_volume_type.rb View File

@@ -0,0 +1,18 @@
1
+require 'hiera'
2
+require 'facter'
3
+hiera = Hiera.new(:config => '/etc/hiera.yaml')
4
+cinder_kaminario=hiera.lookup('cinder_kaminario', {}, {},'nil')
5
+5.times do |i|
6
+  add_backend = "add_backend_" + i.to_s
7
+  type_name  = "type_name_" + i.to_s
8
+    if cinder_kaminario[add_backend] == true
9
+      default_type = cinder_kaminario[type_name]
10
+  end
11
+end
12
+
13
+Facter.add("default_volume_type") do
14
+  setcode do
15
+    default_type
16
+  end
17
+end
18
+

+ 48
- 5
deployment_scripts/puppet/modules/kaminario/manifests/init.pp View File

@@ -3,6 +3,7 @@ $num = [ '0', '1', '2', '3', '4', '5' ]
3 3
 $plugin_settings = hiera('cinder_kaminario')
4 4
 each($num) |$value| {
5 5
 config {"plugin_${value}":
6
+  add_backend            =>      $plugin_settings["add_backend_${value}"],
6 7
   cinder_node            =>      $plugin_settings["cinder_node_${value}"],
7 8
   storage_protocol       =>      $plugin_settings["storage_protocol_${value}"],
8 9
   backend_name           =>      $plugin_settings["backend_name_${value}"],
@@ -14,17 +15,23 @@ config {"plugin_${value}":
14 15
   replication_login      =>      $plugin_settings["replication_login_${value}"],
15 16
   replication_rpo        =>      $plugin_settings["replication_rpo_${value}"],
16 17
   replication_password   =>      $plugin_settings["replication_password_${value}"],
18
+  enable_multipath       =>      $plugin_settings["enable_multipath_${value}"],
19
+  suppress_logs          =>      $plugin_settings["suppress_logs_${value}"],
20
+  filter_function        =>      $plugin_settings["filter_function_${value}"],
21
+  oversubscription_ratio =>      $plugin_settings["oversubscription_ratio_${value}"],
17 22
   num                    =>      $value
18 23
   }
19 24
 }
20 25
 }
21 26
 
22
-define config($storage_protocol,$backend_name,$storage_user,$storage_password,$storage_ip,$num,$cinder_node,$enable_replication,$replication_ip,$replication_login,$replication_rpo,$replication_password) {
27
+define config($add_backend,$storage_protocol,$backend_name,$storage_user,$storage_password,$storage_ip,$num,$cinder_node,$enable_replication,$replication_ip,$replication_login,$replication_rpo,$replication_password,$enable_multipath,$suppress_logs,$filter_function,$oversubscription_ratio) {
23 28
 
24 29
   $sec_name = section_name( $storage_ip , $backend_name )
25 30
   $config_file = "/etc/cinder/cinder.conf"
26 31
   if $cinder_node == hiera(user_node_name) {
32
+  if $add_backend == true {
27 33
   if $storage_protocol == 'FC'{
34
+
28 35
   ini_subsetting {"enable_backend_${num}":
29 36
         ensure               => present,
30 37
         section              => 'DEFAULT',
@@ -40,6 +47,7 @@ define config($storage_protocol,$backend_name,$storage_user,$storage_password,$s
40 47
         "$sec_name/san_ip"              : value => $storage_ip;
41 48
         "$sec_name/san_login"           : value => $storage_user;
42 49
         "$sec_name/san_password"        : value => $storage_password;
50
+        "$sec_name/filter_function"     : value => $filter_function;
43 51
    }
44 52
 
45 53
     if $enable_replication == true {
@@ -47,8 +55,26 @@ define config($storage_protocol,$backend_name,$storage_user,$storage_password,$s
47 55
     cinder_config {
48 56
         "$sec_name/replication_device"       : value => $replication_device;
49 57
     }
58
+    }
59
+ 
60
+    if $enable_multipath == true {
61
+    cinder_config {
62
+        "$sec_name/use_multipath_for_image_xfer"           : value => "True";
63
+        "$sec_name/enforce_multipath_for_image_xfer"       : value => "True";
64
+    }   
65
+    }
66
+    if $suppress_logs == true {
67
+    cinder_config {
68
+        "$sec_name/suppress_requests_ssl_warnings"         : value => "True";
69
+    }
70
+    }
71
+
72
+    if $oversubscription_ratio == true {
73
+    cinder_config {
74
+        "$sec_name/auto_calc_max_oversubscription_ratio"   : value => "True";
75
+    }
76
+    }
50 77
 
51
-   }
52 78
 }
53 79
   if $storage_protocol == 'ISCSI'{
54 80
   ini_subsetting {"enable_backend_${num}":
@@ -66,17 +92,34 @@ define config($storage_protocol,$backend_name,$storage_user,$storage_password,$s
66 92
         "$sec_name/san_ip"              : value => $storage_ip;
67 93
         "$sec_name/san_login"           : value => $storage_user;
68 94
         "$sec_name/san_password"        : value => $storage_password;
95
+        "$sec_name/filter_function"     : value => $filter_function;
69 96
    }
70 97
 
71 98
     if $enable_replication == true {
72 99
     $replication_device = get_replication_device($replication_ip, $replication_login , $replication_password , $replication_rpo)
73 100
     cinder_config {
74 101
         "$sec_name/replication_device"       : value => $replication_device;
75
-         }
102
+    }
103
+    }
104
+    if $enable_multipath == true {
105
+    cinder_config {
106
+        "$sec_name/use_multipath_for_image_xfer"           : value => "True";
107
+        "$sec_name/enforce_multipath_for_image_xfer"       : value => "True";
108
+    }
109
+    }
110
+    if $suppress_logs == true {
111
+    cinder_config {
112
+        "$sec_name/suppress_requests_ssl_warnings"         : value => "True";
113
+    }
114
+    }
115
+    if $oversubscription_ratio == true {
116
+    cinder_config {
117
+        "$sec_name/auto_calc_max_oversubscription_ratio"  : value => "True";
118
+    }
119
+    }
76 120
 
77
-   }
78 121
 }
79 122
 }
80 123
 }
81
-
124
+}
82 125
 

+ 12
- 0
deployment_scripts/puppet/modules/multipath/manifests/init.pp View File

@@ -0,0 +1,12 @@
1
+class multipath {
2
+$multipath_packages = [ 'sg3-utils', 'multipath-tools' ]
3
+package { $multipath_packages: ensure => 'installed' }
4
+
5
+nova_config {
6
+'libvirt/iscsi_use_multipath' :   value => True,
7
+}~> Exec[cinder_volume]
8
+
9
+exec {'cinder_volume':
10
+  command => '/usr/sbin/service nova-compute restart',}
11
+
12
+}

+ 14
- 4
deployment_tasks.yaml View File

@@ -2,8 +2,8 @@
2 2
   type: puppet
3 3
   version: 2.1.0
4 4
   groups: [cinder,primary-controller,controller]
5
-  requires: [top-role-cinder]
6
-  required_for: [kaminario_cinder]
5
+  requires: [openstack-cinder,top-role-cinder,netconfig]
6
+  required_for: [kaminario_cinder,kaminario_types]
7 7
   condition:
8 8
     yaql_exp: "changedAny($.storage, $.cinder_kaminario)"
9 9
   parameters:
@@ -15,7 +15,7 @@
15 15
   type: puppet
16 16
   version: 2.1.0
17 17
   groups: [cinder]
18
-  requires: [kaminario_parser]
18
+  requires: [kaminario_parser,top-role-cinder]
19 19
   required_for: [deploy_end]
20 20
   condition:
21 21
     yaql_exp: "changedAny($.storage, $.cinder_kaminario)"
@@ -28,7 +28,7 @@
28 28
   type: puppet
29 29
   version: 2.1.0
30 30
   groups: [primary-controller]
31
-  requires: [openstack-cinder]
31
+  requires: [kaminario_parser]
32 32
   required_for: [deploy_end]
33 33
   condition:
34 34
     yaql_exp: "changedAny($.storage, $.cinder_kaminario)"
@@ -37,3 +37,13 @@
37 37
     puppet_modules: puppet/modules:/etc/puppet/modules
38 38
     timeout: 360
39 39
 
40
+- id: kaminario_multipath
41
+  type: puppet
42
+  version: 2.1.0
43
+  groups: [compute]
44
+  requires: [top-role-compute]
45
+  required_for: [deploy_end]
46
+  parameters:
47
+    puppet_manifest: puppet/manifests/cinder_multipath.pp
48
+    puppet_modules:  puppet/modules:/etc/puppet/modules
49
+    timeout: 360

+ 257
- 18
environment_config.yaml View File

@@ -150,9 +150,9 @@ attributes:
150 150
       - data: "enable_replication_type"
151 151
         label: "Enable Replication"
152 152
       - data: "enable_dedup"
153
-        label: "Enable Deduplication"
153
+        label: "Enable Non Deduplication"
154 154
       - data: "replication_dedup"
155
-        label: "Enable both Replication and Deduplication"
155
+        label: "Enable both Replication and Non Deduplication"
156 156
     restrictions:
157 157
       - condition: "settings:cinder_kaminario.create_type_0.value == false"
158 158
         action: 'hide'
@@ -164,9 +164,38 @@ attributes:
164 164
     weight: 80
165 165
     type: 'checkbox'
166 166
     restrictions:
167
-      - condition: "settings:cinder_kaminario.create_type_0.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
167
+      - condition: "settings:cinder_kaminario.create_type_0.value == false "
168 168
         action: 'hide'
169 169
 
170
+  enable_multipath_0:
171
+    value: false
172
+    label: 'Enable Multipath'
173
+    description: 'Enable multipath for cinder volumes'
174
+    weight: 85
175
+    type: 'checkbox'
176
+ 
177
+  suppress_logs_0:
178
+    value: false
179
+    label: 'Suppress Logs'
180
+    description: 'Suppress Additional logs created by krest'
181
+    weight: 86
182
+    type: 'checkbox'
183
+
184
+  filter_function_0:
185
+    value: ""
186
+    label: 'Filter Function'
187
+    description: 'Filter function for backend'
188
+    weight: 87
189
+    type: "text"
190
+
191
+  oversubscription_ratio_0:
192
+    value: false
193
+    label: 'Oversubscription Ratio'
194
+    description: 'Enable Oversubscription Ratio for backend'
195
+    weight: 88
196
+    type: 'checkbox'
197
+ 
198
+
170 199
   add_backend_1:
171 200
     value: false
172 201
     label: 'Add a new kaminario backend or scale an existing backend'
@@ -330,9 +359,9 @@ attributes:
330 359
       - data: "enable_replication_type"
331 360
         label: "Enable Replication"
332 361
       - data: "enable_dedup"
333
-        label: "Enable Deduplication"
362
+        label: "Enable Non Deduplication"
334 363
       - data: "replication_dedup"
335
-        label: "Enable both Replication and Deduplication"
364
+        label: "Enable both Replication and Non Deduplication"
336 365
     restrictions:
337 366
       - condition: "settings:cinder_kaminario.create_type_1.value == false"
338 367
         action: 'hide'
@@ -344,9 +373,51 @@ attributes:
344 373
     weight: 165
345 374
     type: 'checkbox'
346 375
     restrictions:
347
-      - condition: "settings:cinder_kaminario.create_type_1.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
376
+      - condition: "settings:cinder_kaminario.create_type_1.value == false"
348 377
         action: 'hide'
349 378
 
379
+  enable_multipath_1:
380
+    value: false
381
+    label: 'Enable Multipath'
382
+    description: 'Enable multipath for cinder volumes'
383
+    weight: 170
384
+    type: 'checkbox'
385
+    restrictions:
386
+       - condition: "settings:cinder_kaminario.add_backend_1.value != true"
387
+         action: 'hide'
388
+
389
+  suppress_logs_1:
390
+    value: false
391
+    label: 'Suppress Logs'
392
+    description: 'Suppress Additional logs created by krest'
393
+    weight: 171
394
+    type: 'checkbox'
395
+    restrictions:
396
+       - condition: "settings:cinder_kaminario.add_backend_1.value != true"
397
+         action: 'hide'
398
+
399
+  filter_function_1:
400
+    value: ""
401
+    label: 'Filter Function'
402
+    description: 'Filter function for backend'
403
+    weight: 172
404
+    type: "text"
405
+    restrictions:
406
+       - condition: "settings:cinder_kaminario.add_backend_1.value != true"
407
+         action: 'hide'
408
+
409
+
410
+  oversubscription_ratio_1:
411
+    value: false
412
+    label: 'Oversubscription Ratio'
413
+    description: 'Enable Oversubscription Ratio for backend'
414
+    weight: 173
415
+    type: 'checkbox'
416
+    restrictions:
417
+       - condition: "settings:cinder_kaminario.add_backend_1.value != true"
418
+         action: 'hide'
419
+
420
+
350 421
 
351 422
   add_backend_2:
352 423
     value: false
@@ -513,9 +584,9 @@ attributes:
513 584
       - data: "enable_replication_type"
514 585
         label: "Enable Replication"
515 586
       - data: "enable_dedup"
516
-        label: "Enable Deduplication"
587
+        label: "Enable Non Deduplication"
517 588
       - data: "replication_dedup"
518
-        label: "Enable both Replication and Deduplication"
589
+        label: "Enable both Replication and Non Deduplication"
519 590
     restrictions:
520 591
       - condition: "settings:cinder_kaminario.create_type_2.value == false"
521 592
         action: 'hide'
@@ -527,9 +598,52 @@ attributes:
527 598
     weight: 250
528 599
     type: 'checkbox'
529 600
     restrictions:
530
-      - condition: "settings:cinder_kaminario.create_type_2.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
601
+      - condition: "settings:cinder_kaminario.create_type_2.value == false"
531 602
         action: 'hide'
532 603
 
604
+  enable_multipath_2:
605
+    value: false
606
+    label: 'Enable Multipath'
607
+    description: 'Enable multipath for cinder volumes'
608
+    weight: 260
609
+    type: 'checkbox'
610
+    restrictions:
611
+       - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
612
+         action: 'hide'
613
+
614
+  suppress_logs_2:
615
+    value: false
616
+    label: 'Suppress Logs'
617
+    description: 'Suppress Additional logs created by krest'
618
+    weight: 261
619
+    type: 'checkbox'
620
+    restrictions:
621
+       - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
622
+         action: 'hide'
623
+  
624
+  filter_function_2:
625
+    value: ""
626
+    label: 'Filter Function'
627
+    description: 'Filter function for backend'
628
+    weight: 262
629
+    type: "text"
630
+    restrictions:
631
+       - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
632
+         action: 'hide'
633
+
634
+
635
+  oversubscription_ratio_2:
636
+    value: false
637
+    label: 'Oversubscription Ratio'
638
+    description: 'Enable Oversubscription Ratio for backend'
639
+    weight: 263
640
+    type: 'checkbox'
641
+    restrictions:
642
+       - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
643
+         action: 'hide'
644
+
645
+
646
+
533 647
   add_backend_3:
534 648
     value: false
535 649
     label: 'Add a new kaminario backend or scale an existing backend'
@@ -694,9 +808,9 @@ attributes:
694 808
       - data: "enable_replication_type"
695 809
         label: "Enable Replication"
696 810
       - data: "enable_dedup"
697
-        label: "Enable Deduplication"
811
+        label: "Enable Non Deduplication"
698 812
       - data: "replication_dedup"
699
-        label: "Enable both Replication and Deduplication"
813
+        label: "Enable both Replication and Non Deduplication"
700 814
     restrictions:
701 815
       - condition: "settings:cinder_kaminario.create_type_3.value == false"
702 816
         action: 'hide'
@@ -708,9 +822,51 @@ attributes:
708 822
     weight: 335
709 823
     type: 'checkbox'
710 824
     restrictions:
711
-      - condition: "settings:cinder_kaminario.create_type_3.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
825
+      - condition: "settings:cinder_kaminario.create_type_3.value == false"
712 826
         action: 'hide'
713 827
 
828
+  enable_multipath_3:
829
+    value: false
830
+    label: 'Enable Multipath'
831
+    description: 'Enable multipath for cinder volumes'
832
+    weight: 340
833
+    type: 'checkbox'
834
+    restrictions:
835
+       - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
836
+         action: 'hide'
837
+
838
+  suppress_logs_3:
839
+    value: false
840
+    label: 'Suppress Logs'
841
+    description: 'Suppress Additional logs created by krest'
842
+    weight: 341
843
+    type: 'checkbox'
844
+    restrictions:
845
+       - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
846
+         action: 'hide'
847
+
848
+  filter_function_3:
849
+    value: ""
850
+    label: 'Filter Function'
851
+    description: 'Filter function for backend'
852
+    weight: 342
853
+    type: "text"
854
+    restrictions:
855
+       - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
856
+         action: 'hide'
857
+
858
+
859
+  oversubscription_ratio_3:
860
+    value: false
861
+    label: 'Oversubscription Ratio'
862
+    description: 'Enable Oversubscription Ratio for backend'
863
+    weight: 343
864
+    type: 'checkbox'
865
+    restrictions:
866
+       - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
867
+         action: 'hide'
868
+
869
+
714 870
   add_backend_4:
715 871
     value: false
716 872
     label: 'Add a new kaminario backend or scale an existing backend'
@@ -877,9 +1033,9 @@ attributes:
877 1033
       - data: "enable_replication_type"
878 1034
         label: "Enable Replication"
879 1035
       - data: "enable_dedup"
880
-        label: "Enable Deduplication"
1036
+        label: "Enable Non Deduplication"
881 1037
       - data: "replication_dedup"
882
-        label: "Enable both Replication and Deduplication"
1038
+        label: "Enable both Replication and Non Deduplication"
883 1039
     restrictions:
884 1040
       - condition: "settings:cinder_kaminario.create_type_4.value == false"
885 1041
         action: 'hide'
@@ -891,9 +1047,52 @@ attributes:
891 1047
     weight: 420
892 1048
     type: 'checkbox'
893 1049
     restrictions:
894
-      - condition: "settings:cinder_kaminario.create_type_4.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
1050
+      - condition: "settings:cinder_kaminario.create_type_4.value == false"
895 1051
         action: 'hide'
896 1052
 
1053
+  enable_multipath_4:
1054
+    value: false
1055
+    label: 'Enable Multipath'
1056
+    description: 'Enable multipath for cinder volumes'
1057
+    weight: 425
1058
+    type: 'checkbox'
1059
+    restrictions:
1060
+       - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1061
+         action: 'hide'
1062
+
1063
+  suppress_logs_4:
1064
+    value: false
1065
+    label: 'Suppress Logs'
1066
+    description: 'Suppress Additional logs created by krest'
1067
+    weight: 426
1068
+    type: 'checkbox'
1069
+    restrictions:
1070
+       - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1071
+         action: 'hide'
1072
+
1073
+  filter_function_4:
1074
+    value: ""
1075
+    label: 'Filter Function'
1076
+    description: 'Filter function for backend'
1077
+    weight: 427
1078
+    type: "text"
1079
+    restrictions:
1080
+       - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1081
+         action: 'hide'
1082
+
1083
+
1084
+  oversubscription_ratio_4:
1085
+    value: false
1086
+    label: 'Oversubscription Ratio'
1087
+    description: 'Enable Oversubscription Ratio for backend'
1088
+    weight: 428
1089
+    type: 'checkbox'
1090
+    restrictions:
1091
+       - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1092
+         action: 'hide'
1093
+
1094
+
1095
+
897 1096
   add_backend_5:
898 1097
     value: false
899 1098
     label: 'Add a new kaminario backend or scale an existing backend'
@@ -1060,9 +1259,9 @@ attributes:
1060 1259
       - data: "enable_replication_type"
1061 1260
         label: "Enable Replication"
1062 1261
       - data: "enable_dedup"
1063
-        label: "Enable Deduplication"
1262
+        label: "Enable Non Deduplication"
1064 1263
       - data: "replication_dedup"
1065
-        label: "Enable both Replication and Deduplication"
1264
+        label: "Enable both Replication and Non Deduplication"
1066 1265
     restrictions:
1067 1266
       - condition: "settings:cinder_kaminario.create_type_5.value == false"
1068 1267
         action: 'hide'
@@ -1074,5 +1273,45 @@ attributes:
1074 1273
     weight: 505
1075 1274
     type: 'checkbox'
1076 1275
     restrictions:
1077
-      - condition: "settings:cinder_kaminario.create_type_5.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
1276
+      - condition: "settings:cinder_kaminario.create_type_5.value == false"
1078 1277
         action: 'hide'
1278
+
1279
+  enable_multipath_5:
1280
+    value: false
1281
+    label: 'Enable Multipath'
1282
+    description: 'Enable multipath for cinder volumes'
1283
+    weight: 510
1284
+    type: 'checkbox'
1285
+    restrictions:
1286
+       - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1287
+         action: 'hide'
1288
+
1289
+  suppress_logs_5:
1290
+    value: false
1291
+    label: 'Suppress Logs'
1292
+    description: 'Suppress Additional logs created by krest'
1293
+    weight: 511
1294
+    type: 'checkbox'
1295
+    restrictions:
1296
+       - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1297
+         action: 'hide'
1298
+
1299
+  filter_function_5:
1300
+    value: ""
1301
+    label: 'Filter Function'
1302
+    description: 'Filter function for backend'
1303
+    weight: 512
1304
+    type: "text"
1305
+    restrictions:
1306
+       - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1307
+         action: 'hide'
1308
+
1309
+  oversubscription_ratio_5:
1310
+    value: false
1311
+    label: 'Oversubscription Ratio'
1312
+    description: 'Enable Oversubscription Ratio for backend'
1313
+    weight: 513
1314
+    type: 'checkbox'
1315
+    restrictions:
1316
+       - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1317
+         action: 'hide'

Loading…
Cancel
Save