[Bug 1645323] [NEW] Openvswitch-ipsec daemon fails to start

Neil Wilson neil at aldur.co.uk
Mon Nov 28 13:44:37 UTC 2016


Public bug reported:

The Openvswitch IPSEC daemon fails to start


Nov 28 13:15:57 srv-yz20n systemd[1]: Starting LSB: Open vSwitch GRE-over-IPsec daemon...
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:  * Starting ovs-monitor-ipsec
Nov 28 13:15:58 srv-yz20n python[18360]: ovs|  0  | ovs-monitor-ipsec | ERR | traceback
                                         Traceback (most recent call last):
                                           File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 489, in <module>
                                             main()
                                           File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 410, in main
                                             schema_helper = ovs.db.idl.SchemaHelper()
                                           File "/usr/lib/python2.7/dist-packages/ovs/db/idl.py", line 1696, in __init__
                                             schema_json = ovs.json.from_file(location)
                                           File "/usr/lib/python2.7/dist-packages/ovs/json.py", line 60, in from_file
                                             stream = open(name, "r")
                                         IOError: [Errno 2] No such file or directory: '/usr/local/share/openvswitch/vswitch.ovsschema'
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: 2016-11-28T13:15:58Z |  0  | ovs-monitor-ipsec | ERR | traceback
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: Traceback (most recent call last):
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 489, in <module>
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     main()
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 410, in main
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     schema_helper = ovs.db.idl.SchemaHelper()
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/lib/python2.7/dist-packages/ovs/db/idl.py", line 1696, in __init__
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     schema_json = ovs.json.from_file(location)
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/lib/python2.7/dist-packages/ovs/json.py", line 60, in from_file
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     stream = open(name, "r")
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: IOError: [Errno 2] No such file or directory: '/usr/local/share/openvswitch/vswitch.ovsschema'
Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:    ...fail!
Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Control process exited, code=exited status=1
Nov 28 13:15:58 srv-yz20n systemd[1]: Failed to start LSB: Open vSwitch GRE-over-IPsec daemon.
Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Unit entered failed state.
Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Failed with result 'exit-code'.


It's looking in /usr/local/share rather than /usr/share

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: openvswitch-ipsec 2.6.0-0ubuntu2
ProcVersionSignature: User Name 4.8.0-26.28-generic 4.8.0
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Mon Nov 28 13:42:06 2016
SourcePackage: openvswitch
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: openvswitch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug uec-images yakkety

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1645323

Title:
  Openvswitch-ipsec daemon fails to start

Status in openvswitch package in Ubuntu:
  New

Bug description:
  The Openvswitch IPSEC daemon fails to start

  
  Nov 28 13:15:57 srv-yz20n systemd[1]: Starting LSB: Open vSwitch GRE-over-IPsec daemon...
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:  * Starting ovs-monitor-ipsec
  Nov 28 13:15:58 srv-yz20n python[18360]: ovs|  0  | ovs-monitor-ipsec | ERR | traceback
                                           Traceback (most recent call last):
                                             File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 489, in <module>
                                               main()
                                             File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 410, in main
                                               schema_helper = ovs.db.idl.SchemaHelper()
                                             File "/usr/lib/python2.7/dist-packages/ovs/db/idl.py", line 1696, in __init__
                                               schema_json = ovs.json.from_file(location)
                                             File "/usr/lib/python2.7/dist-packages/ovs/json.py", line 60, in from_file
                                               stream = open(name, "r")
                                           IOError: [Errno 2] No such file or directory: '/usr/local/share/openvswitch/vswitch.ovsschema'
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: 2016-11-28T13:15:58Z |  0  | ovs-monitor-ipsec | ERR | traceback
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: Traceback (most recent call last):
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 489, in <module>
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     main()
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/share/openvswitch/scripts/ovs-monitor-ipsec", line 410, in main
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     schema_helper = ovs.db.idl.SchemaHelper()
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/lib/python2.7/dist-packages/ovs/db/idl.py", line 1696, in __init__
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     schema_json = ovs.json.from_file(location)
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:   File "/usr/lib/python2.7/dist-packages/ovs/json.py", line 60, in from_file
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:     stream = open(name, "r")
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]: IOError: [Errno 2] No such file or directory: '/usr/local/share/openvswitch/vswitch.ovsschema'
  Nov 28 13:15:58 srv-yz20n openvswitch-ipsec[18332]:    ...fail!
  Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Control process exited, code=exited status=1
  Nov 28 13:15:58 srv-yz20n systemd[1]: Failed to start LSB: Open vSwitch GRE-over-IPsec daemon.
  Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Unit entered failed state.
  Nov 28 13:15:58 srv-yz20n systemd[1]: openvswitch-ipsec.service: Failed with result 'exit-code'.

  
  It's looking in /usr/local/share rather than /usr/share

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: openvswitch-ipsec 2.6.0-0ubuntu2
  ProcVersionSignature: User Name 4.8.0-26.28-generic 4.8.0
  Uname: Linux 4.8.0-26-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  Date: Mon Nov 28 13:42:06 2016
  SourcePackage: openvswitch
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1645323/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list