top-posting.

is there any progress on this? I know other projects (genius, to be specific) is
now being affected.

Thanks,
JamO

On 10/13/2017 04:31 AM, Anil Belur wrote:
> Helllo Luis:
> 
> After starting a VM (Ubuntu 16.04, mininnet-ovs-25), the logs show the same 
> that the daemon is not available.
> 
>                                                                             
> # cat /var/log/openvswitch/ovs-vswitchd.log 
> 2017-10-13T11:01:03.646Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> connected
> 2017-10-13T11:01:03.648Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.5.2
> 2017-10-13T11:01:04.150Z|00002|daemon_unix(monitor)|INFO|pid 3691 died, exit 
> status 0, exiting
> 
> # cat /var/log/openvswitch/ovsdb-server.log 
> 2017-10-13T11:01:03.636Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 
> 2.5.2 
> 2017-10-13T11:01:04.152Z|00002|daemon_unix(monitor)|INFO|pid 3681 died, exit 
> status 0, exiting
> 
> However, you can see that the service is still running?
> # service openvswitch-switch status  
> ●openvswitch-switch.service - Open vSwitch
>   Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; 
> vendor preset: enabled)
>   Active: active (exited)since Fri 2017-10-13 11:01:03 UTC; 2min 40s ago
> Main PID: 3698 (code=exited, status=0/SUCCESS)
>    Tasks: 0
>   Memory: 0B
>      CPU: 0
>   CGroup: /system.slice/openvswitch-switch.service
> 
> Oct 13 11:01:03 abelur-test-mininet-ovs-25 systemd[1]: Starting Open 
> vSwitch...
> Oct 13 11:01:03 abelur-test-mininet-ovs-25 systemd[1]: Started Open vSwitch.
> 
> After restarting the openvswitch-switch service the logs looks bit different. 
> 
> # tailf /var/log/openvswitch/ovsdb-server.log
> ...
> 2017-10-13T11:01:04.152Z|00002|daemon_unix(monitor)|INFO|pid 3681 died, exit 
> status 0, exiting
> 2017-10-13T11:08:38.830Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovsdb-server.log
> 2017-10-13T11:08:38.832Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 
> 2.5.2
> 
> # tailf /var/log/openvswitch/ovs-vswitchd.log
> ..
> 2017-10-13T11:08:38.840Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovs-vswitchd.log
> 2017-10-13T11:08:38.841Z|00002|ovs_numa|INFO|Discovered 2 CPU cores on NUMA 
> node 0
> 2017-10-13T11:08:38.841Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 2 
> CPU cores
> 2017-10-13T11:08:38.841Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connecting...
> 2017-10-13T11:08:38.841Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connected
> 2017-10-13T11:08:38.843Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.5.2
> 
> Is it a requirement to restart OVS post install? If required, we can build a 
> new image for `mininet-ovs-25` or alternatively
> we can temporarily prefix the scripts to restart OVS similar to the below 
> command?
> 
> `sudo service openvswitch-switch restart`
> 
> Also Job number #12 has passed two days ago, I don't think anything changed 
> on VM after that, it would be a good idea to
> investigate what has changed in the last 2 days causing 1node sanity tests to 
> fail.
> 
> Probably Thanh should be up by now, if we need to build a new image or will 
> check the status morning in a few hours and build
> a new image.
> 
> [1.] 
> https://jenkins.opendaylight.org/releng/view/Sanity-Jobs/job/openflowplugin-csit-1node-sanity-only-oxygen/12/
>  
> 
> Thanks,
> Anil
> 
> 
> 
> On Fri, Oct 13, 2017 at 5:31 PM, Luis Gomez <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Hi Anil,
> 
>     I added some log printout for the VM and it seems the OVS dies 3.5 
> minutes after it is started, can you please bring
>     manually 1 VM and verify why is this happening?
> 
>     sudo cat /var/log/openvswitch/ovs-vswitchd.log
>     2017-10-13T07:05:17.896Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovs-vswitchd.log
>     2017-10-13T07:05:17.948Z|00002|ovs_numa|INFO|Discovered 2 CPU cores on 
> NUMA node 0
>     2017-10-13T07:05:17.948Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 
> 2 CPU cores
>     
> 2017-10-13T07:05:17.948Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connecting...
>     
> 2017-10-13T07:05:17.948Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connected
>     2017-10-13T07:05:17.950Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 
> 2.5.2
>     2017-10-13T07:08:39.345Z|00007|memory|INFO|8268 kB peak resident set size 
> after 201.4 seconds
>     2017-10-13T07:08:39.347Z|00002|daemon_unix(monitor)|INFO|pid 1647 died, 
> exit status 0, exiting
>     2017-10-13T07:09:08.300Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovs-vswitchd.log
>     2017-10-13T07:09:08.301Z|00002|ovs_numa|INFO|Discovered 2 CPU cores on 
> NUMA node 0
>     2017-10-13T07:09:08.301Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 
> 2 CPU cores
>     
> 2017-10-13T07:09:08.301Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connecting...
>     
> 2017-10-13T07:09:08.302Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
>  connected
>     2017-10-13T07:09:08.304Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 
> 2.5.2
>     2017-10-13T07:09:09.089Z|00002|daemon_unix(monitor)|INFO|pid 4938 died, 
> exit status 0, exiting
> 
>     /var/log/openvswitch/ovsdb-server.log
>     017-10-13T07:05:17.703Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovsdb-server.log
>     2017-10-13T07:05:17.709Z|00002|ovsdb_server|INFO|ovsdb-server (Open 
> vSwitch) 2.5.2
>     2017-10-13T07:05:27.715Z|00003|memory|INFO|3456 kB peak resident set size 
> after 10.0 seconds
>     2017-10-13T07:05:27.715Z|00004|memory|INFO|cells:16 monitors:1 sessions:1
>     2017-10-13T07:08:39.349Z|00002|daemon_unix(monitor)|INFO|pid 1594 died, 
> exit status 0, exiting
>     2017-10-13T07:09:08.285Z|00001|vlog|INFO|opened log file 
> /var/log/openvswitch/ovsdb-server.log
>     2017-10-13T07:09:08.288Z|00002|ovsdb_server|INFO|ovsdb-server (Open 
> vSwitch) 2.5.2
>     2017-10-13T07:09:09.191Z|00002|daemon_unix(monitor)|INFO|pid 4928 died, 
> exit status 0, exiting
> 
>     FYI The test starts at 07:10:19 and by then the OVS is not available.
> 
>     Thanks/Luis
> 
> 
>     > On Oct 12, 2017, at 8:48 PM, Anil Belur <[email protected] 
> <mailto:[email protected]>> wrote:
>     >
>     >
>     >
>     > On Fri, Oct 13, 2017 at 6:32 AM, Luis Gomez <[email protected] 
> <mailto:[email protected]>> wrote:
>     > FYI, since yesterday OF csit jobs are failing:
>     >
>     > 
> https://jenkins.opendaylight.org/releng/view/Sanity-Jobs/job/openflowplugin-csit-1node-sanity-only-oxygen/
>     
> <https://jenkins.opendaylight.org/releng/view/Sanity-Jobs/job/openflowplugin-csit-1node-sanity-only-oxygen/>
>     >
>     > Looking at the robot log, it seems like OVS is not installed in 
> mininet-ovs-25 VM:
>     >
>     > *** Creating network
>     > *** Adding controller
>     > *** Adding hosts:
>     > h1 h2 h3 h4
>     > *** Adding switches:
>     > ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection 
> failed (No such file or directory)
>     > ovs-vsctl exited with code 1
>     > *** Error connecting to ovs-db with ovs-vsctl
>     > Make sure that Open vSwitch is installed, that ovsdb-server is running, 
> and that
>     > "ovs-vsctl show" works correctly.
>     > You may wish to try "service openvswitch-switch start".
>     > [jenkins@releng-09818-14-1-mininet-ovs-25-0 ~]>
>     >
>     >
>     > Has anything changed lately in this VM?
>     >
>     >
>     >
>     > Luis, Nothing has changed recently on the VM images, from the logs in 
> [1.] shows OVS install is going through while
>     these images were updates during September.
>     >
>     > [1.] 
> https://logs.opendaylight.org/releng/jenkins092/builder-packer-merge-ubuntu-16.04-mininet-ovs-2.5/6/
>     
> <https://logs.opendaylight.org/releng/jenkins092/builder-packer-merge-ubuntu-16.04-mininet-ovs-2.5/6/>
>     >
>     > Thanks,
>     > Anil
>     >     public_cloud: ---> Install OpenVSwitch 2.5.0
>     >     public_cloud: Get:1
>     > http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu>
>     >  xenial-security InRelease [102 kB]
>     >     public_cloud: Hit:2
>     > http://us.archive.ubuntu.com/ubuntu 
> <http://us.archive.ubuntu.com/ubuntu>
>     >  xenial InRelease
>     >     public_cloud: Hit:3
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial InRelease
>     >     public_cloud: Get:4
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates InRelease [102 kB]
>     >     public_cloud: Get:5
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-backports InRelease [102 kB]
>     >     public_cloud: Ign:6
>     > http://apt.puppetlabs.com
>     >  xenial InRelease
>     >     private_cloud: mv -f 
> thrift/parse/.deps/thrift_thrift_bootstrap-t_typedef.Tpo
>     thrift/parse/.deps/thrift_thrift_bootstrap-t_typedef.Po
>     >     private_cloud: g++ -DHAVE_CONFIG_H -I. -I../../.. 
> -I../../../lib/cpp/src/thrift -I../../../lib/c_glib/src/thrift   
>     -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT 
> thrift/parse/thrift_thrift_bootstrap-parse.o -MD -MP -MF
>     thrift/parse/.deps/thrift_thrift_bootstrap-parse.Tpo -c -o 
> thrift/parse/thrift_thrift_bootstrap-parse.o `test -f
>     'thrift/parse/
>     > parse.cc' || echo './'`thrift/parse/parse.cc
>     >
>     >     public_cloud: Hit:7
>     > http://apt.puppetlabs.com
>     >  xenial Release
>     >     public_cloud: Get:8
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/main amd64 Packages [632 kB]
>     >     public_cloud: Get:9
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/universe amd64 Packages [528 kB]
>     >     private_cloud: mv -f 
> thrift/parse/.deps/thrift_thrift_bootstrap-parse.Tpo
>     thrift/parse/.deps/thrift_thrift_bootstrap-parse.Po
>     >     private_cloud: g++ -DHAVE_CONFIG_H -I. -I../../.. 
> -I../../../lib/cpp/src/thrift -I../../../lib/c_glib/src/thrift   
>     -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT 
> thrift/generate/thrift_thrift_bootstrap-t_cpp_generator.o -MD -MP -MF
>     thrift/generate/.deps/thrift_thrift_bootstrap-t_cpp_generator.Tpo -c -o
>     thrift/generate/thrift_thrift_bootstrap-t_cpp_generator.o `test -f 
> 'thrift/generate/t_cpp_generator.cc' || echo
>     './'`thrift/generate/t_cpp_generator.cc
>     >     public_cloud: Fetched 1,466 kB in 1s (1,391 kB/s)
>     >     public_cloud: Reading package lists...
>     >     public_cloud: + apt-get install openvswitch-switch openvswitch-vtep
>     >     public_cloud: Reading package lists...
>     >     public_cloud: Building dependency tree...
>     >     public_cloud: Reading state information...
>     >     public_cloud: The following packages were automatically installed 
> and are no longer required:
>     >     public_cloud: fonts-lato javascript-common libjs-jquery libruby2.3 
> rake ruby
>     >     public_cloud: ruby-did-you-mean ruby-json ruby-minitest 
> ruby-net-telnet ruby-power-assert
>     >     public_cloud: ruby-test-unit ruby2.3 rubygems-integration virt-what
>     >     public_cloud: Use 'apt autoremove' to remove them.
>     >     public_cloud: The following additional packages will be installed:
>     >     public_cloud: openvswitch-common python-openvswitch
>     >     public_cloud: The following NEW packages will be installed:
>     >     public_cloud: openvswitch-common openvswitch-switch 
> openvswitch-vtep python-openvswitch
>     >     public_cloud: 0 upgraded, 4 newly installed, 0 to remove and 1 not 
> upgraded.
>     >     public_cloud: Need to get 2,066 kB of archives.
>     >     public_cloud: After this operation, 9,001 kB of additional disk 
> space will be used.
>     >     public_cloud: Get:1
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/main amd64 openvswitch-common amd64 
> 2.5.2-0ubuntu0.16.04.1 [657 kB]
>     >     public_cloud: Get:2
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/main amd64 openvswitch-switch amd64 
> 2.5.2-0ubuntu0.16.04.1 [1,152 kB]
>     >     public_cloud: Get:3
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/main amd64 python-openvswitch all 
> 2.5.2-0ubuntu0.16.04.1 [66.4 kB]
>     >     public_cloud: Get:4
>     > http://rackspace.clouds.archive.ubuntu.com/ubuntu 
> <http://rackspace.clouds.archive.ubuntu.com/ubuntu>
>     >  xenial-updates/universe amd64 openvswitch-vtep amd64 
> 2.5.2-0ubuntu0.16.04.1 [191 kB]
>     >     public_cloud: Fetched 2,066 kB in 7s (276 kB/s)
>     >     public_cloud: Selecting previously unselected package 
> openvswitch-common.
>     >     public_cloud: (Reading database ... 129088 files and directories 
> currently installed.)
>     >     public_cloud: Preparing to unpack 
> .../openvswitch-common_2.5.2-0ubuntu0.16.04.1_amd64.deb ...
>     >     public_cloud: Unpacking openvswitch-common (2.5.2-0ubuntu0.16.04.1) 
> ...
>     >     public_cloud: Selecting previously unselected package 
> openvswitch-switch.
>     >     public_cloud: Preparing to unpack 
> .../openvswitch-switch_2.5.2-0ubuntu0.16.04.1_amd64.deb ...
>     >     public_cloud: Unpacking openvswitch-switch (2.5.2-0ubuntu0.16.04.1) 
> ...
>     >     public_cloud: Selecting previously unselected package 
> python-openvswitch.
>     >     public_cloud: Preparing to unpack 
> .../python-openvswitch_2.5.2-0ubuntu0.16.04.1_all.deb ...
>     >     public_cloud: Unpacking python-openvswitch (2.5.2-0ubuntu0.16.04.1) 
> ...
>     >     public_cloud: Selecting previously unselected package 
> openvswitch-vtep.
>     >     public_cloud: Preparing to unpack 
> .../openvswitch-vtep_2.5.2-0ubuntu0.16.04.1_amd64.deb ...
>     >     public_cloud: Unpacking openvswitch-vtep (2.5.2-0ubuntu0.16.04.1) 
> ...
>     >     public_cloud: Processing triggers for man-db (2.7.5-1) ...
>     >     public_cloud: Processing triggers for systemd (229-4ubuntu19) ...
>     >     public_cloud: Processing triggers for ureadahead (0.100.0-19) ...
>     >     public_cloud: Setting up openvswitch-common 
> (2.5.2-0ubuntu0.16.04.1) ...
>     >     public_cloud: Setting up openvswitch-switch 
> (2.5.2-0ubuntu0.16.04.1) ...
>     >     public_cloud: update-alternatives: using 
> /usr/lib/openvswitch-switch/ovs-vswitchd to provide /usr/sbin/ovs-vswitchd
>     (ovs-vswitchd) in auto mode
>     >     public_cloud: openvswitch-nonetwork.service is a disabled or a 
> static unit, not starting it.
>     >     public_cloud: Setting up python-openvswitch 
> (2.5.2-0ubuntu0.16.04.1) ...
>     >     public_cloud: Setting up openvswitch-vtep (2.5.2-0ubuntu0.16.04.1) 
> ...
>     >     public_cloud: Processing triggers for systemd (229-4ubuntu19) ...
>     >     public_cloud: Processing triggers for ureadahead (0.100.0-19) ...
>     >
> 
> 
> 
> 
> _______________________________________________
> integration-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/integration-dev
> 
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to