<div dir="ltr"><div><div><div><div>Thank you so much Sean,<br><br></div>It helped a lot and that I have VMs active running :) That's so kind of you to spend your time. It would be nice if this apparmor thing is mentioned somewhere in the documentation, will help newbies like me. <br><br></div>@Hui - Thank you for the info and the config file :) <br><br></div>Thanks,<br></div><div>Prathyusha<br></div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 25, 2015 at 7:28 AM, Hui Xiang <span dir="ltr"><<a href="mailto:hui.xiang@canonical.com" target="_blank">hui.xiang@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FYI,  bug 1513367 is opened for this apparmor problem to track when booting vms failed with ovs-dpdk enabled.<div><br><div><a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1513367" target="_blank">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1513367</a><br></div></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 9:49 PM, Mooney, Sean K <span dir="ltr"><<a href="mailto:sean.k.mooney@intel.com" target="_blank">sean.k.mooney@intel.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-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Out of interest<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Have you removed apparmor or placed all Libvirt apparmor profies into complain mode?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If not you will get permission denied errors.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You can confirm by checking dmesg to see if you have any permission denied messages from apparmor<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Or run aa-status and see if the the Libvirt profie is in enforce/complain mode.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The  /tmp/qemu.orig file is just a file we write the original qemu command to for debugging. It is not needed<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">But all uses should be able to read/write to /tmp.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We wrap the qemu/kvm binary with a script that on Ubuntu can be found here /usr/bin/kvm<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If you comment out echo "qemu ${args[@]}" > /tmp/qemu.orig in this script it will silence that warning.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://github.com/openstack/networking-ovs-dpdk/blob/master/devstack/libs/ovs-dpdk#L104" target="_blank">https://github.com/openstack/networking-ovs-dpdk/blob/master/devstack/libs/ovs-dpdk#L104</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I may remove this from our wrapper script as we most never use it for debugging  anymore however in the past it was<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Useful to compare the original qemu command line and the update qemu command line.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I don’t know if I have mentioned this before but we also have a Ubuntu version of our getting start guide that should merge shortly<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://review.openstack.org/#/c/243190/6/doc/source/getstarted/ubuntu.rst" target="_blank">https://review.openstack.org/#/c/243190/6/doc/source/getstarted/ubuntu.rst</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sean.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Prathyusha Guduri [mailto:<a href="mailto:prathyushaconnects@gmail.com" target="_blank">prathyushaconnects@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, November 24, 2015 12:42 PM<br>
<b>To:</b> Mooney, Sean K<br>
<b>Cc:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [networking-ovs-dpdk]<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi All,<br>
<br>
I also found another error while launching an instance.<br>
<br>
libvirtError: internal error: process exited while connecting to monitor: /usr/bin/kvm-spice: line 42: /tmp/qemu.orig: Permission denied<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I dont want to change any permissions manually and again face the dependency issues. So kindly help<u></u><u></u></p>
</div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<p class="MsoNormal">Prathyusha<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Nov 24, 2015 at 4:02 PM, Prathyusha Guduri <<a href="mailto:prathyushaconnects@gmail.com" target="_blank">prathyushaconnects@gmail.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Sean,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for you kind help.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I did the following.<br>
<br>
# apt-get install ubuntu-cloud-keyring<br>
# echo "deb <a href="http://www.google.com/url?q=http%3A%2F%2Fubuntu-cloud.archive.canonical.com%2Fubuntu&sa=D&sntz=1&usg=AFQjCNGlCfoplf1zSbILNxCSVK23zRxa2A" target="_blank">
http://ubuntu-cloud.archive.canonical.com/ubuntu</a>" \<br>
"trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list<br>
# apt-get update && apt-get dist-upgrade<u></u><u></u></p>
</div>
<p class="MsoNormal">and then uninstalled the libvirt and qemu that were installed manually and then ran stack.sh after cleaning and unstacking.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Now fortunately libvirt and qemu satisfy minimum requirements.<br>
<br>
$ virsh --version<br>
1.2.12<br>
 <br>
$ kvm --version<br>
/usr/bin/kvm: line 42: /tmp/qemu.orig: Permission denied<br>
QEMU emulator version 2.2.0 (Debian 1:2.2+dfsg-5expubuntu9.3~cloud0), Copyright (c) 2003-2008 Fabrice Bellard<br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Am using an ubuntu 14.04 system<br>
$ uname -a<br>
Linux ubuntu-Precision-Tower-5810 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">After stack.sh which was successful, tried creating a new instance - which gave an ERROR again.<br>
<br>
$ nova list<br>
+--------------------------------------+----------------+--------+------------+-------------+-------------------------------------------------------+<br>
| ID                                   | Name           | Status | Task State | Power State | Networks                                              |<br>
+--------------------------------------+----------------+--------+------------+-------------+-------------------------------------------------------+<br>
| 31a7e160-d04c-4216-91cf-30ce86c2b1fa | demo-instance1 | ERROR  | -          | NOSTATE     | private=10.0.0.3, fd34:f4c5:412:0:f816:3eff:fea4:b9fe |<br>
<br>
$ sudo service ovs-dpdk status<br>
sourcing config<br>
ovs alive<br>
VHOST_CONFIG: bind to /var/run/openvswitch/vhufb8052e5-d3<br>
2015-11-24T10:23:25Z|00126|dpdk|INFO|Socket /var/run/openvswitch/vhufb8052e5-d3 created for vhost-user port vhufb8052e5-d3<br>
2015-11-24T10:23:25Z|00004|dpif_netdev(pmd18)|INFO|Core 2 processing port 'vhufb8052e5-d3'<br>
2015-11-24T10:23:25Z|00002|dpif_netdev(pmd19)|INFO|Core 8 processing port 'dpdk0'<br>
2015-11-24T10:23:25Z|00127|bridge|INFO|bridge br-int: added interface vhufb8052e5-d3 on port 6<br>
2015-11-24T10:23:25Z|00005|dpif_netdev(pmd18)|INFO|Core 2 processing port 'dpdk0'<br>
2015-11-24T10:23:26Z|00128|connmgr|INFO|br-int<->unix: 1 flow_mods in the last 0 s (1 deletes)<br>
2015-11-24T10:23:26Z|00129|ofp_util|INFO|normalization changed ofp_match, details:<br>
2015-11-24T10:23:26Z|00130|ofp_util|INFO| pre: in_port=5,nw_proto=58,tp_src=136<br>
2015-11-24T10:23:26Z|00131|ofp_util|INFO|post: in_port=5<br>
2015-11-24T10:23:26Z|00132|connmgr|INFO|br-int<->unix: 1 flow_mods in the last 0 s (1 deletes)<br>
2015-11-24T10:23:26Z|00133|connmgr|INFO|br-int<->unix: 1 flow_mods in the last 0 s (1 deletes)<br>
2015-11-24T10:23:29Z|00134|bridge|WARN|could not open network device vhufb8052e5-d3 (No such device)<br>
VHOST_CONFIG: socket created, fd:52<br>
VHOST_CONFIG: bind to /var/run/openvswitch/vhufb8052e5-d3<br>
2015-11-24T10:23:29Z|00135|dpdk|INFO|Socket /var/run/openvswitch/vhufb8052e5-d3 created for vhost-user port vhufb8052e5-d3<br>
2015-11-24T10:23:29Z|00006|dpif_netdev(pmd18)|INFO|Core 2 processing port 'vhufb8052e5-d3'<br>
2015-11-24T10:23:29Z|00003|dpif_netdev(pmd19)|INFO|Core 8 processing port 'dpdk0'<br>
2015-11-24T10:23:29Z|00136|bridge|INFO|bridge br-int: added interface vhufb8052e5-d3 on port 7<br>
2015-11-24T10:23:30Z|00007|dpif_netdev(pmd18)|INFO|Core 2 processing port 'dpdk0'<br>
0<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I understand that ovs-dpdk is running. The error log of n-cpu.log is<br>
<br>
2015-11-24 15:47:27.957 ^[[01;31mERROR nova.compute.manager [^[[01;36mreq-24fc3f16-ccd5-4e2d-b583-60ade23bc1ed ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31m<span style="color:red">No compute node record for host ubuntu-Precision-Towe</span>r-5810^[[00m<br>
2015-11-24 15:47:27.964 ^[[01;33mWARNING nova.compute.monitors [^[[01;36mreq-24fc3f16-ccd5-4e2d-b583-60ade23bc1ed ^[[00;36mNone None^[[01;33m] ^[[01;35m^[[01;33mExcluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).^[[00m<br>
2015-11-24 15:47:27.964 ^[[00;36mINFO nova.compute.resource_tracker [^[[01;36mreq-24fc3f16-ccd5-4e2d-b583-60ade23bc1ed ^[[00;36mNone None^[[00;36m] ^[[01;35m^[[00;36mAuditing locally available compute resources for node ubuntu-Precision-Tower-5810^[[00m<br>
2015-11-24 15:47:28.087 ^[[00;32mDEBUG nova.compute.resource_tracker [^[[01;36mreq-24fc3f16-ccd5-4e2d-b583-60ade23bc1ed ^[[00;36mNone None^[[00;32m] ^[[01;35m^[[00;32mHypervisor: free VCPUs: 9^[[00m ^[[00;33mfrom (pid=7880) _report_hypervisor_resource_view
 /opt/stack/nova/nova/compute/resource_tracker.py:588^[[00m<u></u><u></u></p>
</div>
<p class="MsoNormal">I dont understand where am I missing out now. <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Nov 23, 2015 at 7:50 PM, Mooney, Sean K <<a href="mailto:sean.k.mooney@intel.com" target="_blank">sean.k.mooney@intel.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">qemu version was 2.0.0 does not support mapping hugepage as shared.<br>
as a result the dpdk implementation of vhost-user cannot function with this version.<br>
Similarly libvirt 1.2.2 has no knowledge of vhost-user.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">If you are on fedora 21 then the virt-preview repo packages the required Libvirt and qemu.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">On Ubuntu the kilo cloud archive also packages version that meet the minimum versions.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Looking at the log I would agree that this error is probably related to manually installing Libvirt and
<br>
not adding the appropriate libvirtd configuration options.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Devstack does not have native support for installing a vhost-user compatible Libvirt or qemu.<br>
when using our networking-ovs-dpdk plugin we ask you to enable the virt-prevew or cloud archive<br>
Before stacking so that when devestack install Libvirt/qemu it get compatible versions.
<br>
for centos as we have been unable to find an equivalent we explicitly install Libvirt/qemu.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">In general we don’t provide support for installing the required version Libvirt/qemu in<br>
the networking-ovs-dpdk devstack plugin.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">What os are you currently using? ubuntu?
<br>
in your case enabling the kilo cloud archive, uinstalling Libvirt/qemu and then restacking<br>
should provide the appropriate packages.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">In liberty we use that standard neutron openvswich agent binary and set the agent type to DPDK OVS Agent to enable<br>
the ovsdpdk ml2 driver to manage the node. In mitaka the standard ovs neutron agent and standard openvswitch ml2 drivers will be used instead.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">To confirm if ovs-dpdk is running you can use the following command<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;text-indent:36.0pt">
sudo service ovs-dpdk status<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">this will check if ovs-dpdk is running by reading the pid files and checking if the ovsdb and ovs-vswitchd
<br>
process are running and tail the last 20ish lines of the vswitchd log file.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">note this is not a systemd service so the systemd equivalent command will not work.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Alternative you can user ps and grep<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;text-indent:36.0pt">
ps aux | grep ovs<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">regards<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">sean.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Prathyusha Guduri [mailto:<a href="mailto:prathyushaconnects@gmail.com" target="_blank">prathyushaconnects@gmail.com</a>]
<br>
<b>Sent:</b> Monday, November 23, 2015 9:16 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [networking-ovs-dpdk]</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Sean,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for your help before. It would be great if you look into another issue too.
<u></u><u></u></p>
</div>
<p class="MsoNormal">Am able to run stack.sh successfully and all services are up. But,
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">libvirt version was 1.2.2 and qemu version was 2.0.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">To satisfy the minimum requirement of qemu- version >=2.1 and libvirt-version >= 1.2.10
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I manually installed qemu and libvirt from respective sources.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Now<br>
$ kvm --version<br>
 /usr/bin/kvm: line 42: /tmp/qemu.orig: Permission denied<br>
 QEMU emulator version 2.1.3, Copyright (c) 2003-2008 Fabrice Bellard<br>
<br>
$ virsh --version<br>
1.2.10<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">So basic requirement is satisfied.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Before creating an instance ran the below command,<br>
$ nova flavor-key m1.tiny set "hw:mem_page_size=large"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Now created an instance
<br>
$ nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64-uec --nic net-id=445e2dc5-221b-48ea-aea4-d04dee12fc7f --security-group default demo-instance1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It gives the ERROR :<br>
<br>
2015-11-23 13:19:59.654 ERROR nova.virt.libvirt.host [req-2d9d060d-1934-4e9e-af1c-010e177bea11 None None]
<span style="color:red">Connection to libvirt failed:</span> error from service: CheckAuthorization: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply
 timeout expired, or the network connection was broken.<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host Traceback (most recent call last):<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/opt/stack/nova/nova/virt/libvirt/host.py", line 527, in get_connection<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     conn = self._get_connection()<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/opt/stack/nova/nova/virt/libvirt/host.py", line 514, in _get_connection<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     wrapped_conn = self._get_new_connection()<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/opt/stack/nova/nova/virt/libvirt/host.py", line 466, in _get_new_connection<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     wrapped_conn = self._connect(self._uri, self._read_only)<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/opt/stack/nova/nova/virt/libvirt/host.py", line 320, in _connect<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     libvirt.openAuth, uri, auth, flags)<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     rv = execute(f, *args, **kwargs)<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     six.reraise(c, e, tb)<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     rv = meth(*args, **kwargs)<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host   File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host     if ret is None:raise libvirtError('virConnectOpenAuth() failed')<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host libvirtError: error from service: CheckAuthorization: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the
 reply timeout expired, or the network connection was broken.<br>
2015-11-23 13:19:59.654 TRACE nova.virt.libvirt.host <br>
Traceback (most recent call last):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I suspect this is because, I manually installed libvirt and qemu. My doubt is why devstack is not installing a correct version when it is supposed to. why a version less than min
 requirement is being installed??? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Now that because am installing manually, there might be a problem with groups - devstack creates some group and installs but manual installation doesn't bother about that groups.
<br>
Can you please suggest a way on how do avoid that???<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Also, I just want to make sure that the agent running is neutron-openvswitch only. No ovsdpdk agent running.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">$ ps -Al | grep neutron<br>
0 S  1000  8882  8859  3  80   0 - 49946 ep_pol pts/34   00:02:24 neutron-openvsw<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">But
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">$ neutron agent-list<br>
3385a430-5738-43cb-b853-059add5ab602 | DPDK OVS Agent | ubuntu-Precision-Tower-5810 | :-)   | True           | neutron-openvswitch-agent<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">So this implies that dpdk agent is running right??? I remember reading in launchpad bugs that ovsdpdk agent is removed and that now openvswitch takes care of everything. Just wanted to
 confirm that my setup has ovs-dpdk running.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Prathyusha<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Nov 18, 2015 at 7:23 PM, James Page <<a href="mailto:james.page@ubuntu.com" target="_blank">james.page@ubuntu.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi Sean<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Nov 18, 2015 at 12:30 PM, Mooney, Sean K <<a href="mailto:sean.k.mooney@intel.com" target="_blank">sean.k.mooney@intel.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi james</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Yes we are planning on testing the packaged release to see if it is compatible with our ml2 driver
 and the </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Changes we are submitting upstream. If it is we will add a use binary flag to our devstack plugin to
 skip the </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Compilation step and use that instead on 15.10 or 14.04 cloud-archive:liberty  </span><u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Excellent.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">As part of your packaging did ye fix pciutils to correctly report the unused drivers when an interface
 is bound</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The dpdk driver? Also does it support both igb_uio and/or vfio-pci drivers for dpdk interface?</span><u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Re pcituils, we've not done any work in that area - can you give an example of what you would expect?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The dpdk package supports both driver types in /etc/dpdk/interfaces - when you declare an adapter for use, you get to specify the module you want to use as well; we're relying the
 in-tree kernel drivers (uio-pci-generic and vfio-pci) right now.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Anyway yes I hope to check it out and seeing what ye have done. When ovs-dpdk starts getting packaged
 in more operating systems</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We will probably swap our default to the binary install though we will keep the source install option
 as it allows us to work on new features</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Before they are packaged and to have better performance.</span><u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">That sounds sensible; re 'better performance' - yeah we do have to baseline the optimizations at compile time right now (ssse3 only right now) , but I really hope that does change
 so that we can move to a runtime CPU feature detection model, allowing the best possible performance through the packages we have in Ubuntu (or any other distribution for that matter).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div>Best Regards.</div><div>Hui.</div><div><br></div>OpenStack Engineer<div><br></div></div></div>
</font></span></div>
</blockquote></div><br></div>