Skip to content

Error Using OVS inside a Snap Package #3

@vahid-dan

Description

@vahid-dan

Hi;

I know this issue is not about your snap package, but I'd be more than grateful if you could answer me.

I want to use OVS inside a snap package to add network bridges. It works on x64 Ubuntu following your snapcraft.yaml and building OVS. But I couldn't do it on RPi. So, as my plan B, I have added openvswitch-switch, openvswitch-common, and uuid-runtime to my stage packages and I'm using the same ovs-wrapper as you are. But while creating the bridge, I get this error:

RuntimeError: Subprocess: "['/snap/mysnap/x1/usr/bin/ovs-vsctl', '--may-exist', 'add-br', 'mysnapbr0']" failed, std err = b'ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n'

Thanks in advance. :-)
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