[ovirt-devel] Re: Cannot install latest oVirt engine

2021-09-21 Thread Vojtech Juranek
On Tuesday, 21 September 2021 12:43:19 CEST Michal Skrivanek wrote:
> > On 21. 9. 2021, at 11:56, Vojtech Juranek  wrote:
> > 
> > On Tuesday, 21 September 2021 10:40:56 CEST Ales Musil wrote:
> >> On Tue, Sep 21, 2021 at 10:06 AM Vojtech Juranek 
> >> 
> >> wrote:
> >>> Hi,
> >>> 
>  I'm trying to install engine build [1] to verify test a patch [2], but
> >>> 
> >>> I'm
> >>> 
>  getting following error:
> >>> I was bale to install the engine, but adding new hosts fails with
> >>> 
> >>> 2021-09-21 03:52:15 EDT - TASK [ovirt-provider-ovn-driver : Configure
> >>> OVN
> >>> for oVirt] *
> >>> 2021-09-21 03:52:15 EDT -
> >>> 2021-09-21 03:52:15 EDT - fatal: [192.168.122.201]: FAILED! =>
> >>> {"changed":
> >>> true, "cmd": ["vdsm-tool", "ovn-config", "192.168.122.192",
> >>> "192.168.122.201", "192.168.122.201"], "delta": "0:00:00.355651", "end":
> >>> "2021-09-21 03:52:13.433094", "msg": "non-zer
> >>> o return code", "rc": 1, "start": "2021-09-21 03:52:13.077443",
> >>> "stderr":
> >>> "usage: \n /usr/bin/vdsm-tool [options] ovn-config IP-central
> >>> [tunneling-IP|tunneling-network]\nConfigures the ovn-controller on
> >>> the
> >>> host.\n\nParameters:\nIP-central -
> >>> 
> >>> the IP of the engine (the host where OVN central is located)\n
> >>> 
> >>> tunneling-IP - the local IP which is to be used for OVN tunneling\n
> >>> tunneling-network - the vdsm network meant to be used for OVN
> >>> tunneling\n
> >>> 
> >>>  ", "stderr_lines": ["usage: ", " /usr/
> >>> 
> >>> bin/vdsm-tool [options] ovn-config IP-central
> >>> [tunneling-IP|tunneling-network]", "Configures the ovn-controller on
> >>> the host.", "", "Parameters:", "IP-central - the IP of the
> >>> engine
> >>> (the host where OVN central is located)", "tunneling-IP
> >>> - the local IP which is to be used for OVN tunneling", "
> >>> tunneling-network - the vdsm network meant to be used for OVN
> >>> tunneling",
> >>> ""], "stdout": "", "stdout_lines": []}
> >>> 
> >>> 
> >>> There's additional 192.168.122.201 and the command should be
> >>> 
> >>> vdsm-tool ovn-config 192.168.122.192 192.168.122.201
> >>> 
> >>> I can run it manually, but the network is not configured properly as the
> >>> host setup fails always at this point.
> >>> Again some issue on my side or is this a known issue? Is there any
> >>> workaround for it?
> >>> 
> >>> Thanks for hits.
> >>> Vojta
> >> 
> >> This looks like you have an older ovirt-provider-ovn-driver, that does
> >> not
> >> support the third argument of ovn-config.
> >> Try to upgrade the driver package.
> > 
> > thanks, but ovirt-provider-ovn-driver seems to be up-to-date:
> > 
> > [root@localhost ~]# rpm -qa|grep ovirt-provider-ovn-driver
> > ovirt-provider-ovn-driver-1.2.35-0.20210902122827.git6140625.el8.noarch
> 
> you’re supposed to use
> https://resources.ovirt.org/repos/ovirt/tested/master/rpm/el8/noarch/
> update from there

Right, Ales gave me same advice on IRC and I can confirm it works.
Thanks you and Ales as well!

> > it seems to be an issue in vdsm-tool, running it manually fails:
> > 
> > [root@localhost ~]# vdsm-tool ovn-config 192.168.122.192 192.168.122.201
> > 192.168.122.201 usage:
> > /usr/bin/vdsm-tool [options] ovn-config IP-central
> > [tunneling-IP|tunneling-network]> 
> >Configures the ovn-controller on the host.
> >
> >Parameters:
> >IP-central - the IP of the engine (the host where OVN central is
> >located)
> >tunneling-IP - the local IP which is to be used for OVN tunneling
> >tunneling-network - the vdsm network meant to be used for OVN tunneling
> > 
> > [root@localhost ~]# echo $?
> > 1
> > 
> > 
> > ___
> > Devel mailing list -- devel@ovirt.org 
> > To unsubscribe send an email to devel-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/devel@ovirt.org/message/UYQZRKPZ7Y4
> > 52USEU5WNOXZSAZXG6VSL/
> >  > 452USEU5WNOXZSAZXG6VSL/>



signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/6LLGJKA4LOK7YFNLU6RBE2SEJT262O3A/


[ovirt-devel] Re: Cannot install latest oVirt engine

2021-09-21 Thread Michal Skrivanek


> On 21. 9. 2021, at 11:56, Vojtech Juranek  wrote:
> 
> On Tuesday, 21 September 2021 10:40:56 CEST Ales Musil wrote:
>> On Tue, Sep 21, 2021 at 10:06 AM Vojtech Juranek 
>> 
>> wrote:
>>> Hi,
>>> 
 I'm trying to install engine build [1] to verify test a patch [2], but
>>> 
>>> I'm
>>> 
 getting following error:
>>> I was bale to install the engine, but adding new hosts fails with
>>> 
>>> 2021-09-21 03:52:15 EDT - TASK [ovirt-provider-ovn-driver : Configure OVN
>>> for oVirt] *
>>> 2021-09-21 03:52:15 EDT -
>>> 2021-09-21 03:52:15 EDT - fatal: [192.168.122.201]: FAILED! => {"changed":
>>> true, "cmd": ["vdsm-tool", "ovn-config", "192.168.122.192",
>>> "192.168.122.201", "192.168.122.201"], "delta": "0:00:00.355651", "end":
>>> "2021-09-21 03:52:13.433094", "msg": "non-zer
>>> o return code", "rc": 1, "start": "2021-09-21 03:52:13.077443", "stderr":
>>> "usage: \n /usr/bin/vdsm-tool [options] ovn-config IP-central
>>> [tunneling-IP|tunneling-network]\nConfigures the ovn-controller on the
>>> host.\n\nParameters:\nIP-central -
>>> 
>>> the IP of the engine (the host where OVN central is located)\n
>>> 
>>> tunneling-IP - the local IP which is to be used for OVN tunneling\n
>>> tunneling-network - the vdsm network meant to be used for OVN tunneling\n
>>> 
>>>  ", "stderr_lines": ["usage: ", " /usr/
>>> 
>>> bin/vdsm-tool [options] ovn-config IP-central
>>> [tunneling-IP|tunneling-network]", "Configures the ovn-controller on
>>> the host.", "", "Parameters:", "IP-central - the IP of the engine
>>> (the host where OVN central is located)", "tunneling-IP
>>> - the local IP which is to be used for OVN tunneling", "
>>> tunneling-network - the vdsm network meant to be used for OVN tunneling",
>>> ""], "stdout": "", "stdout_lines": []}
>>> 
>>> 
>>> There's additional 192.168.122.201 and the command should be
>>> 
>>> vdsm-tool ovn-config 192.168.122.192 192.168.122.201
>>> 
>>> I can run it manually, but the network is not configured properly as the
>>> host setup fails always at this point.
>>> Again some issue on my side or is this a known issue? Is there any
>>> workaround for it?
>>> 
>>> Thanks for hits.
>>> Vojta
>> 
>> This looks like you have an older ovirt-provider-ovn-driver, that does not
>> support the third argument of ovn-config.
>> Try to upgrade the driver package.
> 
> thanks, but ovirt-provider-ovn-driver seems to be up-to-date:
> 
> [root@localhost ~]# rpm -qa|grep ovirt-provider-ovn-driver
> ovirt-provider-ovn-driver-1.2.35-0.20210902122827.git6140625.el8.noarch

you’re supposed to use 
https://resources.ovirt.org/repos/ovirt/tested/master/rpm/el8/noarch/
update from there

> 
> 
> it seems to be an issue in vdsm-tool, running it manually fails:
> 
> [root@localhost ~]# vdsm-tool ovn-config 192.168.122.192 192.168.122.201 
> 192.168.122.201
> usage: 
> /usr/bin/vdsm-tool [options] ovn-config IP-central 
> [tunneling-IP|tunneling-network]
>Configures the ovn-controller on the host.
> 
>Parameters:
>IP-central - the IP of the engine (the host where OVN central is located)
>tunneling-IP - the local IP which is to be used for OVN tunneling
>tunneling-network - the vdsm network meant to be used for OVN tunneling
> 
> [root@localhost ~]# echo $?
> 1
> 
> 
> ___
> Devel mailing list -- devel@ovirt.org 
> To unsubscribe send an email to devel-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/devel@ovirt.org/message/UYQZRKPZ7Y452USEU5WNOXZSAZXG6VSL/
>  
> 
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/27N6IVNSYZOLY2N6SKW2VKO2EUN56Z3O/


[ovirt-devel] Re: Cannot install latest oVirt engine

2021-09-21 Thread Vojtech Juranek
On Tuesday, 21 September 2021 10:40:56 CEST Ales Musil wrote:
> On Tue, Sep 21, 2021 at 10:06 AM Vojtech Juranek 
> 
> wrote:
> > Hi,
> > 
> > > I'm trying to install engine build [1] to verify test a patch [2], but
> > 
> > I'm
> > 
> > > getting following error:
> > I was bale to install the engine, but adding new hosts fails with
> > 
> > 2021-09-21 03:52:15 EDT - TASK [ovirt-provider-ovn-driver : Configure OVN
> > for oVirt] *
> > 2021-09-21 03:52:15 EDT -
> > 2021-09-21 03:52:15 EDT - fatal: [192.168.122.201]: FAILED! => {"changed":
> > true, "cmd": ["vdsm-tool", "ovn-config", "192.168.122.192",
> > "192.168.122.201", "192.168.122.201"], "delta": "0:00:00.355651", "end":
> > "2021-09-21 03:52:13.433094", "msg": "non-zer
> > o return code", "rc": 1, "start": "2021-09-21 03:52:13.077443", "stderr":
> > "usage: \n /usr/bin/vdsm-tool [options] ovn-config IP-central
> > [tunneling-IP|tunneling-network]\nConfigures the ovn-controller on the
> > host.\n\nParameters:\nIP-central -
> > 
> >  the IP of the engine (the host where OVN central is located)\n
> > 
> > tunneling-IP - the local IP which is to be used for OVN tunneling\n
> > tunneling-network - the vdsm network meant to be used for OVN tunneling\n
> > 
> >   ", "stderr_lines": ["usage: ", " /usr/
> > 
> > bin/vdsm-tool [options] ovn-config IP-central
> > [tunneling-IP|tunneling-network]", "Configures the ovn-controller on
> > the host.", "", "Parameters:", "IP-central - the IP of the engine
> > (the host where OVN central is located)", "tunneling-IP
> > - the local IP which is to be used for OVN tunneling", "
> > tunneling-network - the vdsm network meant to be used for OVN tunneling",
> > ""], "stdout": "", "stdout_lines": []}
> > 
> > 
> > There's additional 192.168.122.201 and the command should be
> > 
> > vdsm-tool ovn-config 192.168.122.192 192.168.122.201
> > 
> > I can run it manually, but the network is not configured properly as the
> > host setup fails always at this point.
> > Again some issue on my side or is this a known issue? Is there any
> > workaround for it?
> > 
> > Thanks for hits.
> > Vojta
> 
> This looks like you have an older ovirt-provider-ovn-driver, that does not
> support the third argument of ovn-config.
> Try to upgrade the driver package.

thanks, but ovirt-provider-ovn-driver seems to be up-to-date:

[root@localhost ~]# rpm -qa|grep ovirt-provider-ovn-driver
ovirt-provider-ovn-driver-1.2.35-0.20210902122827.git6140625.el8.noarch


it seems to be an issue in vdsm-tool, running it manually fails:

[root@localhost ~]# vdsm-tool ovn-config 192.168.122.192 192.168.122.201 
192.168.122.201
usage: 
 /usr/bin/vdsm-tool [options] ovn-config IP-central 
[tunneling-IP|tunneling-network]
Configures the ovn-controller on the host.

Parameters:
IP-central - the IP of the engine (the host where OVN central is located)
tunneling-IP - the local IP which is to be used for OVN tunneling
tunneling-network - the vdsm network meant to be used for OVN tunneling

[root@localhost ~]# echo $?
1




signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/UYQZRKPZ7Y452USEU5WNOXZSAZXG6VSL/


[ovirt-devel] Re: Cannot install latest oVirt engine

2021-09-21 Thread Ales Musil
On Tue, Sep 21, 2021 at 10:06 AM Vojtech Juranek 
wrote:

> Hi,
>
> > I'm trying to install engine build [1] to verify test a patch [2], but
> I'm
> > getting following error:
>
> I was bale to install the engine, but adding new hosts fails with
>
> 2021-09-21 03:52:15 EDT - TASK [ovirt-provider-ovn-driver : Configure OVN
> for oVirt] *
> 2021-09-21 03:52:15 EDT -
> 2021-09-21 03:52:15 EDT - fatal: [192.168.122.201]: FAILED! => {"changed":
> true, "cmd": ["vdsm-tool", "ovn-config", "192.168.122.192",
> "192.168.122.201", "192.168.122.201"], "delta": "0:00:00.355651", "end":
> "2021-09-21 03:52:13.433094", "msg": "non-zer
> o return code", "rc": 1, "start": "2021-09-21 03:52:13.077443", "stderr":
> "usage: \n /usr/bin/vdsm-tool [options] ovn-config IP-central
> [tunneling-IP|tunneling-network]\nConfigures the ovn-controller on the
> host.\n\nParameters:\nIP-central -
>  the IP of the engine (the host where OVN central is located)\n
> tunneling-IP - the local IP which is to be used for OVN tunneling\n
> tunneling-network - the vdsm network meant to be used for OVN tunneling\n
>   ", "stderr_lines": ["usage: ", " /usr/
> bin/vdsm-tool [options] ovn-config IP-central
> [tunneling-IP|tunneling-network]", "Configures the ovn-controller on
> the host.", "", "Parameters:", "IP-central - the IP of the engine
> (the host where OVN central is located)", "tunneling-IP
> - the local IP which is to be used for OVN tunneling", "
> tunneling-network - the vdsm network meant to be used for OVN tunneling",
> ""], "stdout": "", "stdout_lines": []}
>
>
> There's additional 192.168.122.201 and the command should be
>
> vdsm-tool ovn-config 192.168.122.192 192.168.122.201
>
> I can run it manually, but the network is not configured properly as the
> host setup fails always at this point.
> Again some issue on my side or is this a known issue? Is there any
> workaround for it?
>
> Thanks for hits.
> Vojta



This looks like you have an older ovirt-provider-ovn-driver, that does not
support the third argument of ovn-config.
Try to upgrade the driver package.

Regards,
Ales

-- 

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/SPAI7DG2IR2WFVWD6GZUTJVJHNGWBJ2N/


[ovirt-devel] Re: Cannot install latest oVirt engine

2021-09-21 Thread Vojtech Juranek
Hi,

> I'm trying to install engine build [1] to verify test a patch [2], but I'm
> getting following error:

I was bale to install the engine, but adding new hosts fails with

2021-09-21 03:52:15 EDT - TASK [ovirt-provider-ovn-driver : Configure OVN for 
oVirt] *
2021-09-21 03:52:15 EDT - 
2021-09-21 03:52:15 EDT - fatal: [192.168.122.201]: FAILED! => {"changed": 
true, "cmd": ["vdsm-tool", "ovn-config", "192.168.122.192", "192.168.122.201", 
"192.168.122.201"], "delta": "0:00:00.355651", "end": "2021-09-21 
03:52:13.433094", "msg": "non-zer
o return code", "rc": 1, "start": "2021-09-21 03:52:13.077443", "stderr": 
"usage: \n /usr/bin/vdsm-tool [options] ovn-config IP-central 
[tunneling-IP|tunneling-network]\nConfigures the ovn-controller on the 
host.\n\nParameters:\nIP-central -
 the IP of the engine (the host where OVN central is located)\ntunneling-IP 
- the local IP which is to be used for OVN tunneling\ntunneling-network - 
the vdsm network meant to be used for OVN tunneling\n", "stderr_lines": 
["usage: ", " /usr/
bin/vdsm-tool [options] ovn-config IP-central 
[tunneling-IP|tunneling-network]", "Configures the ovn-controller on the 
host.", "", "Parameters:", "IP-central - the IP of the engine (the host 
where OVN central is located)", "tunneling-IP 
- the local IP which is to be used for OVN tunneling", "tunneling-network - 
the vdsm network meant to be used for OVN tunneling", ""], "stdout": "", 
"stdout_lines": []}


There's additional 192.168.122.201 and the command should be

vdsm-tool ovn-config 192.168.122.192 192.168.122.201

I can run it manually, but the network is not configured properly as the host 
setup fails always at this point.
Again some issue on my side or is this a known issue? Is there any workaround 
for it?

Thanks for hits.
Vojta

signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/45UTMVZHJBVCWBQDPEDK2Q2UPJJRQC4Q/