On Thu, Dec 24, 2020 at 5:14 PM Marco Fais <evilmf@gmail.com> wrote:
Hi,

just a quick correction on the below -- 
the dependency chain is vdsmd --> vdsm-network --> openvswitch --> ovsdb-server (failed)

The conf.db file and /var/run/openvswitch dir are in 4.4.3 but not in 4.4.4
In 4.4.3 looks like the vdsm-network service does not depend from openvswitch:

*4.4.3* --
[Unit]
Description=Virtual Desktop Server Manager network restoration
Wants=network.target
Requires=libvirtd.service
After=libvirtd.service

*4.4.4* --
[Unit]
Description=Virtual Desktop Server Manager network restoration
Wants=network.target
Requires=libvirtd.service openvswitch.service NetworkManager.service
After=libvirtd.service openvswitch.service NetworkManager.service

Regards,
Marco


On Thu, 24 Dec 2020 at 12:29, Marco Fais <evilmf@gmail.com> wrote:
Hi all,

I have just upgraded one of my oVirt nodes from 4.4.3 to 4.4.4.

After the reboot, the 4.4.4 image is correctly loaded but vdsmd is not starting due to this error:

vdsmd.service: Job vdsmd.service/start failed with result 'dependency'.

Looks like it has a dependency on mom-vdsm, and this as well has a dependency issue:

mom-vdsm.service: Job mom-vdsm.service/start failed with result 'dependency'.

After some investigation looks like mom-vdsm has a dependency on ovsdb-server, and this is the unit creating the problem:

ovs-delete-transient-ports.service: Starting requested but asserts failed.
Assertion failed for Open vSwitch Delete Transient Ports
Failed to start Open vSwitch Database Unit.

Details below:
-- Unit ovsdb-server.service has begun starting up.
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net chown[13658]: /usr/bin/chown: cannot access '/var/run/openvswitch': No such file or directory
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net ovs-ctl[13667]: /etc/openvswitch/conf.db does not exist ... (warning).
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net ovsdb-tool[13714]: ovs|00001|lockfile|WARN|/etc/openvswitch/.conf.db.~lock~: failed to open lock file: Permission denied
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net ovs-ctl[13667]: Creating empty database /etc/openvswitch/conf.db ovsdb-tool: I/O error: /etc/openvswitch/conf.db: failed to lock lockfile (Resource temporarily unavailable)
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net ovsdb-tool[13714]: ovs|00002|lockfile|WARN|/etc/openvswitch/.conf.db.~lock~: failed to lock file: Resource temporarily unavailable
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net ovs-ctl[13667]: [FAILED]
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net systemd[1]: ovsdb-server.service: Control process exited, code=exited status=1
Dec 24 12:21:57 LAB-CNVirt-H04.ngv.eircom.net systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
-- Subject: Unit failed

Any suggestions?

Thanks,
Marco

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z7XM6QW2GP3FQKEVLLYIQDHBZD7PGXC2/


Hi,

the dependency on openvswitch comes from 4.4.4 this is correct. However I am not entirely sure why openvswitch would refuse to start.
Do you have some special OvS configuration in place on the affected host?

Thank you.
Regards,
Ales

--

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA

amusil@redhat.com    IM: amusil