<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font style="font-size: 10pt;" color="#366092" face="Tahoma" size="2">Hi Dan,<br><br>I am having internet connectivity issues on the node that I was installing the new devstack script. Hope it gets resolved today and then I would send 'git log' output to you.<br>Also, although the line number that I reported is different from the one you sent, I think these lines are the same (may be some code has been added to the new devstack script).<br><br>Vinay, I got around this problem by replacing </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">$QUANTUM_OVS_CONF_FILE with </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">$QUANTUM_PLUGIN_INI_FILE in line 1062 (assuming you are using the same stack.sh as I was) of the stack.sh file. But as Dan said may be we could remove this line altogether (I haven't tried doing that yet).<br><br>Thanks,<br>Salman<br id="FontBreak"></font><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: dan@nicira.com<br>Date: Sun, 13 May 2012 22:54:18 -0700<br>Subject: Re: [Openstack] Devstack installation script changed ?<br>To: salmanmk@live.com; openstack@lists.launchpad.net<br><br><br><br><div class="ecxgmail_quote">On Sun, May 13, 2012 at 12:24 PM, Salman Malik <span dir="ltr"><<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr"><div><div><div class="ecxim"><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font color="#366092" face="Tahoma"><br><br>In the latest script that I downloaded, I had a problem in the following line:<br>

<a href="https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1062" style="font-size:10pt" target="_blank">https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1062</a><br>

where instead of having $QUANTUM_PLUGIN_INI_FILE at the end of line, I had $QUANTUM_OVS_CONF_FILE. Changing it had fixed this issue but now I am seeing another problem related to ovsdb-server.<br></font></div></div>

</blockquote>

<div><br></div></div><div><div class="ecxim">The "provider =" line belongs in the QUANTUM_PLUGIN_INI_FILE , its impossible for things to have worked without that.  Perhaps you tweaked the file?  Either that or perhaps someone temporarily submitted a change to devstack that broke things.  <br>

<br></div><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">I think you have misunderstood me here. In the latest script I had </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"> $QUANTUM_OVS_CONF_FILE in the line mentioned above, rather than having </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"> $QUANTUM_PLUGIN_INI_FILE (which as you said contains the provider info). So I replaced </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">$QUANTUM_OVS_CONF_FILE with </font><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">$QUANTUM_PLUGIN_INI_FILE.</font></div>

</div></div></div></div></blockquote><div><br></div><div>I'm confused here, as the git history says that this line in the file hasn't changed since March, so it seems odd that it would have say $QUANTUM_OVS_CONF_FILE, rather than the correct $QUANTUM_PLUGIN_INI file.  See: <a href="https://github.com/openstack-dev/devstack/blame/master/stack.sh" target="_blank">https://github.com/openstack-dev/devstack/blame/master/stack.sh</a></div>

<div><br></div><div>Perhaps I'm still misunderstanding you.  Can you reproduce this on a clean checkout of devstack?  If so, can you send me the first couple lines from running "git log" in the devstack directory? </div>

<div><br></div><div>Dan</div><div><br></div><div><br></div><div> </div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><div><div class="ecxim">

<div> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"><br>When doing sudo ovs-vsctl --no-wait -- --if -exists del-br br-int, script outputs show the following warning:<br>



<br>May 13 11:55:46|00002|stream_unix|ERR|/tmp/stream-unix.3587.o:connection to /use/local/var/run/openvswitch/db.sock failed: No such file or directory<br>and then it keeps on attempting to reconnect.<br></font></div></div>



</blockquote><div><br></div><div>are you able to run ovs-vsctl commands outside of devstack?</div></div><div><br><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">Yes, I am able to run ovs-vsctl outside of devstack.</font><br>

<br></div><div class="ecxim"><div>For example, </div><div><br></div><div>sudo ovs-vsctl --version</div><div> </div></div><div><div class="ecxim">Did you install OVS by yourself, or just using the packages referenced by devstack?  Anything interesting in /var/log/openvswitch ? <br>

<br></div><font style="font-size:10pt" color="#366092" face="Tahoma" size="2">I installed OVS by myself as well, because after enabling OVS plugin stack.sh was failing with missing ini file, so I installed OVS separately in hope that it would work correctly with devstack.<br>

<br>Thanks,<br>Salman<br></font></div><div><div class="h5">

<div><br></div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"><br>I have checked that ovsdb-server is running. <br>



<br>Any thoughts?<br><br>Salman<br></font><br><br><br><div><div></div><hr>From: <a href="mailto:dan@nicira.com">dan@nicira.com</a><br>Date: Sat, 12 May 2012 19:25:30 -0700<br>Subject: Re: [Openstack] Devstack installation script changed ?<br>



To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><div><div><br><br><br><br><div>

On Sat, May 12, 2012 at 7:07 PM, Salman Malik <span dir="ltr"><<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">








<div><div dir="ltr">
<font style="font-size:10pt" color="#366092" face="Tahoma" size="2">Hi,<br></font></div></div></blockquote><div><br></div><div>The devstack script changes all the time actually, see: <a href="https://github.com/openstack-dev/devstack/commits/master" target="_blank">https://github.com/openstack-dev/devstack/commits/master</a></div>





<div> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"><br>I am asking this because last time when I tried devstack on virtualbox, I got OpenVswitch plugin installed with it (along with ovs_quantum_plugin.ini file) and could use it with quantum but now when I am trying to install devstack on a physical node, the script isn't installing open vswitch plugin because the directory structure of installed files seems to be different because when I run ./stack.sh after adding q-agt and q-svc to enabled services in localrc, the installation fails complaining that /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini is not found. But this path was present in my previous installation on virtualbox (I don't seem to remember if I had done anything special to get this plugin config in this path).<br>





</font></div></div></blockquote><div><br></div><div><br></div><div>Devstack with Quantum create /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini, using /opt/stack/quantum/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini as the initial version.  </div>





<div><br></div><div>See: <a href="https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1103" target="_blank">https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1103</a></div><div><br></div><div>Dan</div>



<div><br>
</div>
<div> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"><br>Comments please?<span><font color="#888888"><br>

<br>Salman<br></font></span></font>                                         </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>





~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br></div></div></div>                                       </div></div>
</blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>

<div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br></div></div></div>                                       </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br></div>                                       </div></body>
</html>