Skip to content

On a fresh install of Ubuntu 22.04.3 LTS, installation of openvswitch via snap does not complete or errors out #4

@kk723

Description

@kk723
$ sudo lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal
$ sudo snap install openvswitch
error: snap "openvswitch" is not available on stable but is available to install on the following
       channels:

       edge       snap install --edge openvswitch

       Please be mindful pre-release channels may include features not completely tested or
       implemented. Get more information with 'snap info openvswitch'.
$ sudo snap install --edge openvswitch
error: cannot perform the following tasks:
- Start snap "openvswitch" (14) services ([start snap.openvswitch.ovs-vswitchd.service] failed with exit status 1: Job for snap.openvswitch.ovs-vswitchd.service failed because the control process exited with error code.
See "systemctl status snap.openvswitch.ovs-vswitchd.service" and "journalctl -xe" for details.
$ sudo systemctl status snap.openvswitch.ovs-vswitchd.service
Unit snap.openvswitch.ovs-vswitchd.service could not be found.
$ sudo journalctl -xe
Jan 15 22:46:57 castle systemd[1]: Reloading.
Jan 15 22:46:57 castle systemd[1]: Reloading.
Jan 15 22:46:58 castle systemd[1736]: snap-openvswitch-14.mount: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
Jan 15 22:46:58 castle systemd[1]: snap-openvswitch-14.mount: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit snap-openvswitch-14.mount has successfully entered the 'dead' state.
Jan 15 22:46:58 castle systemd[1]: Reloading.
Jan 15 22:46:59 castle systemd[1]: Reloading.
Jan 15 22:46:59 castle snapd[832]: handlers.go:511: Reported install problem for "openvswitch" as already-reported

### As you can see, openvswitch is not installed
$ sudo snap list
Name          Version    Rev    Tracking       Publisher   Notes
core          16-2.52.1  11993  latest/stable  canonical✓  core
core18        20210722   2128   latest/stable  canonical✓  base
core20        20211129   1270   latest/stable  canonical✓  base
docker        20.10.8    1125   latest/stable  canonical✓  -
lxd           4.0.7      21029  4.0/stable/…   canonical✓  -
postgresql10  10.4       47     latest/stable  cmd✓        -
snapd         2.51.3     12704  latest/stable  canonical✓  snapd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions