Red Hat Bugzilla – Bug 957377
openvswitch service not available after reboot
Last modified: 2016-04-26 16:03:52 EDT
Description of problem: After installing and configuring openvswitch, if the system is powered off or rebooted, the openvswitch service will not be autostarted, as expected Version-Release number of selected component (if applicable): openvswitch-1.9.0-1.el6.x86_64 How reproducible: Always Steps to Reproduce: # reboot # ovs-vsctl show 2013-04-27T19:52:27Z|00001|stream_unix|WARN|/var/run/openvswitch/db.sock: connection failed (No such file or directory) 2013-04-27T19:52:27Z|00002|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory) # service openvswitch status ovsdb-server is not running ovs-vswitchd is not running # chkconfig openvswitch --list service openvswitch supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add openvswitch') # chkconfig --add openvswitch # chkconfig openvswitch on # service openvswitch start Actual results: RPM scriptlet is missing the chkconfig --add routine, for example: # rpm -q openstack-nova-scheduler --scripts postinstall scriptlet (using /bin/sh): /sbin/chkconfig --add openstack-nova-scheduler ... Additional information: RDO/Grizzly on RHEL 6.4
Fixed in openvswitch-1.9.0-2.el6
Verified on grizzly running on rhel6.4 with openvswitch-1.9.0-2.el6ost.x86_64 (puddle 2013-06-13.2). I rebooted all my env machines after packstack installation, openvswitch is up and respond to "ovs-vsctl show" command: $ /etc/init.d/openvswitch status ovsdb-server is running with pid 1316 ovs-vswitchd is running with pid 1326 $ ovs-vsctl show 58cdf24e-163c-4538-9eae-5d0f7888035d Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth2.185" Interface "eth2.185" Port "tap260f2d67-72" Interface "tap260f2d67-72" Bridge br-vlans Port br-vlans Interface br-vlans type: internal Port "eth2" Interface "eth2" Port phy-br-vlans Interface phy-br-vlans Bridge br-int Port "tapef23b7a9-82" tag: 2 Interface "tapef23b7a9-82" Port "tap773a6b2a-c0" tag: 1 Interface "tap773a6b2a-c0" Port "tap8f82a29a-81" tag: 2 Interface "tap8f82a29a-81" Port br-int Interface br-int type: internal Port int-br-vlans Interface int-br-vlans Port "tap6603dcc0-79" tag: 1 Interface "tap6603dcc0-79" ovs_version: "1.9.0"
Edited Doc Text for errata
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0968.html