[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2021-02-04 Thread nikkognt
Hi,
I add that in the first host in the directory / etc / openvswitch there are 
files but in the second host that has problems in the same directory is empty.
How can I do?
Thanks so much
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/RU6WAANV7CC4KDW733PM6GXUZU5O5ITQ/


[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2021-02-02 Thread nikkognt
Hi all,
i have the same error.
I have 2 nodes. 
The first I updated it and everything ok!
The second after the upgrade and after reboot and display the following error:

Host XX1 installation failed. Task Start and enable services failed to execute. 
Please check logs for more details: 
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20210201145717-192.168.197.2-002dc9a6-fdf8-47b9-95a8-eaa2d5b1066b.log.

The error is due to openvswitch failing to restart
I checked the permissions and they look fine 
I tried to reinstall it several times but still the same error.
I was thinking of trying to reinstall it via the iso image.
Any suggestions?

Thanks so much
nikkognt
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/4DYNKW4VOHK7OTTEOQOUAJ4IOIQEND63/


[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2021-01-04 Thread Marco Fais
Dominik, Ales,

it was indeed the effect of the bug you have highlighted.

Changing the ownership of /etc/openvswitch solved the problem.
Interestingly it only happened to a portion of the ~20 nodes I have
upgraded -- I believe I had different behaviour depending on the specific
version used for installation and upgrade path taken, but not 100% sure.

Thanks
Marco


On Mon, 4 Jan 2021 at 10:34, Dominik Holler  wrote:

> Hello Marco,
> can you please check the owner and groups of
> /etc/openvswitch/ and
> /var/run/openvswitch
> and the files in these directories ?
>
> Are there any hints if this issue might be related to
> *Bug 1909782*  - 
> /etc/openvswitch
> permissions broken after upgrade
> ?
>
> Dominik
>
> On Mon, Jan 4, 2021 at 7:29 AM Ales Musil  wrote:
>
>>
>>
>> On Thu, Dec 24, 2020 at 5:14 PM Marco Fais  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  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|1|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|2|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-le...@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 
>>
>> amu...@redhat.comIM: amusil
>> 
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> 

[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2021-01-04 Thread Dominik Holler
Hello Marco,
can you please check the owner and groups of
/etc/openvswitch/ and
/var/run/openvswitch
and the files in these directories ?

Are there any hints if this issue might be related to
*Bug 1909782*  -
/etc/openvswitch
permissions broken after upgrade
?

Dominik

On Mon, Jan 4, 2021 at 7:29 AM Ales Musil  wrote:

>
>
> On Thu, Dec 24, 2020 at 5:14 PM Marco Fais  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  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|1|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|2|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-le...@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 
>
> amu...@redhat.comIM: amusil
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/KHG6ISFOUARQ2KR7TERXEIHAQKVEAJTM/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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: 

[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2021-01-03 Thread Ales Musil
On Thu, Dec 24, 2020 at 5:14 PM Marco Fais  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  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|1|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|2|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-le...@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 

amu...@redhat.comIM: amusil

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/KHG6ISFOUARQ2KR7TERXEIHAQKVEAJTM/


[ovirt-users] Re: Upgrade from 4.4.3 to 4.4.4 (oVirt Node) - vdsmd.service/start failed with result 'dependency'

2020-12-24 Thread Marco Fais
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  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|1|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|2|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-le...@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/