[Bug 1765940] Re: package openvswitch-switch 2.5.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

James Page james.page at ubuntu.com
Thu Nov 22 12:08:20 UTC 2018


I think the openvswitch-nonetwork systemd unit is failing to start - you
can take a look using:

   sudo systemctl status openvswitch-nonetwork

   sudo journalctl -xe -u openvswitch-nonetwork.service

/var/log/openvswitch log files may also contain more information.

I can't see the openvswitch module being loaded in the dmesg output so
that might be something todo with this.

** Changed in: openvswitch (Ubuntu)
       Status: New => Incomplete

** Changed in: openvswitch (Ubuntu)
   Importance: Undecided => Low

-- 
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/1765940

Title:
  package openvswitch-switch 2.5.0-0ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in openvswitch package in Ubuntu:
  Incomplete

Bug description:
  sudo apt install openvswitch-switch
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    openvswitch-common
  The following NEW packages will be installed:
    openvswitch-common openvswitch-switch
  0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
  Need to get 1,817 kB of archives.
  After this operation, 8,041 kB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 openvswitch-common amd64 2.5.0-0ubuntu1 [659 kB]
  Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 openvswitch-switch amd64 2.5.0-0ubuntu1 [1,158 kB]
  Fetched 1,817 kB in 3s (504 kB/s)             
  Selecting previously unselected package openvswitch-common.
  (Reading database ... 189078 files and directories currently installed.)
  Preparing to unpack .../openvswitch-common_2.5.0-0ubuntu1_amd64.deb ...
  Unpacking openvswitch-common (2.5.0-0ubuntu1) ...
  Selecting previously unselected package openvswitch-switch.
  Preparing to unpack .../openvswitch-switch_2.5.0-0ubuntu1_amd64.deb ...
  Unpacking openvswitch-switch (2.5.0-0ubuntu1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for systemd (229-4ubuntu21.2) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Setting up openvswitch-common (2.5.0-0ubuntu1) ...
  Setting up openvswitch-switch (2.5.0-0ubuntu1) ...
  update-alternatives: using /usr/lib/openvswitch-switch/ovs-vswitchd to provide /usr/sbin/ovs-vswitchd (ovs-vswitchd) in auto mode
  A dependency job for openvswitch-switch.service failed. See 'journalctl -xe' for details.
  invoke-rc.d: initscript openvswitch-switch, action "start" failed.
  ● openvswitch-switch.service - Open vSwitch
     Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled)
     Active: inactive (dead)

  Apr 21 21:16:33 vishnu-VirtualBox systemd[1]: openvswitch-switch.service: Jo....
  Apr 21 21:16:44 vishnu-VirtualBox systemd[1]: Stopped Open vSwitch.
  Apr 21 21:16:44 vishnu-VirtualBox systemd[1]: Dependency failed for Open vSw....
  Apr 21 21:16:44 vishnu-VirtualBox systemd[1]: openvswitch-switch.service: Jo....
  Apr 21 21:34:19 vishnu-VirtualBox systemd[1]: Stopped Open vSwitch.
  Apr 21 21:34:19 vishnu-VirtualBox systemd[1]: Dependency failed for Open vSw....
  Apr 21 21:34:19 vishnu-VirtualBox systemd[1]: openvswitch-switch.service: Jo....
  Apr 21 21:45:25 vishnu-VirtualBox systemd[1]: Stopped Open vSwitch.
  Apr 21 21:47:04 vishnu-VirtualBox systemd[1]: Dependency failed for Open vSw....
  Apr 21 21:47:04 vishnu-VirtualBox systemd[1]: openvswitch-switch.service: Jo....
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: error processing package openvswitch-switch (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for systemd (229-4ubuntu21.2) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Errors were encountered while processing:
   openvswitch-switch
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openvswitch-switch 2.5.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.16
  AptOrdering:
   openvswitch-common: Install
   openvswitch-switch: Install
   openvswitch-common: Configure
   openvswitch-switch: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Sat Apr 21 21:47:04 2018
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2018-04-15 (6 days ago)
  InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.26
  SourcePackage: openvswitch
  Title: package openvswitch-switch 2.5.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the Ubuntu-openstack-bugs mailing list