[ovirt-users] Re: too slow!

2022-05-23 Thread Yedidyah Bar David
On Tue, May 24, 2022 at 6:34 AM tommy  wrote:
>
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv4 inbound route 
> rules]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv6 outbound route 
> rules]
> [ INFO  ] skipping: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv6 inbound route 
> rules]
> [ INFO  ] skipping: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Get host unique id]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Create directory for local 
> VM]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Set local vm dir path]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Install 
> ovirt-engine-appliance rpm]
>
>
> This step is too slow!

Only this one?

> Any better method ?

Yes - you can preinstall it. 'dnf instatll ovirt-engine-appliance'.

If it's slow because your machine is slow/loaded/problematic/whatever, as
opposed to mere slowness of the Internet connection, there might be other
things that will be too slow.

Best regards,
-- 
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/P6CYD5JALMFE5KBRVKVABVESG4R44USB/


[ovirt-users] too slow!

2022-05-23 Thread tommy
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv4 inbound route rules]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv6 outbound route rules]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add IPv6 inbound route rules]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Get host unique id]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Create directory for local VM]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Set local vm dir path]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Install 
ovirt-engine-appliance rpm]


This step is too slow!
Any better method ?




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


[ovirt-users] Re: On oVirt 4.4 Can not import VM from Export domain from ovirt-4.3 nor DataDomain from ovirt-4.3

2022-05-23 Thread Nir Soffer
On Mon, May 23, 2022 at 3:31 PM  wrote:
>
> HI
>
> Thank you for fast response.
>
> In the mean time I have discovered what was the problem in my case.
>
> The problem was that export domain and data domain from oVirt 4.3 had OVF 
> where  tag is used (ID caps letters) instead of expected 
> .
>
> oVirt 4.4 expected   tag which wasn't used in this case so the 
> engine assumed that OVF files were corrupted.
>
> Fix for me was simple on Export Domain I swapped InstanceID with InstanceId.
> bash# for i in `find . -name "*.ovf"` ; do sudo sed -i 
> 's/InstanceID/InstanceId/g' $i ; done ;
>
> But I could not fix datadomain since I didn't want to dive into OVF_STORE 
> disk. I am guessing that there is a tool for editing OVF_STORE disks whit out 
> damaging the domain?!

The OVF_STORE disks contains a single tar file at offset 0. You can
extract the tar from the volume
using:

   tar xf /path/to/ovf_store/volume

On file storage this is easy -  you can modify the contents of the OVF
files in the tar, and write the
modied tar back to the volume, but you must update the size of the tar
in the ovf store metadata file.

For example:

# grep DESCRIPTION
/rhev/data-center/mnt/alpine\:_01/81738a7a-7ca6-43b8-b9d8-1866a1f81f83/images/0b0dd3b2-71a2-4c48-ad83-cea1dc900818/35dd9951-
DESCRIPTION={"Updated":true,"Size":23040,"Last Updated":"Sun Apr 24
15:46:27 IDT 2022","Storage
Domains":[{"uuid":"81738a7a-7ca6-43b8-b9d8-1866a1f81f83"}],"Disk
Description":"OVF_STORE"}

You need to keep "Size":23040, correct, since engine use it to read
the tar from storage.

On block storage updating the metadata is much harder, so I would not
go in this way.

If the issue is code expecting "InstanceId" but the actual key is
"InstanceID" the right place to
fix this is in the code, accepting "InstanceId" or "InstanceID".

In general this sounds like a bug, so you should file a bug for the
component reading the
OVF (vdsm?).

Nir
___
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/FNCU4ZZEY5YR2HH2SIFEEFHTS5FNKM6E/


[ovirt-users] Re: On oVirt 4.4 Can not import VM from Export domain from ovirt-4.3 nor DataDomain from ovirt-4.3

2022-05-23 Thread upalmin
HI

Thank you for fast response. 

In the mean time I have discovered what was the problem in my case.

The problem was that export domain and data domain from oVirt 4.3 had OVF where 
 tag is used (ID caps letters) instead of expected .

oVirt 4.4 expected   tag which wasn't used in this case so the 
engine assumed that OVF files were corrupted.

Fix for me was simple on Export Domain I swapped InstanceID with InstanceId. 
bash# for i in `find . -name "*.ovf"` ; do sudo sed -i 
's/InstanceID/InstanceId/g' $i ; done ;

But I could not fix datadomain since I didn't want to dive into OVF_STORE disk. 
I am guessing that there is a tool for editing OVF_STORE disks whit out 
damaging the domain?! 

Regards Uros

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


[ovirt-users] Re: oVirt survey questions gathering

2022-05-23 Thread Sandro Bonazzola
Thanks!

Il giorno ven 20 mag 2022 alle ore 09:48 Patrick Hibbs <
hibbsncc1...@gmail.com> ha scritto:

> My question suggestions:
>
> 1. Do you use any 3rd party management utility?
> - oVirt Desktop Client
> - moVirt
> - Other: Free text entry.
>
> 2. If you use a third party management utility, what kind of users are
> allowed to use it?
> - Admins only.
> - End Users only.
> - Admins / End Users.
> - Auditors.
> - Everyone.
>
> 3. If you use a third party management utility, what is your primary
> reason for using it?
> - Avoid using a web browser.
> - Limit engine visibility to end-users / avoid overwhelming them.
> - Backup and Restoration.
> - Security.
> - Other: Free text entry.
>
> 4. If you use a third party management utility, what is a feature you'd
> like to see implemented most?
> - Image upload / download.
> - VM creation / deletion.
> - VM config edit.
> - Other: Free text entry.
>
> 5. What is the most frusturating part of managing an oVirt installation?
> - Storage Domain connectivity.
> - CentOS Stream updates.
> - Certificate Management.
> - Lack of CPU type options / Unsupported configurations.
> - Lack of official support for versions other than the most recent release
> of oVirt.
> - Other: Free text entry.
>
> 6. What feature would you like to see implemented in oVirt? (Select all
> that apply.)
> - More CPU types / allow unsupported VM hosts.
> - Centralized Certificate Management.
> - VM PCI bus tree editing. (Change order of the VM's PCI devices / Change
> PCI slot numbers for VM devices / etc.)
> - UEFI vars support for non-SecureBoot VMs.
> - VM UEFI firmware replacement. (Upload replacement firmware for a VM to
> use via the WebUI.)
> - Additional Engine / VDSM Host OS support. (Alma / Rocky / Debian / etc.)
> - Integrated Power Utilization Monitoring.
> - Other: Free text entry.
>
> -Patrick Hibbs
>
> On Mon, 2022-05-16 at 11:47 +0200, Sandro Bonazzola wrote:
>
> Hi, as every year I'd like to have a survey gathering feedback from the
> oVirt community.
> I would like to get input from the community itself on what you'd like to
> know from the other members of the community.
>
> As oVirt developer: which question may help you take decisions on new
> features or deprecate existing ones you consider unused?
> As oVirt sysadmin user: which question may help you take decisions on your
> datacenters planning?
> As a third party software vendor (backup, monitoring, ...): which
> questions may help you drive your further developments integrating with
> oVirt?
> As a downstream vendor, integrator, consultant offering services around
> oVirt: which questions may help you drive your investment on contributing
> to oVirt project?
> As a university, research center, high school, code club, which questions
> may help you drive your decision to be involved with the future of oVirt
> project?
> Any other questions you think may be relevant and worth asking the oVirt
> community?
>
> Collecting questions suggested in this thread here:
> https://github.com/oVirt/ovirt-site/wiki/oVirt-2022-Survey-questions
>
> Thanks,
> ___
> 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/W6O77QNAAMJJYGWJXU24SS2P6GIDJNOF/
>
>
> ___
> 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/VGIQOPRDC5G3PM6T35ZQX7V2MXXPEZ2F/
>


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
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/ZUHEXWKOVRIRNF4HS7O54UEXOYFDQ5BU/


[ovirt-users] Re: Python error when deploying SHE on Rocky Linux

2022-05-23 Thread Yedidyah Bar David
On Fri, May 20, 2022 at 3:07 PM  wrote:
>
> Hi, I'm trying to deploy a self hosted engine on a Rocky Linux 8.6. Ovirt has 
> installed ok but I get this when deploying the engine -
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Python 
> Module not found: firewalld and its python module are required for this 
> module, version 0.2.11 or newer required (0.3.9 or newer for offline 
> operations)"}
>
> I've tried running ansible_python_interpreter=/usr/bin/python3 on the host 
> pre deployment but that hasn't worked.

Where and how did you try this?

> I've copied the progress below. Does the engine exist in part at the point it 
> fails and the problem is Python on the Engine not the host?

[snip]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Open a port on firewalld]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Python 
> Module not found: firewalld and its python module are required for this 
> module, version 0.2.11 or newer required (0.3.9 or newer for offline 
> operations)"}

This error is from the host, not the engine VM.

I thought I might know the reason, but checking further shows me I
still do not...
Adding a few other people that might be able to help.

What I did check so far (only by looking at code and testing on quite
current CentOS Stream 8, not Rocky Linux):

1. This seems to be a minimal reproducer of your issue, on Stream:

# ansible -m firewalld -a state=enabled localhost

2. This seems to be a minimal "fix", for the above:

# ansible -m firewalld -a state=enabled -c local -i localhost, all

Meaning: Specifying an inventory, instead of directly a host. See also e.g.:

https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html

https://stackoverflow.com/questions/61561744/why-do-i-get-different-python-version-for-implicit-and-explicit-localhost

Running both of them with ANSIBLE_DEBUG=1 and -v shows that there
are differences in which python is used, but I failed to completely
understand how it's done.

A wild guess as to why this fails on Rocky Linux:

https://github.com/ansible/ansible/blob/devel/lib/ansible/config/base.yml#L1528

Perhaps there should have been code that would have caused the code
using the this map, to use 'redhat', but perhaps this does not work
well there.

If the "fixed" version (2.) above fails on Rocky Linux, perhaps open a
ticket on Rocky Linux's ansible packaging and have it fixed, then try
hosted-engine deployment again.

Hope this helps at least a bit...

Best regards,
--
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/EHG5EYY6IGBFIIAP2AZLNFQM4AXIT62P/


[ovirt-users] Re: Unable to boot VM due to BIOS error on oVirt 4.5.0.2.

2022-05-23 Thread Tomáš Golembiovský
On Fri, May 20, 2022 at 02:07:02AM -, msj...@kisti.re.kr wrote:
> Hi, all.
> 
> I currently operates several VMs on cockpit-machines, and I want to move 
> those VMs to oVirt.
> 
> When I tried oVirt 4.5 last month, installation failed and I tried oVirt 
> 4.3.10, it works. I moved several qcow2 disks on hyper-converged gluster and 
> I attached them on VMs and some disks boot and operate well, but some cannot 
> boot due to XFS issues - https://access.redhat.com/solutions/4582401.
> 
> So, I installed newest ovirt-engine on CentOS 8 Stream. I installed 
> ovirt-node via ovirt-node-ng-installer-4.5.0-2022051313.el8.iso. I applied 
> vdsm-gluster-cli patch manually on ovirt nodes, that does not applied on 
> ovirt-ng iso. 
> https://github.com/oVirt/vdsm/commit/2da10debcea0b9f2e235dc18c2d567e6aa4254c0.
> 
> Then, I encountered the following boot error when I launched several VMs that 
> worked on cockpit-machines and oVirt 4.3.10.
> 
> BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot 
> (0x0)/Pci(0x2,0x3)/Pci(0x0,0x0): Not Found
> BdsDxe: No bootable option or device was found
> BdsDxe: Press any key to enter the Boot Manager Menu.

If your VMs are BIOS you may want to change chipset/firmware
configuration of your cluster (or on VM level) to q35+bios as it is
q35+uefi right now.

Tomas

> 
> Is there any patch that I should apply?
> 
> Best Regards
> Minseok Jang.
> 
> 
> PS.
> FIY, I leave my current status.
> 
> I currently running 4 machines
> engine.ovirt1.int - VM
> n1~n3.ovirt1.int - HP DL380 Gen9, hyper-converged gluster applied.
> 
> engine.ovirt1.int # dnf info ovirt-engine.noarch
> Installed Packages
> Name : ovirt-engine
> Version  : 4.5.0.8
> 
> n1.ovirt1.int # dnf info ovirt-release-host-node
> Installed Packages
> Name : ovirt-release-host-node
> Version  : 4.5.0.2
> 
> n1.ovirt1.int # lscpu
> Architecture:x86_64
> CPU(s):  24
> On-line CPU(s) list: 0-23
> Model name:  Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz
> 
> n1.ovirt1.int # lsblk
> NAME MAJ:MIN RM   SIZE RO 
> TYPE MOUNTPOINT
> sda8:00 223.6G  0 
> disk
> ...
> └─sda3 8:30   222G  0 
> part
>   ├─onn-pool00_tmeta 253:00 1G  0 
> lvm
>   │ └─onn-pool00-tpool   253:20   173G  0 
> lvm
> ...
>   ├─onn-pool00_tdata 253:10   173G  0 
> lvm
>   │ └─onn-pool00-tpool   253:20   173G  0 
> lvm
>   ...
>   └─onn-swap 253:40 4G  0 
> lvm  [SWAP]
> sdb8:16   0   3.5T  0 
> disk
> ├─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb_tmeta   253:50  15.9G  0 
> lvm
> │ └─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb-tpool 253:70   3.5T  0 
> lvm
> │   ├─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb 253:80   3.5T  1 
> lvm
> │   └─gluster_vg_sdb-gluster_lv_vmstore1 253:10   0   3.2T  0 
> lvm  /gluster_bricks/vmstore1
> └─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb_tdata   253:60   3.5T  0 
> lvm
>   └─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb-tpool 253:70   3.5T  0 
> lvm
> ├─gluster_vg_sdb-gluster_thinpool_gluster_vg_sdb 253:80   3.5T  1 
> lvm
> └─gluster_vg_sdb-gluster_lv_vmstore1 253:10   0   3.2T  0 
> lvm  /gluster_bricks/vmstore1
> 
> # gluster volume info vmstore1
> Volume Name: vmstore1
> Type: Replicate
> Status: Started
> Number of Bricks: 1 x 3 = 3
> Bricks:
> Brick1: n1.ovirt1.int:/gluster_bricks/vmstore1/vmstore1
> Brick2: n2.ovirt1.int:/gluster_bricks/vmstore1/vmstore1
> Brick3: n3.ovirt1.int:/gluster_bricks/vmstore1/vmstore1
> ...
> ___
> 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/IC5FIL6CRJ62J2DOWCHWITW2OFHA7SWG/

-- 
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/BFNTBHKIRS6BF37IXP3N5KNFRE4DAART/


[ovirt-users] Re: On oVirt 4.4 Can not import VM from Export domain from ovirt-4.3 nor DataDomain from ovirt-4.3

2022-05-23 Thread Arik Hadas
On Sat, May 21, 2022 at 8:53 AM  wrote:
>
> Hi
> I would like to migrate VMs from 4.3.10 to 4.4.8 and I tried using Data 
> Domain where i get this error:
>
> 2022-05-19 15:41:06,262+02 ERROR [org.ovirt.engine.core.utils.ovf.OvfManager] 
> (default task-18) [e0278849-c70a-4cba-8553-b7aac2537314] Error parsing OVF 
> due to OVF error: Linux8_Clone: cannot read 'rasd:InstanceId' with value: null
>
> Procedure
> SOURCE
> Log in to the Administration Portal of the source environment.
> Shut down all virtual machines running on the required storage domain.
> Click Storage → Domains.
> Click the storage domain’s name to open the details view.
> Click the Data Center tab.
> Click Maintenance.
> Click OK.
> Click Detach, then click OK.
> Click Remove.
> Click OK to remove the storage domain from the source environment.
> DESTINATION
> Log in to the Administration Portal of the destination environment.
> Click Storage → Domains.
> Click Import Domain.
> Select the destination data center from the Data Center drop-down list.
> Enter a name for the storage domain.
> Select the Domain Function and Storage Type from the appropriate 
> drop-down lists.
> Select a host from the Host drop-down list.
> Enter the details of the storage domain.
> Select the Activate Domain in Data Center check box to automatically 
> activate the storage domain when it is attached.
> Click OK.
>
> I would like to migrate VMs from 4.3.10 to 4.4.8 and I tried using Expot 
> Domain where i get this error:
>
> 2022-05-19 19:31:53,083+02 ERROR [org.ovirt.engine.core.utils.ovf.OvfManager] 
> (default task-18) [975030bb-cc66-409e-9c47-e37049b957df] Error parsing OVF 
> due to OVF error: icinga2: cannot read 'rasd:InstanceId' with value: null
> 2022-05-19 19:31:53,085+02 WARN  
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (default task-18) [975030bb-cc66-409e-9c47-e37049b957df] EVENT_ID: 
> IMPORTEXPORT_FAILED_TO_IMPORT_VM(1,168), Failed to read VM '' OVF, 
> it may be corrupted. Underlying error message: OVF error: icinga2: cannot 
> read 'rasd:InstanceId' with value: null
>
> Any Ideas?

Can you share the OVF? The easiest way to find it is probably using
the export domain, the OVF is located in "master/vms//"

>
> Regars Uros
> ___
> 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/DVCWG3HWLHU3CSO6XECKIKIKQTUHMKXF/
___
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/WZYCRDMNB7VYTOMPJFKRFNKC32T2M5R5/