[ovirt-users] Cluster level 4.5

2021-04-28 Thread Don Dupuis
What version of libvirt is required for a host to be put in this cluster
level? I am using CentOS 8.3 and cpu is Cascade Lake Server. It says that
my host is only compatible with cluster version 4.2,4.3 and 4.4. I am doing
a new install of Ovirt 4.4.5. I have tried to update libvirt version but
have run into issues. Currently installed libvirt
is libvirt-6.0.0-28.module_el8.3.0+555+a55c8938.x86_64.

Don
___
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/CWAUC4NC45Z54QF3MN3ESGGYFIG6WZL7/


[ovirt-users] Re: Unable to provide network acces to second cluster in DC

2021-04-28 Thread matthew.st...@fujitsu.com
Compute > Clusters > "Name" > Logical Network > Manage Networks

-Original Message-
From: Miguel Garcia  
Sent: Wednesday, April 28, 2021 12:20 PM
To: users@ovirt.org
Subject: [ovirt-users] Unable to provide network acces to second cluster in DC

I have created the following DC and cluster structure in my ovirt server

- Data Center Public
- - cluster-public1
- - cluster-public2

Also created a couple Logical Network for DC-Public
- - prodvlan
- - havlan

And added 4 host (two for each cluster because processor type) and each host 
has ports added to both logical networks (besides ovirtmgmt)

When I create a new vm in cluster public1 and add nics  I'm able to list 
prodvlan and havlan but when I try to create the vm for cluster public2 no 
logical networks are listed.

Any idea how to get logical networks listed for cluster public2?

Thanks in advance
___
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/Y5IYRN3CJX4Y4I5DLTYWVIB4423FLJDR/
___
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/3WVR4JQEK4FUDV4COGJECPK2I4W35EAK/


[ovirt-users] Unable to provide network acces to second cluster in DC

2021-04-28 Thread Miguel Garcia
I have created the following DC and cluster structure in my ovirt server

- Data Center Public
- - cluster-public1
- - cluster-public2

Also created a couple Logical Network for DC-Public
- - prodvlan
- - havlan

And added 4 host (two for each cluster because processor type) and each host 
has ports added to both logical networks (besides ovirtmgmt)

When I create a new vm in cluster public1 and add nics  I'm able to list 
prodvlan and havlan but when I try to create the vm for cluster public2 no 
logical networks are listed.

Any idea how to get logical networks listed for cluster public2?

Thanks in advance
___
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/Y5IYRN3CJX4Y4I5DLTYWVIB4423FLJDR/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Vojtech Juranek
On Wednesday, 28 April 2021 13:02:01 CEST Juhani Rautiainen wrote:
> Hi!
> 
> I know something about multipathing and LVM but I'm not quite familiar
> how this is supposed to look. I compared 4.4 node to 4.3 node and it
> looks totally different from lvm perpective. I'm not sure if this is
> because of changes 

there are no change in disk layout between 4.3 and 4.4 AFAIK 

> or problems in this node. Multipath shows same
> disks but for example pvdisplay on 4.4 node shows only local disk PV:

showing all PVs means you don't have configured lvm filter on the hosts, you 
should run

vdsm-tool config-lvm-filter

on each host, see [1] for more details.

Not showing any PVs on may be caused by installed lvm filter (you can run it 
again with --config 'devices {filter=["a|.*|"]}' to find out) or because there 
are no PVs created yet, which is more likely as in previous log there was an 
error during pvcreate.

[1] https://blogs.ovirt.org/2017/12/lvm-configuration-the-easy-way/

> [root@ovirt02 tmp]# pvdisplay
>   --- Physical volume ---
>   PV Name   /dev/sda3
>   VG Name   onn
> 
> On old node:
> [root@ovirt01 ~]# pvdisplay
>   --- Physical volume ---
>   PV Name   /dev/mapper/36000d31005b4f61a
> --- Physical volume ---
>   PV Name   /dev/mapper/36000d31005b4f61d
>  --- Physical volume ---
>   PV Name   /dev/mapper/360002ac0026157b9
> --- Physical volume ---
>   PV Name   /dev/mapper/3600508b1001cce98eb718bd780426566p3
>   VG Name   onn_ovirt01
> 
> This worries me as I don't have an idea how to fix this.
> 
> Thanks,
> Juhani


signature.asc
Description: This is a digitally signed message part.
___
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/EFVILP2ZIGGQ43SDUEIBOYXWIVHBHWCV/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Vojtech Juranek
On Wednesday, 28 April 2021 08:57:32 CEST Yedidyah Bar David wrote:
> On Wed, Apr 28, 2021 at 9:29 AM Juhani Rautiainen
>  wrote:
> 
> >
> >
> > Hi!
> >
> >
> >
> > This is from ansible logs:
> > 2021-04-27 22:20:38,286+0300 ERROR ansible failed {
> > 
> > "ansible_host": "localhost",
> > "ansible_playbook":
> > 
> > "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> > 
> > "ansible_result": {
> > 
> > "_ansible_no_log": false,
> > "changed": false,
> > "exception": "Traceback (most recent call last):\n  File
> > 
> > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage
> > _domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_
> > storage_domain.py\",
 line 804, in main\n  File
> > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage
> > _domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/o
> > virt.py\",
 line 651, in create\n**kwargs\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
> > 26182, in add\nreturn self._internal_add(storage_domain, headers,
> > query, wait)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> > in _internal_add\nreturn future.wait() if wait else future\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
> > in wait\nreturn self._code(response)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
> > in callback\nself._check_fault(response)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132,
> > in _check_fault\nself._raise_error(response, body)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118,
> > in _raise_error\nraise error\novirtsdk4.Error: Fault reason is
> > \"Operation Failed\". Fault detail is \"[Physical device
> > initialization failed. Please check that the device is empty and
> > accessible by the host.]\". HTTP response code is 400.\n",
> > 
> > "invocation": {
> > 
> > "module_args": {
> > 
> > "backup": null,
> > "comment": null,
> > "critical_space_action_blocker": null,
> > "data_center": "Default",
> > "description": null,
> > "destroy": null,
> > "discard_after_delete": true,
> > "domain_function": "data",
> > "fcp": {
> > 
> > "lun_id": "36000d31005b4f629"
> > 
> > },
> > "fetch_nested": false,
> > "format": null,
> > "glusterfs": null,
> > "host": "ovirt02.virt.local",
> > "id": null,
> > "iscsi": null,
> > "localfs": null,
> > "managed_block_storage": null,
> > "name": "hosted_storage",
> > "nested_attributes": [],
> > "nfs": null,
> > "poll_interval": 3,
> > "posixfs": null,
> > "state": "unattached",
> > "timeout": 180,
> > "wait": true,
> > "warning_low_space": null,
> > "wipe_after_delete": null
> > 
> > }
> > 
> > },
> > "msg": "Fault reason is \"Operation Failed\". Fault detail is
> > 
> > \"[Physical device initialization failed. Please check that the device
> > is empty and accessible by the host.]\". HTTP response code is 400."
> > 
> > },
> > "ansible_task": "Add Fibre Channel storage domain",
> > "ansible_type": "task",
> > "status": "FAILED",
> >
> >
> >
> > This seem to happen same time:
> >
> >
> >
> > 2021-04-27 22:20:37,576+0300 INFO  (jsonrpc/5) [vdsm.api] FINISH
> > getDeviceList return={'devList': [{'GUID':
> > '36000d31005b4f629', 'capacity': '536870912000',
> > 'devtype': 'FCP', 'fwrev': '0704', 'logicalblocksize': '512',
> > 'pathlist': [], 'pathstatus': [{'physdev': 'sdu', 'state': 'active',
> > 'capacity': '536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev':
> > 'sds', 'state': 'active', 'capacity': '536870912000', 'lun': '3',
> > 'type': 'FCP'}, {'physdev': 'sdv', 'state': 'active', 'capacity':
> > '536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev': 'sdt',
> > 'state': 'active', 'capacity': '536870912000', 'lun': '3', 'type':
> > 'FCP'}], 'physicalblocksize': '4096', 'productID': 'Compellent Vol',
> > 'pvUUID': '', 'pvsize': '', 'serial':
> > 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'vendorID': 'COMPELNT',
> > 'vgUUID': '', 'discard_max_bytes': 268435456, 'discard_zeroes_data':
> > 0, 'status': 'unknown'}]} from=:::192.168.222.89,57472,
> > flow_id=676e5ced-7a4f-4a36-8842-cb98a38f5f4b,
> > task_id=792a93ab-5129-4bf2-8ff0-70b5cdf19221 (api:54)
> 

[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-04-28 Thread alan
oVirt version: 4.3
- ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
vdsm version: 4.30.46-1.0.3.el7

I can connect to the host manually. If I supply invalid SSH args when adding 
the host, it fails immediately rather than running for a while and failing 
later.
___
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/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/


[ovirt-users] Re: Import VM with Xen Based in Ovirt

2021-04-28 Thread Tomáš Golembiovský
Hi,

this looks like libvirt errors. Possibly you should be able to get more
information on libvirt-users list maybe.

Hope this helps,

Tomas

On Wed, Apr 28, 2021 at 09:35:25AM -, hemaa--- via Users wrote:
> Any leads please?
> ___
> 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/WB7KTXNCLD27R2II4XPMAFJUZEDZXOJA/

-- 
Tomáš Golembiovský 
___
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/7UO2G7BVQFV7L7EG4KWRA42EXVQMC53M/


[ovirt-users] Re: Import VM with Xen Based in Ovirt

2021-04-28 Thread Guillaume Pavese
I successfully imported xem vm to oVirt with the GUI
You need libvirt to be able to list the powered-off vm on the xen host first

What was missing for me at first was :

1) You need a libvirt pool referencing the path to VMs disks.
Verify that's not already the case with 'virsh pool-list',

Otherwise create it :
# cat vm-pool.xml

vm-pool

  /path/to/vmdisks



# virsh pool-create vm-pool.xml
# virsh pool-list ## Should list the newly created pool

2) Then each VM need an UUID present in its xml definition file.
If not present, you can start the vm, do 'virsh dumpxml domainname' and get
the UUID for the running VM,
then power it off and edit the xml to add this UUID line, that will make it
visible to virsh when powered off.
You can check now with : 'virsh list --all'

3) For a successful import I found that it's also necessary to
- install a non xen kernel in the vm,
- and have disk listed by UUIDs in /etc/fstab (maybe not necessary this
last one)


Good luck,


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Apr 28, 2021 at 7:38 PM Strahil Nikolov via Users 
wrote:

> I think that you have to export the BM as OVA or convert it to KVM before
> being able to import via oVirt
>
> Best Regards,
> Strahil Nikolov
>
> On Wed, Apr 28, 2021 at 12:36, hemaa--- via Users
>  wrote:
> Any leads please?
>
> ___
> 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/WB7KTXNCLD27R2II4XPMAFJUZEDZXOJA/
>
> ___
> 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/IIFFJYN3LBR3WMDIVPAFGNZFRLTDD45L/
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
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/HXI7U7DEZBQ2VWQLUTZMWSBKZDQJK24U/


[ovirt-users] Re: Faild ovirt-websocket-proxy.

2021-04-28 Thread Nicolás

This is your error, which is pretty straightforward:

   Apr 28 02:03:54ovirt.hostedengine.com ovirt-websocket-proxy.py
   [1694]: ovirt-websocket-proxy [1694] ERROR run: 554 Error: SSL_ONLY
   is set but SSL_CERTIFICATE or SSL_KEY file not found.

You have to edit your 
/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf file and 
set both SSL_CERTIFICATE and SSL_KEY values. This is my config:


   PROXY_PORT=6100
   SSL_CERTIFICATE=/etc/ssl/certs/mycert.cert
   SSL_KEY=/etc/ssl/private/mycert.key
   FORCE_DATA_VERIFICATION=False
   CERT_FOR_DATA_VERIFICATION=/etc/pki/ovirt-engine/certs/engine.cer
   SSL_ONLY=True

Hope this helps.

El 28/4/21 a las 11:00, jesad...@gmail.com escribió:

Hello again.
After getting the hosted-engine vm back, now I have the following problem. I 
can't use the graphic console. The websocket-proy fails me. Surely when I 
update the certificates I have missed some intermediate step, but I do not know 
how to follow.
Anyone know of a link to follow the certificate change procedure in the 
websocket-proxy service.
Thank you.
PS: Here I leave the output of the service:
● ovirt-websocket-proxy.service - oVirt Engine websockets proxy
Loaded: loaded (/usr/lib/systemd/system/ovirt-websocket-proxy.service; 
enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2021-04-28 02:03:54 UTC; 7h ago
   Process: 1694 ExecStart = / usr / share / ovirt-engine / services / 
ovirt-websocket-proxy / ovirt-websocket-proxy.py --systemd = notify $ 
EXTRA_ARGS start (code = exited, status = 1 / FAILURE)
  Main PID: 1694 (code = exited, status = 1 / FAILURE)

Apr 28 02:03:53 ovirt.myhostedengine.com systemd [1]: Starting oVirt Engine 
websockets proxy ...
Apr 28 02:03:54 ovirt.myhostedengine.com ovirt-websocket [1694]: 2021-04-28 02: 
03: 54,614 +  ovirt-websocket-proxy: ERROR run: 554 Error: SSL_ONLY is set 
but SSL_CERTIFICATE or SSL_KEY file not found.
Apr 28 02:03:54ovirt.hostedengine.com ovirt-websocket-proxy.py [1694]: 
ovirt-websocket-proxy [1694] ERROR run: 554 Error: SSL_ONLY is set but 
SSL_CERTIFICATE or SSL_KEY file not found.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: 
ovirt-websocket-proxy.service: main process exited, code = exited, status = 1 / 
FAILURE
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: Failed to start oVirt 
Engine websockets proxy.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: Unit 
ovirt-websocket-proxy.service entered failed state.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: 
ovirt-websocket-proxy.service failed.

Sorry if I say any inconsistencies, but I'm new to this whole ovirt topic.
Thanks again.
___
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/27OKNERV7RAKGTI6UWFEVQ4J6JUCUQA2/


___
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/2SIEHDTISAHB6EFEZNJZFWF6DCKMMCVL/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Juhani Rautiainen
Hi!

I know something about multipathing and LVM but I'm not quite familiar
how this is supposed to look. I compared 4.4 node to 4.3 node and it
looks totally different from lvm perpective. I'm not sure if this is
because of changes or problems in this node. Multipath shows same
disks but for example pvdisplay on 4.4 node shows only local disk PV:

[root@ovirt02 tmp]# pvdisplay
  --- Physical volume ---
  PV Name   /dev/sda3
  VG Name   onn

On old node:
[root@ovirt01 ~]# pvdisplay
  --- Physical volume ---
  PV Name   /dev/mapper/36000d31005b4f61a
--- Physical volume ---
  PV Name   /dev/mapper/36000d31005b4f61d
 --- Physical volume ---
  PV Name   /dev/mapper/360002ac0026157b9
--- Physical volume ---
  PV Name   /dev/mapper/3600508b1001cce98eb718bd780426566p3
  VG Name   onn_ovirt01

This worries me as I don't have an idea how to fix this.

Thanks,
Juhani


On Wed, Apr 28, 2021 at 12:45 PM Yedidyah Bar David  wrote:
>
> On Wed, Apr 28, 2021 at 11:16 AM Juhani Rautiainen
>  wrote:
> >
> > I found these using dmsetup ls -tree:
> >
> > 6db20b74--512d--4a70--994e--8923d9e1e50b-master (253:21)
> >  └─36000d31005b4f629 (253:36)
> > ├─ (65:64)
> > ├─ (65:80)
> > ├─ (65:32)
> > └─ (65:48)
> > 6db20b74--512d--4a70--994e--8923d9e1e50b-inbox (253:17)
> >  └─36000d31005b4f629 (253:36)
> > ├─ (65:64)
> > ├─ (65:80)
> > ├─ (65:32)
> > └─ (65:48)
> > db64924d--aa94--48ad--809a--3d235e84686b-ids (253:22)
> >  └─36000d31005b4f61d (253:12)
> > ├─ (8:112)
> > ├─ (8:96)
> > ├─ (8:64)
> > └─ (8:48)
> > df259f5a--e1bd--4a93--bd6e--bace450625dc-master (253:35)
> >  └─36000d31005b4f61a (253:13)
> > ├─ (8:144)
> > ├─ (8:128)
> > ├─ (8:80)
> > └─ (8:32)
> > 6db20b74--512d--4a70--994e--8923d9e1e50b-outbox (253:18)
> >  └─36000d31005b4f629 (253:36)
> > ├─ (65:64)
> > ├─ (65:80)
> > ├─ (65:32)
> > └─ (65:48)
> >
> > ID matches the one in ansible error and vdsm log. Are these done by
> > oVirt? I mean it's pretty hard to know what to free if you don't know
> > what should be and should not be there. And if these can be cleared
> > how do you do that?
>
> Storage is not my expertise, but I think that's not the point. Yes, oVirt
> creates/created them. But this does not mean that pvcreate should fail.
> It most likely fails because something else is using the device somehow.
> If this "something" is an oVirt process, that's likely a bug in oVirt.
> Can you please try checking this?
>
> >
> > By the way does anyone know how I can connect back to that HE that is
> > hosted locally during installation (URL like
> > https://ovirt02.virt.local:6900/ovirt-engine/). It seems the
> > connection disappeared this morning.  Now I'm totally blind what's
> > going on in both nodes... Maybe I have to clear this SHE recovery and
> > start from the scratch.
>
> If the VM is still running (you can check with e.g. 'ps auxww | grep qemu'),
> you can try connecting to it. You should be able to find its (local) IP 
> address
> in the setup logs, search for "local_vm_ip".
>
> Best regards,
>
> >
> > Thanks,
> > Juhani
> >
> > On Wed, Apr 28, 2021 at 9:57 AM Yedidyah Bar David  wrote:
> > >
> > > On Wed, Apr 28, 2021 at 9:29 AM Juhani Rautiainen
> > >  wrote:
> > > >
> > > > Hi!
> > > >
> > > > This is from ansible logs:
> > > > 2021-04-27 22:20:38,286+0300 ERROR ansible failed {
> > > > "ansible_host": "localhost",
> > > > "ansible_playbook":
> > > > "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> > > > "ansible_result": {
> > > > "_ansible_no_log": false,
> > > > "changed": false,
> > > > "exception": "Traceback (most recent call last):\n  File
> > > > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_storage_domain.py\",
> > > > line 804, in main\n  File
> > > > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/ovirt.py\",
> > > > line 651, in create\n**kwargs\n  File
> > > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
> > > > 26182, in add\nreturn self._internal_add(storage_domain, headers,
> > > > query, wait)\n  File
> > > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> > > > in _internal_add\nreturn future.wait() if wait else future\n  File
> > > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
> > > > in wait\nreturn self._code(response)\n  File
> > > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
> > > > in callback\nself._check_fault(response)\n  File
> > > > 

[ovirt-users] Re: Import VM with Xen Based in Ovirt

2021-04-28 Thread Strahil Nikolov via Users
I think that you have to export the BM as OVA or convert it to KVM before being 
able to import via oVirt
Best Regards,Strahil Nikolov
 
 
  On Wed, Apr 28, 2021 at 12:36, hemaa--- via Users wrote:   
Any leads please?
___
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/WB7KTXNCLD27R2II4XPMAFJUZEDZXOJA/
  
___
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/IIFFJYN3LBR3WMDIVPAFGNZFRLTDD45L/


[ovirt-users] Faild ovirt-websocket-proxy.

2021-04-28 Thread jesado74
Hello again.
After getting the hosted-engine vm back, now I have the following problem. I 
can't use the graphic console. The websocket-proy fails me. Surely when I 
update the certificates I have missed some intermediate step, but I do not know 
how to follow.
Anyone know of a link to follow the certificate change procedure in the 
websocket-proxy service.
Thank you.
PS: Here I leave the output of the service:
● ovirt-websocket-proxy.service - oVirt Engine websockets proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-websocket-proxy.service; 
enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2021-04-28 02:03:54 UTC; 7h ago
  Process: 1694 ExecStart = / usr / share / ovirt-engine / services / 
ovirt-websocket-proxy / ovirt-websocket-proxy.py --systemd = notify $ 
EXTRA_ARGS start (code = exited, status = 1 / FAILURE)
 Main PID: 1694 (code = exited, status = 1 / FAILURE)

Apr 28 02:03:53 ovirt.myhostedengine.com systemd [1]: Starting oVirt Engine 
websockets proxy ...
Apr 28 02:03:54 ovirt.myhostedengine.com ovirt-websocket [1694]: 2021-04-28 02: 
03: 54,614 +  ovirt-websocket-proxy: ERROR run: 554 Error: SSL_ONLY is set 
but SSL_CERTIFICATE or SSL_KEY file not found.
Apr 28 02:03:54ovirt.hostedengine.com ovirt-websocket-proxy.py [1694]: 
ovirt-websocket-proxy [1694] ERROR run: 554 Error: SSL_ONLY is set but 
SSL_CERTIFICATE or SSL_KEY file not found.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: 
ovirt-websocket-proxy.service: main process exited, code = exited, status = 1 / 
FAILURE
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: Failed to start oVirt 
Engine websockets proxy.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: Unit 
ovirt-websocket-proxy.service entered failed state.
Apr 28 02:03:54 ovirt.myhostedengine.com systemd [1]: 
ovirt-websocket-proxy.service failed.

Sorry if I say any inconsistencies, but I'm new to this whole ovirt topic.
Thanks again.
___
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/27OKNERV7RAKGTI6UWFEVQ4J6JUCUQA2/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Yedidyah Bar David
On Wed, Apr 28, 2021 at 11:16 AM Juhani Rautiainen
 wrote:
>
> I found these using dmsetup ls -tree:
>
> 6db20b74--512d--4a70--994e--8923d9e1e50b-master (253:21)
>  └─36000d31005b4f629 (253:36)
> ├─ (65:64)
> ├─ (65:80)
> ├─ (65:32)
> └─ (65:48)
> 6db20b74--512d--4a70--994e--8923d9e1e50b-inbox (253:17)
>  └─36000d31005b4f629 (253:36)
> ├─ (65:64)
> ├─ (65:80)
> ├─ (65:32)
> └─ (65:48)
> db64924d--aa94--48ad--809a--3d235e84686b-ids (253:22)
>  └─36000d31005b4f61d (253:12)
> ├─ (8:112)
> ├─ (8:96)
> ├─ (8:64)
> └─ (8:48)
> df259f5a--e1bd--4a93--bd6e--bace450625dc-master (253:35)
>  └─36000d31005b4f61a (253:13)
> ├─ (8:144)
> ├─ (8:128)
> ├─ (8:80)
> └─ (8:32)
> 6db20b74--512d--4a70--994e--8923d9e1e50b-outbox (253:18)
>  └─36000d31005b4f629 (253:36)
> ├─ (65:64)
> ├─ (65:80)
> ├─ (65:32)
> └─ (65:48)
>
> ID matches the one in ansible error and vdsm log. Are these done by
> oVirt? I mean it's pretty hard to know what to free if you don't know
> what should be and should not be there. And if these can be cleared
> how do you do that?

Storage is not my expertise, but I think that's not the point. Yes, oVirt
creates/created them. But this does not mean that pvcreate should fail.
It most likely fails because something else is using the device somehow.
If this "something" is an oVirt process, that's likely a bug in oVirt.
Can you please try checking this?

>
> By the way does anyone know how I can connect back to that HE that is
> hosted locally during installation (URL like
> https://ovirt02.virt.local:6900/ovirt-engine/). It seems the
> connection disappeared this morning.  Now I'm totally blind what's
> going on in both nodes... Maybe I have to clear this SHE recovery and
> start from the scratch.

If the VM is still running (you can check with e.g. 'ps auxww | grep qemu'),
you can try connecting to it. You should be able to find its (local) IP address
in the setup logs, search for "local_vm_ip".

Best regards,

>
> Thanks,
> Juhani
>
> On Wed, Apr 28, 2021 at 9:57 AM Yedidyah Bar David  wrote:
> >
> > On Wed, Apr 28, 2021 at 9:29 AM Juhani Rautiainen
> >  wrote:
> > >
> > > Hi!
> > >
> > > This is from ansible logs:
> > > 2021-04-27 22:20:38,286+0300 ERROR ansible failed {
> > > "ansible_host": "localhost",
> > > "ansible_playbook":
> > > "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> > > "ansible_result": {
> > > "_ansible_no_log": false,
> > > "changed": false,
> > > "exception": "Traceback (most recent call last):\n  File
> > > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_storage_domain.py\",
> > > line 804, in main\n  File
> > > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/ovirt.py\",
> > > line 651, in create\n**kwargs\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
> > > 26182, in add\nreturn self._internal_add(storage_domain, headers,
> > > query, wait)\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> > > in _internal_add\nreturn future.wait() if wait else future\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
> > > in wait\nreturn self._code(response)\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
> > > in callback\nself._check_fault(response)\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132,
> > > in _check_fault\nself._raise_error(response, body)\n  File
> > > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118,
> > > in _raise_error\nraise error\novirtsdk4.Error: Fault reason is
> > > \"Operation Failed\". Fault detail is \"[Physical device
> > > initialization failed. Please check that the device is empty and
> > > accessible by the host.]\". HTTP response code is 400.\n",
> > > "invocation": {
> > > "module_args": {
> > > "backup": null,
> > > "comment": null,
> > > "critical_space_action_blocker": null,
> > > "data_center": "Default",
> > > "description": null,
> > > "destroy": null,
> > > "discard_after_delete": true,
> > > "domain_function": "data",
> > > "fcp": {
> > > "lun_id": "36000d31005b4f629"
> > > },
> > > "fetch_nested": false,
> > > "format": null,
> > > "glusterfs": null,
> > > "host": "ovirt02.virt.local",
> > > "id": null,
> > > "iscsi": 

[ovirt-users] Re: Import VM with Xen Based in Ovirt

2021-04-28 Thread hemaa--- via Users
Any leads please?
___
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/WB7KTXNCLD27R2II4XPMAFJUZEDZXOJA/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Juhani Rautiainen
I found these using dmsetup ls -tree:

6db20b74--512d--4a70--994e--8923d9e1e50b-master (253:21)
 └─36000d31005b4f629 (253:36)
├─ (65:64)
├─ (65:80)
├─ (65:32)
└─ (65:48)
6db20b74--512d--4a70--994e--8923d9e1e50b-inbox (253:17)
 └─36000d31005b4f629 (253:36)
├─ (65:64)
├─ (65:80)
├─ (65:32)
└─ (65:48)
db64924d--aa94--48ad--809a--3d235e84686b-ids (253:22)
 └─36000d31005b4f61d (253:12)
├─ (8:112)
├─ (8:96)
├─ (8:64)
└─ (8:48)
df259f5a--e1bd--4a93--bd6e--bace450625dc-master (253:35)
 └─36000d31005b4f61a (253:13)
├─ (8:144)
├─ (8:128)
├─ (8:80)
└─ (8:32)
6db20b74--512d--4a70--994e--8923d9e1e50b-outbox (253:18)
 └─36000d31005b4f629 (253:36)
├─ (65:64)
├─ (65:80)
├─ (65:32)
└─ (65:48)

ID matches the one in ansible error and vdsm log. Are these done by
oVirt? I mean it's pretty hard to know what to free if you don't know
what should be and should not be there. And if these can be cleared
how do you do that?

By the way does anyone know how I can connect back to that HE that is
hosted locally during installation (URL like
https://ovirt02.virt.local:6900/ovirt-engine/). It seems the
connection disappeared this morning.  Now I'm totally blind what's
going on in both nodes... Maybe I have to clear this SHE recovery and
start from the scratch.

Thanks,
Juhani

On Wed, Apr 28, 2021 at 9:57 AM Yedidyah Bar David  wrote:
>
> On Wed, Apr 28, 2021 at 9:29 AM Juhani Rautiainen
>  wrote:
> >
> > Hi!
> >
> > This is from ansible logs:
> > 2021-04-27 22:20:38,286+0300 ERROR ansible failed {
> > "ansible_host": "localhost",
> > "ansible_playbook":
> > "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> > "ansible_result": {
> > "_ansible_no_log": false,
> > "changed": false,
> > "exception": "Traceback (most recent call last):\n  File
> > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_storage_domain.py\",
> > line 804, in main\n  File
> > \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/ovirt.py\",
> > line 651, in create\n**kwargs\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
> > 26182, in add\nreturn self._internal_add(storage_domain, headers,
> > query, wait)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> > in _internal_add\nreturn future.wait() if wait else future\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
> > in wait\nreturn self._code(response)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
> > in callback\nself._check_fault(response)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132,
> > in _check_fault\nself._raise_error(response, body)\n  File
> > \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118,
> > in _raise_error\nraise error\novirtsdk4.Error: Fault reason is
> > \"Operation Failed\". Fault detail is \"[Physical device
> > initialization failed. Please check that the device is empty and
> > accessible by the host.]\". HTTP response code is 400.\n",
> > "invocation": {
> > "module_args": {
> > "backup": null,
> > "comment": null,
> > "critical_space_action_blocker": null,
> > "data_center": "Default",
> > "description": null,
> > "destroy": null,
> > "discard_after_delete": true,
> > "domain_function": "data",
> > "fcp": {
> > "lun_id": "36000d31005b4f629"
> > },
> > "fetch_nested": false,
> > "format": null,
> > "glusterfs": null,
> > "host": "ovirt02.virt.local",
> > "id": null,
> > "iscsi": null,
> > "localfs": null,
> > "managed_block_storage": null,
> > "name": "hosted_storage",
> > "nested_attributes": [],
> > "nfs": null,
> > "poll_interval": 3,
> > "posixfs": null,
> > "state": "unattached",
> > "timeout": 180,
> > "wait": true,
> > "warning_low_space": null,
> > "wipe_after_delete": null
> > }
> > },
> > "msg": "Fault reason is \"Operation Failed\". Fault detail is
> > \"[Physical device initialization failed. Please check that the device
> > is empty and accessible by the host.]\". HTTP response code is 400."
> > },
> > "ansible_task": "Add Fibre Channel 

[ovirt-users] Re: Ovirt-engine Setup Error-Failed to execute stage 'Misc configuration

2021-04-28 Thread rajkumar madhu
Thanks for your support.

On Wed, Apr 28, 2021 at 11:22 AM Yedidyah Bar David  wrote:

> On Wed, Apr 28, 2021 at 6:39 AM rajkumar madhu
>  wrote:
> >
> > Thank u .
> >
> > do u have any document to install Ovirt.
>
> See e.g.:
>
>
> https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/
>
> But I think you already followed it, or something similar, so that's
> not the issue.
>
> >
> > i have checked there is no directoryin my server .in that case what i
> have to do .
> >
> > please help me on this.
>
> Please let me clarify:
>
> When you do 'dnf install ovirt-engine', it should also create this
> directory for you.
>
> If it's missing, something or someone removed it.
> If that was you, or someone else, and you did it by mistake, and this
> is the only thing you removed, fine - just create it and try again.
> Or just 'dnf reinstall ovirt-engine' to be on the safe side.
>
> But if it was not a person, then it might have been a bug somewhere
> (in some program), or some other kind of problem - e.g. this could
> have happened if the machine lost its power during installation. If
> this is the case, it's better to first understand what the issue was,
> and handle it. If it indeed was a power/hardware problem, it might be
> safer to do a thorough check of the hardware and reinstall the OS, or
> use other hardware if it's broken. And if it's a bug in some program,
> better fix that first.
>
> Good luck and best regards,
>
> >
> > Regards,
> > Rajkumar M
> > 9176772077
> >
> > On Tue, Apr 27, 2021 at 7:10 PM Yedidyah Bar David 
> wrote:
> >>
> >> Hi,
> >>
> >> On Tue, Apr 27, 2021 at 4:07 PM rajkumar madhu
> >>  wrote:
> >> >
> >> > Hi Team,
> >> >
> >> > Unable to install Ovirt in my centos server.while executing
> Engine-setup command ,I am getting below error.Please help me on this .
> >> >
> >> >Please confirm installation settings (OK, Cancel) [OK]: [ INFO  ]
> Stage: Transaction setup
> >> > [ INFO  ] Stopping engine service
> >> > [ INFO  ] Stopping ovirt-fence-kdump-listener service
> >> > [ INFO  ] Stopping dwh service
> >> > [ INFO  ] Stopping vmconsole-proxy service
> >> > [ INFO  ] Stopping websocket-proxy service
> >> > [ INFO  ] Stage: Misc configuration (early)
> >> > [ INFO  ] Stage: Package installation
> >> > [ INFO  ] Stage: Misc configuration
> >> > [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No
> such file or directory: '/etc/ovirt-engine/extensions.d'
> >>
> >> Please check why this directory is missing. It should be part of the
> >> 'ovirt-engine' package.
> >>
> >> Best regards,
> >> --
> >> Didi
> >>
>
>
> --
> Didi
>
>
___
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/4QK7DYIH23NCKF5JEJYAUA3XSUZ72QLZ/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Yedidyah Bar David
On Wed, Apr 28, 2021 at 9:29 AM Juhani Rautiainen
 wrote:
>
> Hi!
>
> This is from ansible logs:
> 2021-04-27 22:20:38,286+0300 ERROR ansible failed {
> "ansible_host": "localhost",
> "ansible_playbook":
> "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> "ansible_result": {
> "_ansible_no_log": false,
> "changed": false,
> "exception": "Traceback (most recent call last):\n  File
> \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_storage_domain.py\",
> line 804, in main\n  File
> \"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/ovirt.py\",
> line 651, in create\n**kwargs\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
> 26182, in add\nreturn self._internal_add(storage_domain, headers,
> query, wait)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> in _internal_add\nreturn future.wait() if wait else future\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
> in wait\nreturn self._code(response)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
> in callback\nself._check_fault(response)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132,
> in _check_fault\nself._raise_error(response, body)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118,
> in _raise_error\nraise error\novirtsdk4.Error: Fault reason is
> \"Operation Failed\". Fault detail is \"[Physical device
> initialization failed. Please check that the device is empty and
> accessible by the host.]\". HTTP response code is 400.\n",
> "invocation": {
> "module_args": {
> "backup": null,
> "comment": null,
> "critical_space_action_blocker": null,
> "data_center": "Default",
> "description": null,
> "destroy": null,
> "discard_after_delete": true,
> "domain_function": "data",
> "fcp": {
> "lun_id": "36000d31005b4f629"
> },
> "fetch_nested": false,
> "format": null,
> "glusterfs": null,
> "host": "ovirt02.virt.local",
> "id": null,
> "iscsi": null,
> "localfs": null,
> "managed_block_storage": null,
> "name": "hosted_storage",
> "nested_attributes": [],
> "nfs": null,
> "poll_interval": 3,
> "posixfs": null,
> "state": "unattached",
> "timeout": 180,
> "wait": true,
> "warning_low_space": null,
> "wipe_after_delete": null
> }
> },
> "msg": "Fault reason is \"Operation Failed\". Fault detail is
> \"[Physical device initialization failed. Please check that the device
> is empty and accessible by the host.]\". HTTP response code is 400."
> },
> "ansible_task": "Add Fibre Channel storage domain",
> "ansible_type": "task",
> "status": "FAILED",
>
> This seem to happen same time:
>
> 2021-04-27 22:20:37,576+0300 INFO  (jsonrpc/5) [vdsm.api] FINISH
> getDeviceList return={'devList': [{'GUID':
> '36000d31005b4f629', 'capacity': '536870912000',
> 'devtype': 'FCP', 'fwrev': '0704', 'logicalblocksize': '512',
> 'pathlist': [], 'pathstatus': [{'physdev': 'sdu', 'state': 'active',
> 'capacity': '536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev':
> 'sds', 'state': 'active', 'capacity': '536870912000', 'lun': '3',
> 'type': 'FCP'}, {'physdev': 'sdv', 'state': 'active', 'capacity':
> '536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev': 'sdt',
> 'state': 'active', 'capacity': '536870912000', 'lun': '3', 'type':
> 'FCP'}], 'physicalblocksize': '4096', 'productID': 'Compellent Vol',
> 'pvUUID': '', 'pvsize': '', 'serial':
> 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'vendorID': 'COMPELNT',
> 'vgUUID': '', 'discard_max_bytes': 268435456, 'discard_zeroes_data':
> 0, 'status': 'unknown'}]} from=:::192.168.222.89,57472,
> flow_id=676e5ced-7a4f-4a36-8842-cb98a38f5f4b,
> task_id=792a93ab-5129-4bf2-8ff0-70b5cdf19221 (api:54)
> 2021-04-27 22:20:37,641+0300 INFO  (jsonrpc/4) [vdsm.api] START
> createVG(vgname='bd3efbef-0178-4a21-9a13-2a293482fdd5',
> devlist=['36000d31005b4f629'], force=False,
> options=None) from=:::192.168.222.89,57472, flow_id=6dce1780,
> task_id=4b269432-9f27-406b-a03b-6dfaaa2d1f67 (api:48)
> 2021-04-27 22:20:37,729+0300 WARN  (jsonrpc/4) [storage.LVM] Command
> with specific filter failed or returned no data, retrying with a 

[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-28 Thread Juhani Rautiainen
Hi!

This is from ansible logs:
2021-04-27 22:20:38,286+0300 ERROR ansible failed {
"ansible_host": "localhost",
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_result": {
"_ansible_no_log": false,
"changed": false,
"exception": "Traceback (most recent call last):\n  File
\"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_storage_domain.py\",
line 804, in main\n  File
\"/tmp/ansible_ovirt_storage_domain_payload_hlz7j9sk/ansible_ovirt_storage_domain_payload.zip/ansible_collections/ovirt/ovirt/plugins/module_utils/ovirt.py\",
line 651, in create\n**kwargs\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line
26182, in add\nreturn self._internal_add(storage_domain, headers,
query, wait)\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
in _internal_add\nreturn future.wait() if wait else future\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55,
in wait\nreturn self._code(response)\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229,
in callback\nself._check_fault(response)\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132,
in _check_fault\nself._raise_error(response, body)\n  File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118,
in _raise_error\nraise error\novirtsdk4.Error: Fault reason is
\"Operation Failed\". Fault detail is \"[Physical device
initialization failed. Please check that the device is empty and
accessible by the host.]\". HTTP response code is 400.\n",
"invocation": {
"module_args": {
"backup": null,
"comment": null,
"critical_space_action_blocker": null,
"data_center": "Default",
"description": null,
"destroy": null,
"discard_after_delete": true,
"domain_function": "data",
"fcp": {
"lun_id": "36000d31005b4f629"
},
"fetch_nested": false,
"format": null,
"glusterfs": null,
"host": "ovirt02.virt.local",
"id": null,
"iscsi": null,
"localfs": null,
"managed_block_storage": null,
"name": "hosted_storage",
"nested_attributes": [],
"nfs": null,
"poll_interval": 3,
"posixfs": null,
"state": "unattached",
"timeout": 180,
"wait": true,
"warning_low_space": null,
"wipe_after_delete": null
}
},
"msg": "Fault reason is \"Operation Failed\". Fault detail is
\"[Physical device initialization failed. Please check that the device
is empty and accessible by the host.]\". HTTP response code is 400."
},
"ansible_task": "Add Fibre Channel storage domain",
"ansible_type": "task",
"status": "FAILED",

This seem to happen same time:

2021-04-27 22:20:37,576+0300 INFO  (jsonrpc/5) [vdsm.api] FINISH
getDeviceList return={'devList': [{'GUID':
'36000d31005b4f629', 'capacity': '536870912000',
'devtype': 'FCP', 'fwrev': '0704', 'logicalblocksize': '512',
'pathlist': [], 'pathstatus': [{'physdev': 'sdu', 'state': 'active',
'capacity': '536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev':
'sds', 'state': 'active', 'capacity': '536870912000', 'lun': '3',
'type': 'FCP'}, {'physdev': 'sdv', 'state': 'active', 'capacity':
'536870912000', 'lun': '3', 'type': 'FCP'}, {'physdev': 'sdt',
'state': 'active', 'capacity': '536870912000', 'lun': '3', 'type':
'FCP'}], 'physicalblocksize': '4096', 'productID': 'Compellent Vol',
'pvUUID': '', 'pvsize': '', 'serial':
'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'vendorID': 'COMPELNT',
'vgUUID': '', 'discard_max_bytes': 268435456, 'discard_zeroes_data':
0, 'status': 'unknown'}]} from=:::192.168.222.89,57472,
flow_id=676e5ced-7a4f-4a36-8842-cb98a38f5f4b,
task_id=792a93ab-5129-4bf2-8ff0-70b5cdf19221 (api:54)
2021-04-27 22:20:37,641+0300 INFO  (jsonrpc/4) [vdsm.api] START
createVG(vgname='bd3efbef-0178-4a21-9a13-2a293482fdd5',
devlist=['36000d31005b4f629'], force=False,
options=None) from=:::192.168.222.89,57472, flow_id=6dce1780,
task_id=4b269432-9f27-406b-a03b-6dfaaa2d1f67 (api:48)
2021-04-27 22:20:37,729+0300 WARN  (jsonrpc/4) [storage.LVM] Command
with specific filter failed or returned no data, retrying with a wider
filter, cmd=['/sbin/lvm', 'pvcreate', '--config', 'devices {
preferred_names=["^/dev/mapper/"]  ignore_suspended_devices=1
write_cache_state=0  disable_after_error_count=3
filter=["a|^/dev/mapper/36000d31005b4f629$|", "r|.*|"]