Skip to content

Commit

Permalink
Fixing prov_esxi break for vcenter gateway change
Browse files Browse the repository at this point in the history
Closes-Bug: 1638592

Change-Id: Ica0dc4335e45b9e18e28d91c95abb2c5b660a6fa
  • Loading branch information
sandip-d committed Nov 3, 2016
1 parent 969be40 commit a1ffe1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabfile/tasks/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ def create_contrailvm(host_list, host_string, esxi_info, vcenter_info):
return

if host in esxi_info.keys():
if 'contrail_vm' not in host:
if 'contrail_vm' not in esxi_info[host]:
return #For vcenter gateway, contrail_vm not present in esxi info
mode = get_mode(esxi_info[host]['contrail_vm']['host'])
if mode == 'openstack':
Expand Down

0 comments on commit a1ffe1e

Please sign in to comment.