You need to use get_interface() on physical interfaces, not get_device().
2017-04-18 18:04 GMT+02:00 Jan Tluka <jtluka(a)redhat.com>:
> Tue, Apr 18, 2017 at 04:21:15PM CEST, jtluka(a)redhat.com wrote:
>>Few recipes had incorrect devices selected for IRQ pinning.
>>
>>Recipe vxlan_multicast included some of the tap devices. As these do not
>>have any IRQ assigned it does not make sense to do the pinning on them.
>>
>>Recipe novirt_ovs_vxlan selected ovs internal devices instead of physical
>>devices. This impacts the performance testing.
>>
>>Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
>
> I'm holding push of this patch. There's some issue with the OVS recipe.
> Could be a bug in LNST.
>
> I get this error,
>
> Traceback (most recent call last):
> File "/usr/bin/lnst-ctl", line 182, in get_recipe_result
> res = exec_action(action, nettestctl)
> File "/usr/bin/lnst-ctl", line 137, in exec_action
> return nettestctl.run_recipe()
> File
"/usr/lib/python2.7/site-packages/lnst/Controller/NetTestController.py", line
667, in run_recipe
> res = self._run_recipe()
> File
"/usr/lib/python2.7/site-packages/lnst/Controller/NetTestController.py", line
685, in _run_recipe
> res = self._run_task(task)
> File
"/usr/lib/python2.7/site-packages/lnst/Controller/NetTestController.py", line
733, in _run_task
> return self._run_python_task(task)
> File
"/usr/lib/python2.7/site-packages/lnst/Controller/NetTestController.py", line
722, in _run_python_task
> module = imp.load_source(name, task_path.resolve())
> File
"/usr/share/lnst/recipes/regression_tests/phase3/novirt_ovs_vxlan.py", line 56,
in <module>
> h1_phy = h1.get_device("if1")
> File "/usr/lib/python2.7/site-packages/lnst/Controller/Task.py", line
319, in get_device
> raise TaskError("No device with name '%s' found." %
str(name))
> TaskError: No device with name 'if1' found.
>
> But in summary I have,
>
> INFO: ====================================== SUMMARY
======================================
> INFO: /usr/share/lnst/recipes/regression_tests/phase3/novirt_ovs_vxlan.xml match: 1
FAIL
> INFO: Pool match description:
> INFO: host "test_host1" uses "wsfd-netdev40"
> INFO: interface "if1" matched to "eth3" (driver:
"ixgbe")
> INFO: host "test_host2" uses "wsfd-netdev41"
> INFO: interface "if1" matched to "eth3" (driver:
"ixgbe")
> INFO: error message: No device with name 'if1' found.
> INFO: task: 1
> INFO: host test_host1: exec cmd: "service irqbalance stop"
PASS
> INFO: host test_host2: exec cmd: "service irqbalance stop"
PASS
> INFO:
=====================================================================================
>
> So the device must exist! I'll debug this tomorrow.
>
> -Jan
> _______________________________________________
> LNST-developers mailing list -- lnst-developers(a)lists.fedorahosted.org
> To unsubscribe send an email to lnst-developers-leave(a)lists.fedorahosted.org