← Back to team overview

openstack team mailing list archive

Re: Devstack installation script changed ?

 

Hi Dan,

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.
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).

Vinay, I got around this problem by replacing $QUANTUM_OVS_CONF_FILE with $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).

Thanks,
Salman

From: dan@xxxxxxxxxx
Date: Sun, 13 May 2012 22:54:18 -0700
Subject: Re: [Openstack] Devstack installation script changed ?
To: salmanmk@xxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx



On Sun, May 13, 2012 at 12:24 PM, Salman Malik <salmanmk@xxxxxxxx> wrote:







In the latest script that I downloaded, I had a problem in the following line:


https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1062


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.





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.  



I think you have misunderstood me here. In the latest script I had  $QUANTUM_OVS_CONF_FILE in the line mentioned above, rather than having  $QUANTUM_PLUGIN_INI_FILE (which as you said contains the provider info). So I replaced $QUANTUM_OVS_CONF_FILE with $QUANTUM_PLUGIN_INI_FILE.


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: https://github.com/openstack-dev/devstack/blame/master/stack.sh


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? 


Dan

 

 
When doing sudo ovs-vsctl --no-wait -- --if -exists del-br br-int, script outputs show the following warning:





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
and then it keeps on attempting to reconnect.





are you able to run ovs-vsctl commands outside of devstack?
Yes, I am able to run ovs-vsctl outside of devstack.



For example, 
sudo ovs-vsctl --version Did you install OVS by yourself, or just using the packages referenced by devstack?  Anything interesting in /var/log/openvswitch ? 



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.



Thanks,
Salman




I have checked that ovsdb-server is running. 





Any thoughts?

Salman



From: dan@xxxxxxxxxx
Date: Sat, 12 May 2012 19:25:30 -0700
Subject: Re: [Openstack] Devstack installation script changed ?




To: salmanmk@xxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx





On Sat, May 12, 2012 at 7:07 PM, Salman Malik <salmanmk@xxxxxxxx> wrote:










Hi,

The devstack script changes all the time actually, see: https://github.com/openstack-dev/devstack/commits/master





 
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).








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.  






See: https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1103
Dan






 
Comments please?



Salman
 		 	   		  

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : openstack@xxxxxxxxxxxxxxxxxxx

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp




-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt Nicira, Inc: www.nicira.com
twitter: danwendlandt






~~~~~~~~~~~~~~~~~~~~~~~~~~~

 		 	   		  


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt Nicira, Inc: www.nicira.com


twitter: danwendlandt


~~~~~~~~~~~~~~~~~~~~~~~~~~~

 		 	   		  


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt Nicira, Inc: www.nicira.com
twitter: danwendlandt


~~~~~~~~~~~~~~~~~~~~~~~~~~~

 		 	   		  

References