Vcenter-as-compute: provisioning broken when using SR-IOV interfaces for esxi/contrailVM

Bug #1708558 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
Critical
Sarath
R4.0
Won't Fix
Critical
Sarath
Trunk
Won't Fix
Critical
Sarath

Bug Description

prov_esxi fails with key-error cluster name.
Looks the issue is due to latest testbed.py changes for multi-cluster
Amudha triaged the problem setup and below the debugging details,

2017-08-01 16:06:26:445523: Disconnecting from stack@10.84.24.64... done.
2017-08-01 16:06:26:562584: Traceback (most recent call last):
2017-08-01 16:06:26:445824: File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
2017-08-01 16:06:26:445879: *args, **kwargs
2017-08-01 16:06:26:446152: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2017-08-01 16:06:26:446198: multiprocessing
2017-08-01 16:06:26:446390: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2017-08-01 16:06:26:446427: return task.run(*args, **kwargs)
2017-08-01 16:06:26:446589: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2017-08-01 16:06:26:446645: return self.wrapped(*args, **kwargs)
2017-08-01 16:06:26:446772: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2017-08-01 16:06:26:446829: return func(*args, **kwargs)
2017-08-01 16:06:26:446928: File "/opt/contrail/utils/fabfile/tasks/provision.py", line 3322, in prov_esxi
2017-08-01 16:06:26:446999: provision_pci_fab(vcenter_server, esxi_info, host_list)
2017-08-01 16:06:26:447948: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__
2017-08-01 16:06:26:448015: return self.run(*args, **kwargs)
2017-08-01 16:06:26:448165: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2017-08-01 16:06:26:448232: return self.wrapped(*args, **kwargs)
2017-08-01 16:06:26:448378: File "/opt/contrail/utils/fabfile/tasks/vmware.py", line 246, in provision_pci_fab
2017-08-01 16:06:26:448419: pci_params['cluster_name'] = esxi_info['cluster']
2017-08-01 16:06:26:448592: KeyError: 'cluster'
2017-08-01 16:06:26:448770:

Revision history for this message
Sarath (nsarath) wrote :

Logs @
nsarath@ubuntu-build04:/auto/cores/1708558$ ls -ltrd *
-rwxrwxrwx 1 nsarath test 2662400 Aug 3 17:11 Ctrl-A-Utils.tar

Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Starting 4.0.1, vcenter only and vcenter-as-compute will be provisioned via SM only. SM Work is currently under development.

amudhar (amudha)
Changed in juniperopenstack:
status: New → Won't Fix
assignee: amudhar (amudha) → nobody
assignee: nobody → Sarath (nsarath)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.