[ovirt-users] Re: ovirt mirrorlist download failed on deploy engine 4.5.3

2022-11-27 Thread Sandro Bonazzola
https://mirrorlist.ovirt.org/mirrorlist-ovirt-4.5-el8 returns a correct
mirror list to me:

# Generated on Mon Nov 28 02:24:06 EST
2022https://resources.ovirt.org/pub/ovirt-4.5/rpm/el8/http://mirrors.ibiblio.org/ovirt/ovirt-4.5/rpm/el8/http://mirror.isoc.org.il/pub/ovirt/ovirt-4.5/rpm/el8/http://ftp.plusline.net/ovirt/ovirt-4.5/rpm/el8/http://mirrors.rit.edu/ovirt/ovirt-4.5/rpm/el8/http://mirror.slu.cz/ovirt/ovirt-4.5/rpm/el8/http://ftp.nluug.nl/os/Linux/virtual/ovirt/ovirt-4.5/rpm/el8/http://ovirt.repo.nfrance.com/ovirt-4.5/rpm/el8/http://mirror.rackspace.com/ovirt/ovirt-4.5/rpm/el8/http://ftp.snt.utwente.nl/pub/software/ovirt/ovirt-4.5/rpm/el8/http://mirror.massclouds.com/ovirt/ovirt-4.5/rpm/el8/http://ovirt.mirror.garr.it/ovirt-4.5/rpm/el8/https://mirrors.nju.edu.cn/ovirt/ovirt-4.5/rpm/el8/



Il giorno dom 27 nov 2022 alle ore 20:01 Benno Wulf 
ha scritto:

> Hi guys,
>
> I just started to use oVirt with Gluster and had great expectations. I
> downloaded some days the current oVirt Node from
> https://resources.ovirt.org/pub/ovirt-4.5/iso/ovirt-node-ng-installer/
>
>
> Installation was fine and network is fine also. But to deply the engine
> failed. He couldnt download some packages from
> https://mirrorlist.ovirt.org/mirrorlist-ovirt-4.5-el8
> this site seems to be down (?)
>
> Log is attached.
>
> Best regards from Germany and thank you for help,
> Benno Wulf
>
> Deployment failed
> [ 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 : Install oVirt Hosted
> Engine packages]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : System configuration
> validations]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Detecting interface on
> existing management bridge]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set variable for
> supported bond modes]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get all active network
> interfaces]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter bonds with bad
> naming]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate output list]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect interface types]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for Team devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get list of Team devices]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect Team devices]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter team devices]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only team devices
> are available]
> [ INFO ] skipping: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Search VLAN devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface
> of VLAN devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types
> of VLAN devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base
> type of VLAN device]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base
> interface of VLAN device is in supported mode]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with
> bad bond mode base interfaces]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate invalid VLANs
> list]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create list of
> unsupported network devices]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices
> naming convention pattern]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with
> bad naming]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with
> invalid naming convention]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter VLAN devices with
> invalid naming convention]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only VLAN devices
> with invalid naming convention are available]
> [ INFO ] skipping: [localhost]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface
> of VLAN devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types
> of VLAN devices]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base
> type of VLAN device]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base
> interface of VLAN device is in supported mode]
> [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with
> bad bond mode base interfaces]
> [ INFO ] TASK 

[ovirt-users] Re: ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials

2022-11-27 Thread Ritesh Chikatwar
Are you trying with CLI or cockpit UI?

I think cockpit UI is broken please try once with CLI.

On Mon, Nov 28, 2022 at 12:40 AM  wrote:

> Hi Guys,
>
> I'm tried to install ovirt 4.5 on centos 8 stream and everytime file with
> this error
>
> ovirt.hosted_engine_setup : Obtain SSO token using username/password
> credentials
>
> Someone could help me?
>
> Regrards
> ___
> 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/BES6PVSA7WDVAHBDZMGGWZOXBFZ4H6PF/
>
___
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/4MOHKFQ7VWOIBVP5XUBF2Y5VPBG3BP7U/


[ovirt-users] EL8.6 to EL8.7

2022-11-27 Thread eshwayri
I upgraded to 8.5.3, and did a nobest upgrade to EL8.7.  There are two 
un-resolved issues:

Problem 1: installed package centos-stream-release-8.6-1.el8.noarch obsoletes 
redhat-release < 9 provided by redhat-release-8.7-0.3.el8.x86_64
  - cannot install the best update candidate for package 
redhat-release-8.6-0.1.el8.x86_64
  - problem with installed package centos-stream-release-8.6-1.el8.noarch

I can't find an stream 8.7 stream file, and the oVirt files depend on the 
existing 8.6 package.

And as has been noted by others, ansible:

 Problem 2: package ovirt-engine-4.5.3.2-1.el8.noarch conflicts with 
ansible-core >= 2.13.0 provided by ansible-core-2.13.3-1.el8.x86_64
  - cannot install the best update candidate for package 
ovirt-engine-4.5.3.2-1.el8.noarch
  - cannot install the best update candidate for package 
ansible-core-2.12.2-4.el8_6.x86_64

Will there be a future upgrade that allows this upgrade to go through?
___
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/ZGPZG2WZCBIPJKHEAIDNSYJJIT3KS5M6/


[ovirt-users] Re: Switching 4.4 hosted-engine from Linux 8 to Stream 8 before upgrading to 4.5

2022-11-27 Thread eshwayri
Having said that, I was at 4.5.2; looks like 4.5.3 adds some interesting 
problems.  OS wants to upgrade to EL8.7, but somehow I also have 
centos-stream-release-8.6-1.el8.noarch installed.  The two conflict.
___
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/UIHXGIXDFERKXVQ6JQ6CBCKU3OVAZTYU/


[ovirt-users] Re: Switching 4.4 hosted-engine from Linux 8 to Stream 8 before upgrading to 4.5

2022-11-27 Thread eshwayri
It's probably possible.  I managed to get the nodes switched over from CentOS 8 
to Stream 8 without re-installing from scratch.  It was a bit tricky, and I 
remember having to manually re-populate the repos directory.  I didn't have 
this problem with the engine because I was already on RHEL 8.  I strongly 
recommend you backup everything.  With the engine you can always take an engine 
backup, re-install a new VM, then restore the engine from the backup.  That is 
what I had to do when I moved over to EL8 from EL7.  
___
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/BQUHSBPJADIO6N2W46SSHG7ZO5Z4ZOMK/


[ovirt-users] Re: Remove Vms with 200 GB Harddisk but gluster not Release diskspace

2022-11-27 Thread Marcel d'Heureuse
Hi,

I remove the vm and check the Box including disks.

Ovirt didn't know the vm and disks anymore.

Can I remove manual the uuid named files from remove_me folder and  also from 
the shard folder?

Br
Marcel

21.11.2022 23:28:32 Colin Coe :

> Did you click remove disk when you removed the VMs?  Try looking under 
> Storage - Disks for disks not attached to any VMs
> 
> On Tue, 22 Nov 2022 at 05:51, marcel d'heureuse  wrote:
>> Hi Users,
>> 
>> I have got a Problem:
>> 
>> Vmstore is full with 97 % (3TB).
>> 
>> I want to cleanup and have delete 2 vms with round 500 GB harddiskspace 
>> together on a single node.
>> 
>> In gluster .shard/.remove_me are 6 files but after 6 h I got no new free 
>> diskspace. What I am doing wrong? Can I force the cleanup? I have ovirt 
>> 4.3.9 running.
>> 
>> Br
>> Marcel
>> ___
>> 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/GUMAI5EST3BT2LNB4ZQZFCHBJKDFD363/
___
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/Z7YM5AED2NM57HGOAASSC7FCJD7FFYTI/


[ovirt-users] How does ovirt handle disks across multiple iscsi LUNs

2022-11-27 Thread peterd
A possibly obvious question I can't find the answer to anywhere—how does ovirt 
allocate VM disk images when a storage domain has multiple LUNs? Are these 
allocated one per LUN, so if e.g. a LUN runs out of space the disks on that LUN 
(only) will be unable to write? Or are these distributed across LUNs, so if a 
LUN fails due to storage failure etc the entire storage domain can be affected?

Many thanks in advance, Peter
___
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/ZZMV3G6EYBMG5FZNJP4A3F6APGWTIRRF/


[ovirt-users] ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials

2022-11-27 Thread cmicarelli
Hi Guys,

I'm tried to install ovirt 4.5 on centos 8 stream and everytime file with this 
error

ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials

Someone could help me?

Regrards
___
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/BES6PVSA7WDVAHBDZMGGWZOXBFZ4H6PF/


[ovirt-users] ovirt mirrorlist download failed on deploy engine 4.5.3

2022-11-27 Thread Benno Wulf
Hi guys,

I just started to use oVirt with Gluster and had great expectations. I 
downloaded some days the current oVirt Node from 
https://resources.ovirt.org/pub/ovirt-4.5/iso/ovirt-node-ng-installer/


Installation was fine and network is fine also. But to deply the engine failed. 
He couldnt download some packages from 
https://mirrorlist.ovirt.org/mirrorlist-ovirt-4.5-el8
this site seems to be down (?)

Log is attached.

Best regards from Germany and thank you for help,
Benno Wulf

Deployment failed
[ 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 : Install oVirt Hosted Engine 
packages]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : System configuration 
validations]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Detecting interface on 
existing management bridge]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set variable for supported 
bond modes]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get all active network 
interfaces]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter bonds with bad naming]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate output list]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect interface types]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for Team devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get list of Team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect Team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only team devices are 
available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Search VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base type of 
VLAN device]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base interface 
of VLAN device is in supported mode]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with bad 
bond mode base interfaces]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate invalid VLANs list]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create list of unsupported 
network devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices naming 
convention pattern]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with bad 
naming]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with 
invalid naming convention]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter VLAN devices with 
invalid naming convention]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only VLAN devices with 
invalid naming convention are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base type of 
VLAN device]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base interface 
of VLAN device is in supported mode]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with bad 
bond mode base interfaces]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect unsupported VLAN bonds]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter VLAN devices with 
invalid bond mode base interface]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only VLAN devices with 
bad bond mode are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate list of all 
unsupported VLAN devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate list of all 
unsupported network devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter unsupported interface 
types]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Failed if only unsupported 
devices are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Validate selected bridge 
interface if management bridge does not exist]
[ INFO ] skipping: [localhost]
[ INFO ] TASK 

[ovirt-users] Help moving hosted_storage data/domain

2022-11-27 Thread tannoiser
Hi there, first time here.

I successfully installed Oracle Linux Virtual Manager that's basically Ovirt 
4.6. I have a datacenter, 2 separate cluster, 3 host per cluster (self hosted 
engine configuration).
During the installation process I defined the nfs storage for the hosted engine 
VM, and now I'm in trouble. I can shut down any host but the one that serve the 
nfs.
I understand lately that I need a distributed storage to obtain HA, then I 
added the glusterfs support. I can see my gluster volume but I can't add it as 
storage domain. It's simply doesn't appear in dropdown menu when I try to add 
it as new storage domain.

A part for that: there's a way to move data from hosted_storage domain (the nfs 
one) to another one? I try to setup another one as main but no joy. If a try to 
move the disk from there it's say to me I can't.

I searched on the web but I found several answers, starting from: "no you 
can't" to "with engine-backup utility" and I'm quite confused.

Reinstall it isn't an option, i have approx 60 vm active.

Any help it's appreciated.

(forgive eventually mistakes, I'm not a native).

Maurizio
___
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/IMFGJPL3YLOJKZXOOXKLWB7RFRP4ZVFA/


[ovirt-users] Re: How are statistics collected for disk and network?

2022-11-27 Thread Konstantin Shalygin
Hi,

You can use libvirt-exporter for this [1]

[1] https://github.com/AlexZzz/libvirt-exporter

k
Sent from my iPhone

> On 25 Nov 2022, at 20:59, Murilo Morais  wrote:
> 
> 
> Good afternoon everyone.
> 
> Is there any way to collect disk and network statistics from VMs without 
> needing to install qemu-guest-agent? From what I noticed, this data only 
> appears in Grafana after installing this package on each VM, is that really 
> the case? Is there no way to collect this data without the need for the 
> package? At least for the network interface I can see the traffic of the VM 
> interface, but this data is not shown in Grafana.
> 
> 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/5MQD5A4EZO5NSWPP6SAJDJDGKPMBEIO5/
___
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/YE4F7CRTVXLAZVM4CKZHIKSSGQNF7EJK/


[ovirt-users] Re: Snapshot problem with GlusterFS and rocky linux 8.6

2022-11-27 Thread Liran Rotenberg
On Thu, Nov 24, 2022 at 9:18 PM Facundo Badaracco 
wrote:

> Someone any hint please?. Snapshot is something a little critical :P
>
> El lun, 21 de nov. de 2022 18:07,  escribió:
>
>> hello everyone, I hope you can help me
>>
>> I have 3 servers with rocky linux 8.6 glusterfs in replica. Everything is
>> working correctly, except for the snapshots. When I do a snapshot, it ends
>> up saying "VM snapshot xxx failed". and in the section of storage and
>> disks, the snapshot of the memory and the metada is LOCKED. Logs pasted
>>
>> centos-release-ceph-pacific.noarch
>> centos-release-gluster10.noarch
>> centos-release-nfv-common.noarch
>> centos-release-nfv-openvswitch.noarch
>> centos-release-opstools.noarch
>> centos-release-ovirt45.noarch
>> centos-release-storage-common.noarch
>> centos-release-virt-common.noarch
>> centos-stream-release.noarch
>> centos-stream-repos.noarch
>> ovirt-engine.noarch
>>
>> cat /var/log/ovirt-engine/engine.log | grep snapshot
>> 2022-11-21 17:14:04,896-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand] (default
>> task-9) [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] Lock Acquired to object
>> 'EngineLock:{exclusiveLocks='[f1acea1c-7f4f-4476-a2e2-990f01c86c4a=VM]',
>> sharedLocks=''}'
>> 2022-11-21 17:14:05,017-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25885)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] Running command:
>> CreateSnapshotForVmCommand internal: false. Entities affected :  ID:
>> f1acea1c-7f4f-4476-a2e2-990f01c86c4a Type: VMAction group
>> MANIPULATE_VM_SNAPSHOTS with role type USER
>> 2022-11-21 17:14:05,076-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotDiskCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25885)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] Running command:
>> CreateSnapshotDiskCommand internal: true. Entities affected :  ID:
>> f1acea1c-7f4f-4476-a2e2-990f01c86c4a Type: VMAction group
>> MANIPULATE_VM_SNAPSHOTS with role type USER
>> 2022-11-21 17:14:05,118-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25885)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] Running command:
>> CreateSnapshotCommand internal: true. Entities affected :  ID:
>> ---- Type: Storage
>> 2022-11-21 17:14:05,659-03 INFO
>> [org.ovirt.engine.core.vdsbroker.irsbroker.CreateVolumeVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25885)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] START, CreateVolumeVDSCommand(
>> CreateVolumeVDSCommandParameters:{storagePoolId='f91fca67-aee1-4dc7-b67d-c869b6875791',
>> ignoreFailoverLimit='false',
>> storageDomainId='88309e23-1446-459e-b175-9e4a019cd77e',
>> imageGroupId='4dd56401-dbda-4d13-bdb0-3d0afd7402ca',
>> imageSizeInBytes='4605345792', volumeFormat='RAW',
>> newImageId='9ffe2fcc-5d99-4529-8baa-1a33b48072f0', imageType='Sparse',
>> newImageDescription='{"DiskAlias":"servervpn_snapshot_memory","DiskDescription":"Memory
>> snapsho  disk for snapshot 'testsnap' of VM 'servervpn' (VM ID:
>> 'f1acea1c-7f4f-4476-a2e2-990f01c86c4a')"}', imageInitialSizeInBytes='0',
>> imageId='----',
>> sourceImageGroupId='----',
>> shouldAddBitmaps='false', legal='true', sequenceNumber='1',
>> bitmap='null'}), log id: 61fd9b79
>> 2022-11-21 17:14:06,178-03 INFO
>> [org.ovirt.engine.core.vdsbroker.irsbroker.CreateVolumeVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25885)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] START, CreateVolumeVDSCommand(
>> CreateVolumeVDSCommandParameters:{storagePoolId='f91fca67-aee1-4dc7-b67d-c869b6875791',
>> ignoreFailoverLimit='false',
>> storageDomainId='88309e23-1446-459e-b175-9e4a019cd77e',
>> imageGroupId='bb07d9d7-0048-473d-bb8d-5b141a659085',
>> imageSizeInBytes='10240', volumeFormat='RAW',
>> newImageId='0e10989e-e7ee-466b-96d6-831e949ed243',
>> imageType='Preallocated',
>> newImageDescription='{"DiskAlias":"servervpn_snapshot_metadata","DiskDescription":"Memory
>> snapshot disk for snapshot 'testsnap' of VM 'servervpn' (VM ID:
>> 'f1acea1c-7f4f-4476-a2e2-990f01c86c4a')"}', imageInitialSizeInBytes='0',
>> imageId='----',
>> sourceImageGroupId='----',
>> shouldAddBitmaps='false', legal='true', sequenceNumber='1',
>> bitmap='null'}), log id: 31d3ee0a
>> 2022-11-21 17:14:12,859-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25892)
>> [2d1eb8f9-3149-4d8c-9c0a-a6e30534263f] Command
>> [id=e160791f-e4ca-4173-9628-21ee0058274d]: Updating status to 'SUCCEEDED',
>> The command end method logic will be executed by one of its parent commands.
>> 2022-11-21 17:14:21,956-03 INFO
>> [org.ovirt.engine.core.bll.snapshots.CreateLiveSnapshotForVmCommand]
>> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-12)
>> 

[ovirt-users] Re: How to remove cloud-init check on vm using ansible module or rest api

2022-11-27 Thread Arik Hadas
On Sun, Nov 27, 2022 at 12:10 PM Arik Hadas  wrote:

>
>
> On Fri, Nov 25, 2022 at 7:39 PM Ritesh Chikatwar 
> wrote:
>
>> Hello Kishore,
>>
>>
>> Maybe rest API will help you to do this, I am not fully aware of this you
>> need to explore.
>> http://ovirt.github.io/ovirt-engine-api-model/4.5/#_services
>>
>
> Right, you can do that with REST API by setting the body of the call to
> update-VM (PUT request) with:
> 
>
> 
>

BTW, I've posted https://github.com/oVirt/ovirt-engine/pull/760 to be able
to do that within the request to create a new template (i.e., without
changing the VM)


>
>
>>
>>
>> On Wed, Nov 23, 2022 at 6:22 PM  wrote:
>>
>>> Hi All,
>>>
>>> I have a requirement to automate template creation using ansible module
>>> or apis.
>>>
>>> I need to remove cloud-init check box from vm before creating the
>>> template. Below are the steps I follow from gui
>>>
>>> 1. Shutdown the vm.
>>> 2. click edit vm > initial run> uncheck cloud-init box
>>> 3. create template.
>>>
>>> I cannot automate second step as there is no option to remove cloud-init
>>> option.
>>> Could anyone please help me if there is a way to uncheck cloud-init??
>>>
>>> BRs
>>> Kishore
>>> ___
>>> 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/EM7OG6UFFA6QZRBVDBDY76TSLDHOTUKT/
>>>
>> ___
>> 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/P7ZE4WQCRNTQZ3IMD47DDJ5ZNBITVZU6/
>>
>
___
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/6OSQYIJVOC73XPXYALS4SFEQQV7T2CL2/


[ovirt-users] Re: How to remove cloud-init check on vm using ansible module or rest api

2022-11-27 Thread Arik Hadas
On Fri, Nov 25, 2022 at 7:39 PM Ritesh Chikatwar 
wrote:

> Hello Kishore,
>
>
> Maybe rest API will help you to do this, I am not fully aware of this you
> need to explore.
> http://ovirt.github.io/ovirt-engine-api-model/4.5/#_services
>

Right, you can do that with REST API by setting the body of the call to
update-VM (PUT request) with:

   



>
>
> On Wed, Nov 23, 2022 at 6:22 PM  wrote:
>
>> Hi All,
>>
>> I have a requirement to automate template creation using ansible module
>> or apis.
>>
>> I need to remove cloud-init check box from vm before creating the
>> template. Below are the steps I follow from gui
>>
>> 1. Shutdown the vm.
>> 2. click edit vm > initial run> uncheck cloud-init box
>> 3. create template.
>>
>> I cannot automate second step as there is no option to remove cloud-init
>> option.
>> Could anyone please help me if there is a way to uncheck cloud-init??
>>
>> BRs
>> Kishore
>> ___
>> 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/EM7OG6UFFA6QZRBVDBDY76TSLDHOTUKT/
>>
> ___
> 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/P7ZE4WQCRNTQZ3IMD47DDJ5ZNBITVZU6/
>
___
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/JZAC2WYXUUDYQRZHFAXSDEU32XZX5HQD/