[PKG-Openstack-devel] Bug#880498: openvswitch-switch: Fails to install due to failure to restart service
Neil Williams
codehelp at debian.org
Wed Nov 1 13:14:22 UTC 2017
Package: openvswitch-switch
Version: 2.8.1+dfsg1-2
Severity: serious
Justification: postinst exits status 5, fails to install
Setting up openvswitch-switch (2.8.1+dfsg1-2) ...
Installing new version of config file /etc/init.d/openvswitch-switch ...
Created symlink /etc/systemd/system/multi-user.target.wants/openvswitch-switch.service → /lib/systemd/system/openvswitch-switch.service.
Failed to restart openvswitch-switch.service: Unit openvswitch-nonetwork.service not found.
invoke-rc.d: initscript openvswitch-switch, action "restart" failed.
● openvswitch-switch.service - Open vSwitch
Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-10-01 08:32:28 BST; 1 months 0 days ago
Tasks: 4 (limit: 4915)
CGroup: /system.slice/openvswitch-switch.service
├─2713 ovsdb-server: monitoring pid 2716 (healthy)
├─2716 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
├─2773 ovs-vswitchd: monitoring pid 2774 (healthy)
└─2774 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
dpkg: error processing package openvswitch-switch (--configure):
installed openvswitch-switch package post-installation script subprocess returned error exit status 5
$ sudo apt -f install
[sudo] password for neil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openvswitch-switch (2.8.1+dfsg1-2) ...
Failed to restart openvswitch-switch.service: Unit openvswitch-nonetwork.service not found.
invoke-rc.d: initscript openvswitch-switch, action "restart" failed.
● openvswitch-switch.service - Open vSwitch
Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-10-01 08:32:28 BST; 1 months 0 days ago
Tasks: 4 (limit: 4915)
CGroup: /system.slice/openvswitch-switch.service
├─2713 ovsdb-server: monitoring pid 2716 (healthy)
├─2716 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
├─2773 ovs-vswitchd: monitoring pid 2774 (healthy)
└─2774 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
dpkg: error processing package openvswitch-switch (--configure):
installed openvswitch-switch package post-installation script subprocess returned error exit status 5
Errors were encountered while processing:
openvswitch-switch
E: Sub-process /usr/bin/dpkg returned an error code (1)
neil at sylvester:lava-server (v1api)$ dpkg -l openvswitch-switch
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-================================================================
iF openvswitch-switch 2.8.1+dfsg1-2 amd64 Open vSwitch switch implementations
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64
Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openvswitch-switch depends on:
ii kmod 24-1
ii lsb-base 9.20170808
ii netbase 5.4
ii openvswitch-common 2.8.1+dfsg1-2
ii procps 2:3.3.12-3
ii python 2.7.14-1
ii uuid-runtime 2.30.2-0.1
openvswitch-switch recommends no packages.
openvswitch-switch suggests no packages.
-- no debconf information
More information about the Openstack-devel
mailing list