Browse Source

Removing VMware support in 10 Fuel release

VMware is no longer supportes, thus we have no attributes use_vcenter
in the cluster attributes.

Change-Id: I90de98d736227c913fddfb27cefd186f29b3fb1b
Closes-Bug: #1666835
Implements: blueprint remove-vmware
Alexander Kislitsky 2 years ago
parent
commit
0efc1357e5
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      fuel_health/config.py

+ 3
- 1
fuel_health/config.py View File

@@ -650,7 +650,9 @@ class NailgunConfig(object):
650 650
                 access_data['password']['value']
651 651
             )
652 652
         self.compute.libvirt_type = common_data['libvirt_type']['value']
653
-        self.compute.use_vcenter = common_data['use_vcenter']['value']
653
+        # After removing vmware support we have no attribute use_vcenter
654
+        self.compute.use_vcenter = common_data.get('use_vcenter', {}).get(
655
+            'value', False)
654 656
         self.compute.auto_assign_floating_ip = common_data[
655 657
             'auto_assign_floating_ip']['value']
656 658
 

Loading…
Cancel
Save