Skip to content

Error Installing the Snap #1

@vahid-dan

Description

@vahid-dan

Hi;

I'm trying to build and install the snap but I encounter the following error:

$ sudo snap install openvswitch_2.10.0_amd64.snap --devmode 
error: cannot perform the following tasks:
- Start snap "openvswitch" (unset) services ([start snap.openvswitch.ovs-vswitchd.service] failed with exit status 1: Job for snap.openvswitch.ovs-vswitchd.service failed because a timeout was exceeded. See "systemctl status snap.openvswitch.ovs-vswitchd.service" and "journalctl -xe" for details.
)

Here are the logs:

$ systemctl status snap.openvswitch.ovs-vswitchd.service
● snap.openvswitch.ovs-vswitchd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Dec 10 13:44:01 bonobo systemd[1]: Starting Service for snap application openvswitch.ovs-vswitchd...
Dec 10 13:45:31 bonobo systemd[1]: snap.openvswitch.ovs-vswitchd.service: Start operation timed out. Terminating.
Dec 10 13:45:31 bonobo systemd[1]: Failed to start Service for snap application openvswitch.ovs-vswitchd.
Dec 10 13:45:31 bonobo systemd[1]: snap.openvswitch.ovs-vswitchd.service: Unit entered failed state.
Dec 10 13:45:31 bonobo systemd[1]: snap.openvswitch.ovs-vswitchd.service: Failed with result 'timeout'.
Dec 10 13:45:32 bonobo systemd[1]: snap.openvswitch.ovs-vswitchd.service: Service hold-off time over, scheduling restart.
Dec 10 13:45:32 bonobo systemd[1]: Stopped Service for snap application openvswitch.ovs-vswitchd.
Dec 10 13:45:32 bonobo systemd[1]: Starting Service for snap application openvswitch.ovs-vswitchd...
Dec 10 13:45:32 bonobo systemd[1]: Stopped Service for snap application openvswitch.ovs-vswitchd.
$ journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snap-openvswitch-x1.mount has finished shutting down.
Dec 10 13:45:33 bonobo systemd[1]: Reloading.
Dec 10 13:45:33 bonobo systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cups.service has finished starting up.
-- 
-- The start-up result is done.
Dec 10 13:45:33 bonobo systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit acpid.service has finished starting up.
-- 
-- The start-up result is done.
Dec 10 13:45:33 bonobo systemd[1]: Reloading.
Dec 10 13:45:34 bonobo systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cups.service has finished starting up.
-- 
-- The start-up result is done.
Dec 10 13:45:34 bonobo systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit acpid.service has finished starting up.
-- 
-- The start-up result is done.
Dec 10 13:45:51 bonobo snapd[13040]: handlers.go:394: Reported install problem for "openvswitch" as d03eca98-fcab-11e8-99a6-fa163ee63de6 OOPSID
Dec 10 13:45:51 bonobo sudo[28329]: pam_unix(sudo:session): session closed for user root
Dec 10 13:47:02 bonobo systemd[1]: dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device: Job dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device/start timed 
Dec 10 13:47:02 bonobo systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device.
-- Subject: Unit dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device has failed.
-- 
-- The result is timeout.
Dec 10 13:47:02 bonobo systemd[1]: Dependency failed for /dev/disk/by-uuid/d7596959-0f14-4527-a3f5-ff1758805a6c.
-- Subject: Unit dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.swap has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.swap has failed.
-- 
-- The result is dependency.
Dec 10 13:47:02 bonobo systemd[1]: dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.swap: Job dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.swap/start failed wit
Dec 10 13:47:02 bonobo systemd[1]: dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device: Job dev-disk-by\x2duuid-d7596959\x2d0f14\x2d4527\x2da3f5\x2dff1758805a6c.device/start failed
lines 1391-1449/1449 (END)

Thanks,
Vahid

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