[ovirt-users] Re: ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[XML error]". HTTP response code is 400.

2022-05-07 Thread Strahil Nikolov via Users
Most probably it's related to the bug in the vdsm with Gluster v10.

 
 
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Execute just a specific 
set of steps]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Force facts gathering]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the storage interface 
to be up]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch host facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster name]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster version]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce cluster major version]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce cluster minor version]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set storage_format]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Add NFS storage domain]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Add glusterfs storage domain]
[ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is 
"[XML error]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[XML error]\". HTTP response 
code is 400."}
___
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/XN3H2YZZ56K7PDHBWOHYHAQIZXO5N3IO/
  
___
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/ORJPAQ23KIEYTYCSX32L6I7AOHBKYRDD/


[ovirt-users] Re: ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[XML error]". HTTP response code is 400.

2022-05-06 Thread Jonas Liechti
I had the same problem and found the solution here: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6IKZ45B2TUCQB6WXZ3B4AFVU2RXZXJQQ/

Find cli.py on the host and comment out the line with `value ['stripeCount'] = 
el.find('stripeCount').text`
Am 06.05.2022 19:01 schrieb yp...@163.com:
>
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Execute just a specific set 
> of steps] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Force facts gathering] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the storage 
> interface to be up] 
> [ INFO ] skipping: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check local VM dir stat] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce local VM dir 
> existence] 
> [ INFO ] skipping: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
> username/password credentials] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch host facts] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster ID] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster facts] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter facts] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter ID] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter name] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster name] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster version] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce cluster major 
> version] 
> [ INFO ] skipping: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Enforce cluster minor 
> version] 
> [ INFO ] skipping: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set storage_format] 
> [ INFO ] ok: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Add NFS storage domain] 
> [ INFO ] skipping: [localhost] 
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Add glusterfs storage 
> domain] 
> [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail 
> is "[XML error]". HTTP response code is 400. 
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
> reason is \"Operation Failed\". Fault detail is \"[XML error]\". HTTP 
> response code is 400."}
> ___
> 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/XN3H2YZZ56K7PDHBWOHYHAQIZXO5N3IO/
___
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/EVFXS5G25WHPAE7M5YNXH7BIYANHH3LM/