<div dir="ltr"><div><div>Ok, lets try few things. <br><br></div>- I see you using the latest vdsm 3.6 version and you have the <span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">vdsm-hook-vmfex-dev-4.17.23-1.el7.noarch shipped by default. But i also see that you have the old hook installed - </span><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">vdsm-hook-vmfex-4.17.23-0.el7.centos.noarch, please remove it from the server and re-install the host in ovirt(maintenance+re-install). To make sure you have no conflicts with the old hook and you are using the new one. <br></span></div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black"><br>- In the VM interface profile dialog please uncheck the 'passthrough' property(first remove the SRIOV network from the VMs vNIC and add it back after editing the profile). The 'passthrough' property shouldn't be checked when using the vmfex-hook. <br></span><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black"><br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">- Last thing, but not must, go to 'Networks' main tab and choose your network 'SRIOV', go to 'Clusters' sub tab and press the 'Manage network' button --> uncheck the 'Required' checkboxes<br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black"> from your cluster(because your network attached to 2 servers in your cluster from 3, it is in down state colored with red)<br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">, once you will uncheck the 'Required' from the cluster it will be shown as UP, colored in green. <br><br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">I believe now it will work for you, please let me know. <br><br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:black">Cheers )<br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 1:51 AM, David LeVene <span dir="ltr"><<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Hi Michael,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">I’m going to include some screen shots - as I’ve got it all setup exactly how you mention below.. but the config on the Hypervisor is
still bridged config.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">All the UCS port profiles are correct as we use this config on standalone KVM/QEMU hosts.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">See in-line for pics at the appropriate step .<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">David<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> Michael Burman [mailto:<a href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a>]
<br>
<b>Sent:</b> Wednesday, March 09, 2016 19:47<br>
<b>To:</b> David LeVene <<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>><br>
<b>Cc:</b> <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>; Dan Kenigsberg <<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>><br>
<b>Subject:</b> Re: [ovirt-users] Configuring the SRIOV virsh device<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div><span class="">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi again David) <u></u><u></u></p>
</div>
<p class="MsoNormal">In order to achieve such xml ^^ (the one you describing) you should first of all prepare a proper 'Port Profile' on your UCS manager side.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">- In your/from your example you should have 2 Port Profiles([1], [2]) configured in your cisco side(see -
<a href="http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/vm_fex/kvm/gui/config_guide/2-1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1_chapter_010.html" target="_blank">
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/vm_fex/kvm/gui/config_guide/2-1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1_chapter_010.html</a>)
<br>
<br>
[1] profile-ame1-test1<br>
[2] profile-ame1-prep1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- This port profiles should associate with your service profiles(blades)<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal">- If you have those port profiles on your ucs side and they well configured, then you should follow the steps i suggested in the previous e-mail -->
<br>
<br>
1) Run for example:<br>
engine-config -s CustomDeviceProperties="{type=interface;prop={ifacemacspoof=^(true|false)$;queues=[1-9][0-9]*;vmfex=^[a-zA-Z0-9_.-]{2,32}$;SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}}"
--cver=3.5<br>
<br>
- Restart your ovirt-engine service<br>
- with --cver=3.5 you can specify your cluster version level. ^^<br>
- If you don't want that it will overwrite your current attributes, you have to send them all as well(like on my example above). ^^<span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">We are using 3.6.3, with the applied patch from <a href="https://gerrit.ovirt.org/#/c/54237" target="_blank">https://gerrit.ovirt.org/#/c/54237</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># engine-config -g CustomDeviceProperties<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: version: 3.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: version: 3.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: version: 3.2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: version: 3.3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}}
version: 3.4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}}
version: 3.5<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={ifacemacspoof=^(true|false)$;queues=[1-9][0-9]*;vmfex=^[a-zA-Z0-9_.-]{2,32}$;SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
*)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><br>
<br>
2) Install vdsm-hook-vmfex-dev on your server(if you don't using vdsm version 3.6, the vmfex hook isn't installed by default)<span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># rpm -qa | grep -i vmfex<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">vdsm-hook-vmfex-dev-4.17.23-1.el7.noarch<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">vdsm-hook-vmfex-4.17.23-0.el7.centos.noarch<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><br>
<br>
3) In ovirt engine you can verify that host have the hooks installed under 'Hosts' main tab - > 'Host Hooks' sub tab<br>
You should see there: a) before_device_migrate_destination b) before_device_create c) before_nic_hotplug<span style="color:black"><u></u><u></u></span></p>
</span><p class="MsoNormal"><img src="cid:image001.png@01D17AB5.79C66750" height="248" width="896" border="0"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></p><span class="">
<p class="MsoNormal"><br>
<br>
4) Create new network and edit the vNIC profile. <br>
Choose from the CustomDeviceProperties the 'vmfex' key(like in your example) and in the right field enter your Port Profile id/name(the one that is configured on your UCS side)<span style="color:black"><u></u><u></u></span></p>
</span><p class="MsoNormal"><img src="cid:image009.jpg@01D17AB6.A9142000" height="406" width="563" border="0"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div><span class="">
<p class="MsoNormal"><br>
- 'Networks' main tab(create network) >> 'vNIC Profiles' sub tab(edit the profile and add the 'vmfex' key), so it would look like:<u></u><u></u></p>
</span></div>
<p class="MsoNormal">vmfex = profile-ame1-test1<u></u><u></u></p>
</div>
<p class="MsoNormal">and/or <u></u><u></u></p>
</div>
<p class="MsoNormal">vmfex = profile-ame1-prep1<u></u><u></u></p>
<p class="MsoNormal"><img src="cid:image004.png@01D17AB5.79C66750" height="319" width="473" border="0"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></p>
<div>
<div>
<div>
<div>
<div><span class="">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
5) Go to 'Setup Networks' sub tab under 'Hosts' main tab --> attach the network with the vmfex profile to NIC on host(drag it), it should be the additional NIC, not the one that the management network attached to.<span style="color:black"><u></u><u></u></span></p>
</span><p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image010.png@01D17AB6.A9142000" height="121" width="888" border="0"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image011.jpg@01D17AB6.A9142000" height="414" width="613" border="0"><span class=""><br>
<br>
6) Create VM or use exist one, create/add new vNIC to the VM with the vmfex profile<span style="color:black"><br>
</span></span><img src="cid:image013.jpg@01D17AB6.A9142000" height="423" width="635" border="0"><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
7) Run VM<span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Note - only Test hosts 2 & 3 are currently configured with this network - so I expect Host 1 to fail.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image012.png@01D17AB5.C8D3FBA0" height="372" width="490" border="0"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If your port profile configured properly you should see the proper xml, like you described above ^^ -->
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Good luck and kind regards, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Michael B<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</div>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Mar 9, 2016 at 8:49 AM, David LeVene <<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hey All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Still trying to work through this VMFEX stuff, and I know what I want the file to look like at the end.. but not sure how to achieve it from the doco written here<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.ovirt.org/develop/developer-guide/vdsm/hook/vmfex/" target="_blank">http://www.ovirt.org/develop/developer-guide/vdsm/hook/vmfex/</a><u></u><u></u></p>
<p class="MsoNormal">and<u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.ovirt.org/develop/release-management/features/network/ucs-integration/" target="_blank">http://www.ovirt.org/develop/release-management/features/network/ucs-integration/</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Currently my device looks like this<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"># virsh -r net-dumpxml vdsm-SRIOV<u></u><u></u></p>
<p class="MsoNormal"><network><u></u><u></u></p>
<p class="MsoNormal"> <name>vdsm-SRIOV</name><u></u><u></u></p>
<p class="MsoNormal"> <forward mode='bridge'/><u></u><u></u></p>
<p class="MsoNormal"> <bridge name='SRIOV'/><u></u><u></u></p>
<p class="MsoNormal"></network><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I want it looking like this, then the networking will be as it should be!<u></u><u></u></p>
<p class="MsoNormal">A port group would be a vNIC Profile from the looks of things…<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <name>vdsm-SRIOV</name><u></u><u></u></p>
<p class="MsoNormal"> <forward dev='enp6s0f1' mode='passthrough'>
<span style="font-family:Wingdings">ß</span> defined as a passthrough device, not a bridge<u></u><u></u></p>
<p class="MsoNormal"> <interface dev='enp6s0f1'/><u></u><u></u></p>
<p class="MsoNormal"> <interface dev='enp6s0f2'/><u></u><u></u></p>
<p class="MsoNormal"> <interface dev='enp6s0f3'/><u></u><u></u></p>
<p class="MsoNormal"> <interface dev='enp6s0f4'/><u></u><u></u></p>
<p class="MsoNormal">< .. list of interfaces available to it which would need to be manually inputted as a hook><u></u><u></u></p>
<p class="MsoNormal"> </forward><u></u><u></u></p>
<p class="MsoNormal"> <portgroup name='ame1-test1'><u></u><u></u></p>
<p class="MsoNormal"> <virtualport type='802.1Qbh'><u></u><u></u></p>
<p class="MsoNormal"> <parameters profileid='profile-ame1-test1'/><u></u><u></u></p>
<p class="MsoNormal"> </virtualport><u></u><u></u></p>
<p class="MsoNormal"> </portgroup>
<u></u><u></u></p>
<p class="MsoNormal"> <portgroup name='ame1-prep1'><u></u><u></u></p>
<p class="MsoNormal"> <virtualport type='802.1Qbh'><u></u><u></u></p>
<p class="MsoNormal"> <parameters profileid='profile-ame1-prep1'/><u></u><u></u></p>
<p class="MsoNormal"> </virtualport><u></u><u></u></p>
<p class="MsoNormal"> </portgroup><u></u><u></u></p>
<p class="MsoNormal"></network><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Cheers<u></u><u></u></p>
<p class="MsoNormal">David<u></u><u></u></p>
</div>
<p class="MsoNormal">This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use
of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Michael Burman<br>
RedHat Israel, RHEV-M QE Network Team<br>
<br>
Mobile: 054-5355725<br>
IRC: mburman<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div><div><div class="h5">
This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information
is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Michael Burman<br>RedHat Israel, RHEV-M QE Network Team<br><br>Mobile: 054-5355725<br>IRC: mburman</div></div>
</div>