[ovirt-users] Re: Data recovery from (now unused, but still mounted) Gluster Volume for a single VM

2021-08-02 Thread Patrick Lomakin
Greetings, I once wondered how data is stored between replicated bricks. 
Specifically, how disks are stored on the storage domain in Gluster. I checked 
a mounted brick via the standard path (path may be different) 
/gluster/data/data and saw many directories there. Maybe the hierarchy is 
different, can't check now. But in the end I got a list of directories. Each 
directory name is a disk image hash. After going to a directory such as 
/**HASH** there were 3 files. The first is a disk in raw/iso/qcow2 format (but 
the file has no extension, I looked at the size) the other two files are the 
configuration and metadata. I downloaded the disk image file (.iso) to my 
computer via the curl command and service www.station307.com (no ads). And I 
got the original .iso which uploaded to the storage domain through the hosted 
engine interface. Maybe this way you can download the disk image to your 
computer and then load it via the GUI and connect it to a virtual machine. Good 
luck!
___
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/A6XITCEX5RNQB37YKDCR4EUKTV6W4HIR/


[ovirt-users] Accessing the oVirt Console Remotely

2021-08-02 Thread louisb
I've installed ovirt on the my server (HPDL380Gen10) and was able to start the 
configuration process on the local machine.  I'm tried to access the ovirt 
console remotely via the web however I've had no success.  I'm using the same 
URL that is used locally, but when I execute the URL via my Firefox browser I 
get the message that it is unable to connect.  I've drop the firewall on both 
the server and client machine as a possible solution but it did not work. 

Is there something extra that is needed to access the ovirt console remotely?

The FQDN is entered into my DNS, however, I did find that during the 
configuration process that IP was consumed by ovirtmgmt.  I was surprised to 
see that I'm just assuming that its apart of congiruation process.  I have 
other ports on my sever and I have entered them in my DNS also with the same 
name but a different IP address.  

What must I do to gain access to the ovirt console remotely, it would surely 
make the configuration process easy from my desk vs being in the server area.  

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/56IHHBVEIJ6RYXP2PPAXOCWYTIKT4ETH/


[ovirt-users] Data recovery from (now unused, but still mounted) Gluster Volume for a single VM

2021-08-02 Thread David White via Users
My hyperconverged cluster was running out of space.
The reason for that is a good problem to have - I've grown more in the last 4 
months than in the past 4-5 years combined.

But the downside was, I had to go ahead and upgrade my storage, and it became 
urgent to do so.
I began that process last week.

I have 3 volumes:

[root@cha2-storage dwhite]# gluster volume list
data
engine
vmstore

I did the following on all 3 of my volumes:
1) Converted cluster from Replica 3 to Replica 2, arbiter 1

-   I did run into an issue where some VMs were paused, but I was able to 
poweroff and power on those VMs again with no issue

2) Ran the following on Host 2: 
# gluster volume remove-brick data replica 1 
cha1-storage.mgt.my-domain.com:/gluster_bricks/data/data force
# gluster volume remove-brick vmstore replica 1 
cha1-storage.mgt.my-domain.com:/gluster_bricks/vmstore/vmstore force
# gluster volume remove-brick engine replica 1 
cha1-storage.mgt.my-domain.com:/gluster_bricks/engine/engine force
(rebuilt the array & reboot the server -- when I rebooted, I commented out the 
original UUIDs from /etc/fstab for the gluster storage)
# lvcreate -L 2157G --zero n -T gluster_vg_sdb/gluster_thinpool_gluster_vg_sdb
# lvcreate -L 75G -n gluster_lv_engine gluster_vg_sdb
# lvcreate -V 600G --thin -n gluster_lv_data 
gluster_vg_sdb/gluster_thinpool_gluster_vg_sdb
# lvcreate -V 1536G --thin -n gluster_lv_vmstore 
gluster_vg_sdb/gluster_thinpool_gluster_vg_sdb
# mkfs.xfs /dev/gluster_vg_sdb/gluster_lv_engine
# mkfs.xfs /dev/gluster_vg_sdb/gluster_lv_data
# mkfs.xfs /dev/gluster_vg_sdb/gluster_lv_vmstore
At this point, I ran lsblk --fs to get the new UUIDs, and put them into 
/etc/fstab 
# mount -a
# gluster volume add-brick engine replica 2 
cha2-storage.mgt.my-domain.com:/gluster_bricks/engine/engine force
# gluster volume add-brick vmstore replica 2 
cha2-storage.mgt.my-domain.com:/gluster_bricks/vmstore/vmstore force
# gluster volume add-brick data replica 2 
cha2-storage.mgt.my-domain.com:/gluster_bricks/data/data force
So far so good.

3) I was running critically low on disk space on the replica, so I:- Let the 
gluster volume heal

- Then I removed the Host 1 bricks from the volumes

When I removed the Host 1 bricks, I made sure that there were no additional 
healing tasks, then proceeded to do so:# gluster volume remove-brick data 
replica 1 cha1-storage.mgt.my-domain.com:/gluster_bricks/data/data force
# gluster volume remove-brick vmstore replica 1 
cha1-storage.mgt.my-domain.com:/gluster_bricks/vmstore/vmstore force

At this point, I ran into problems.
All of my VMs went into a Paused state, and I had to reboot all of them.
All VMs came back online, but two VMs were corrupted. I wound up re-building 
them from scratch.

Unfortunately, we lost a lot of data on 1 of the VMs, as I didn't realize 
backups were broken on that particular VM.

Is there a way for me to go into those disks (that are still mounted to Host 
1), examine the Gluster content, and somehow mount / recover the data from the 
VM that we lost?

Sent with ProtonMail Secure Email.

publickey - dmwhite823@protonmail.com - 0x320CD582.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
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/UKHPWMFNAZYGYIU5JLYHMQYCGVFUH3OX/


[ovirt-users] Re: Host not becoming active due to VDSM failure

2021-08-02 Thread Vinícius Ferrão via Users
Hi Ales, Nir.

Sorry for the delayed answer. I didn't had the opportunity to answer it before.

I'm running RHV (not RHVH) on RHEL 8.4 and on top of ppc64le. So it's not 
vanilla oVirt.

Right now its based on:
ovirt-host-4.4.1-4.el8ev.ppc64le

I'm already with nmstate >= 0.3 as I can see:
nmstate-1.0.2-11.el8_4.noarch

VDSM in fact is old, I tried upgrading VDSM but there's a failed dependency on 
openvswitch:
[root@rhvpower ~]# dnf update vdsm
Updating Subscription Management repositories.
Last metadata expiration check: 0:11:15 ago on Mon 02 Aug 2021 12:06:44 PM EDT.
Error:
 Problem 1: package vdsm-python-4.40.70.6-1.el8ev.noarch requires vdsm-network 
= 4.40.70.6-1.el8ev, but none of the providers can be installed
  - package vdsm-4.40.70.6-1.el8ev.ppc64le requires vdsm-python = 
4.40.70.6-1.el8ev, but none of the providers can be installed
  - package vdsm-network-4.40.70.6-1.el8ev.ppc64le requires openvswitch >= 
2.11, but none of the providers can be installed
  - cannot install the best update candidate for package 
vdsm-4.40.35.1-1.el8ev.ppc64le
  - nothing provides openvswitch2.11 needed by 
rhv-openvswitch-1:2.11-7.el8ev.noarch
  - nothing provides openvswitch2.11 needed by 
ovirt-openvswitch-2.11-1.el8ev.noarch
 Problem 2: package vdsm-python-4.40.70.6-1.el8ev.noarch requires vdsm-network 
= 4.40.70.6-1.el8ev, but none of the providers can be installed
  - package vdsm-4.40.70.6-1.el8ev.ppc64le requires vdsm-python = 
4.40.70.6-1.el8ev, but none of the providers can be installed
  - package vdsm-network-4.40.70.6-1.el8ev.ppc64le requires openvswitch >= 
2.11, but none of the providers can be installed
  - cannot install the best update candidate for package 
vdsm-hook-vmfex-dev-4.40.35.1-1.el8ev.noarch
  - nothing provides openvswitch2.11 needed by 
rhv-openvswitch-1:2.11-7.el8ev.noarch
  - nothing provides openvswitch2.11 needed by 
ovirt-openvswitch-2.11-1.el8ev.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use 
not only best candidate packages)

Nothing seems to provide an openvswitch release that satisfies VDSM. There's no 
openvswitch package installed right now, nor available on the repositories:

[root@rhvpower ~]# dnf install openvswitch
Updating Subscription Management repositories.
Last metadata expiration check: 0:15:28 ago on Mon 02 Aug 2021 12:06:44 PM EDT.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides openvswitch2.11 needed by 
ovirt-openvswitch-2.11-1.el8ev.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use 
not only best candidate packages)

Any ideias on how to past beyond this issue? This is probably only related to 
ppc64le.
I already opened a bugzilla about the openvswitch issue here: 
https://bugzilla.redhat.com/show_bug.cgi?id=1988507

Thank you all.

On 2 Aug 2021, at 02:09, Ales Musil 
mailto:amu...@redhat.com>> wrote:



On Fri, Jul 30, 2021 at 8:54 PM Nir Soffer 
mailto:nsof...@redhat.com>> wrote:
On Fri, Jul 30, 2021 at 7:41 PM Vinícius Ferrão via Users
mailto:users@ovirt.org>> wrote:
...
> restore-net::ERROR::2021-07-30 
> 12:34:56,167::restore_net_config::462::root::(restore) restoration failed.
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/network/restore_net_config.py", 
> line 460, in restore
> unified_restoration()
>   File "/usr/lib/python3.6/site-packages/vdsm/network/restore_net_config.py", 
> line 112, in unified_restoration
> classified_conf = _classify_nets_bonds_config(available_config)
>   File "/usr/lib/python3.6/site-packages/vdsm/network/restore_net_config.py", 
> line 237, in _classify_nets_bonds_config
> net_info = NetInfo(netswitch.configurator.netinfo())
>   File 
> "/usr/lib/python3.6/site-packages/vdsm/network/netswitch/configurator.py", 
> line 323, in netinfo
> _netinfo = netinfo_get(vdsmnets, compatibility)
>   File "/usr/lib/python3.6/site-packages/vdsm/network/netinfo/cache.py", line 
> 268, in get
> return _get(vdsmnets)
>   File "/usr/lib/python3.6/site-packages/vdsm/network/netinfo/cache.py", line 
> 76, in _get
> extra_info.update(_get_devices_info_from_nmstate(state, devices))
>   File "/usr/lib/python3.6/site-packages/vdsm/network/netinfo/cache.py", line 
> 165, in _get_devices_info_from_nmstate
> nmstate.get_interfaces(state, filter=devices)
>   File "/usr/lib/python3.6/site-packages/vdsm/network/netinfo/cache.py", line 
> 164, in 
> for ifname, ifstate in six.viewitems(
>   File "/usr/lib/python3.6/site-packages/vdsm/network/nmstate/api.py", line 
> 228, in is_dhcp_enabled
> return util_is_dhcp_enabled(family_info)
>   File 
> "/usr/lib/python3.6/site-packages/vdsm/network/nmstate/bridge_util.py", line 
> 137, in is_dhcp_enabled
> return family_info[InterfaceIP.ENABLED] and family_info[InterfaceIP.DHCP]
> KeyError: 'dhcp'

Looks like a mnstate or NetworkManager bug.

You did not mention any version - are you running the latest ovirt version?


[ovirt-users] Re: CPU performance test results in three scenarios

2021-08-02 Thread Strahil Nikolov via Users
CPU passthrough and cpu pinning are important for cpu lattency workloads luke 
for example SAP HANA or workloads that benefit from the extra (cpu passthrough) 
instructions.
Best Regards,Strahil Nikolov
 
 
  On Mon, Aug 2, 2021 at 13:13, Patrick Lomakin 
wrote:   Have you done CPU passthrough in a high-performance virtual machine? 
What are the NUMA settings?
As far as I know, CPU passthrough is only available in the high performance 
virtual machine and certain CPU flags are also applied
___
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/AUDKY7CRTQUHUN7OT2ESQ32I2GSPP42I/
  
___
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/5W6GQJECRQFWF6NJWYTPXO4QRRDFPOB2/


[ovirt-users] Re: The provided authorization grant for the auth code has expired.

2021-08-02 Thread Strahil Nikolov via Users
Is this the built-in 'admin' user ?
Best Regards,Strahil Nikolov
 
 
  On Mon, Aug 2, 2021 at 13:09, Nicolás wrote:   Hi,

A time ago I posted a similar question and I couldn't get it solved. I 
couldn't spend more time on this up until now, so I'm trying again and 
having the same error, which I'm unable to fix. I would really 
appreciate some help since I cannot find any documentation for this.

I'm restoring a full ovirt engine backup, having used the --scope=all 
option, for oVirt 4.3.

I restored the backup on a fresh CentOS7 machine. The process went well, 
but when trying to log into the restored authentication system I get the 
following message which won't allow me to log in:

   The provided authorization grant for the auth code has expired.

What does that mean and how can it be fixed?

I'm also attaching a screenshot.

Thanks.

Nicolás
___
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/37DLCDTPAOZHUQS76KNP4HW7V42KMNMW/
  
___
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/HR3WMQDNI3ELPNGQUZQQC4V3NBTEJWHC/


[ovirt-users] Re: Combining Virtual machine image with multiple disks attached

2021-08-02 Thread Nir Soffer
On Mon, Aug 2, 2021 at 12:22 PM  wrote:
>
> I have  few VMs in   Redhat Virtualisation environment  RHeV ( using Rhevm4.1 
> ) managed by a third party
>
> Now I am in the process of migrating  those VMs to  my cloud setup with  
> OpenStack ussuri  version  with KVM hypervisor and Glance storage.
>
> The third party is making down each VM and giving the each VM image  with 
> their attached volume disks along with it.
>
> There are three folders  which contain images for each VM .
> These folders contain the base OS image, and attached LVM disk images ( from 
> time to time they added hard disks  and used LVM for storing data ) where 
> data is stored.
>
> Is there a way to  get all these images to be exported as  Single image file 
> Instead of  multiple image files from Rhevm it self.  Is this possible ?
>
> If possible how to combine e all these disk images to a single image and that 
> image  can upload to our  cloud  glance storage as a single image ?

It is not clear what is the vm you are trying to export. If you share
the libvirt xml
of this vm it will be more clear. You can use "sudo virsh -r dumpxml vm-name".

RHV supports download of disks to one image per disk, which you can move
to another system.

We also have export to ova, which creates one tar file with all exported disks,
if this helps.

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


[ovirt-users] Re: adding new host failed with error "CPU does not match the Cluster CPU Type"

2021-08-02 Thread jimod4--- via Users
If I run lscpu it shows the vmx and nx flags are there. Virtualization is 
enabled in bios.  I have vms running on the kvm  host
___
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/SIYJ6X3DSZSMPZSW3C2AG6NPIWBVMJXC/


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Liran Rotenberg
On Mon, Aug 2, 2021 at 11:54 AM Tommy Sway  wrote:
>
> Wouldn't the cloud-init information I configured in the initial run 
> properties page of the virtual machine be unnecessary?
In that case - correct. Only the configuration you set in the run-once
will be taken into account when you run it.
>
>
>
>
> -Original Message-
> From: Liran Rotenberg 
> Sent: Monday, August 2, 2021 4:33 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Re: Question about cloud-init
>
> On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway  wrote:
> >
> > Please note that once the VM booted, the only way to provide the cloud-init 
> > payload is by using Run-Once.
> > For a VM that didn't boot, a regular run will work as well.
> >
> >
> > Do you mean that you can use cloud-init for the first normal startup of a 
> > virtual machine that has not yet been booted, and then you can't use 
> > cloud-init for subsequent normal startup?
>
> Yes. This is for safety from overriding a configuration on future boots.
>
> > Is it possible to use cloud-init with the run-once boot option as long as 
> > the virtual machine has already been started?
> Yes, if you set it in run-once the payload will be included to the VM on 
> boot, regardless if it booted already or not.
> >
> >
> >
> >
> >
> >
> >
> > -Original Message-
> > From: users-boun...@ovirt.org  On Behalf Of
> > Liran Rotenberg
> > Sent: Sunday, August 1, 2021 3:01 PM
> > To: tommy 
> > Cc: users@ovirt.org
> > Subject: [ovirt-users] Re: Question about cloud-init
> >
> > On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
> > >
> > > Hello, I have a question about cloud-init:
> > >
> > > After installing vm, I installed cloud-init immediately, and enabled its 
> > > four services, and then I can use cloud-init in the admin interface.
> > >
> > >
> > >
> > > However, I don't know how cloud-init knows where to get the relevant 
> > > information (such as host name, SSH secret key, etc.) that I configured 
> > > on the admin interface ?  For I haven't configured the data source for 
> > > cloud-init.
> >
> > Hi,
> > The relevant information comes as a payload to the VM, a CD-ROM containing 
> > the data source.
> > >
> > > Why it can works ?
> > >
> > Cloud-init detects the data source and configures the OS.
> > Please note that once the VM booted, the only way to provide the cloud-init 
> > payload is by using Run-Once.
> > For a VM that didn't boot, a regular run will work as well.
> >
> > Regards,
> > Liran
> > >
> > >
> > > 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/O5NKQO
> > > 56
> > > 42X3WYES3QQBSSDZUQN6N5XX/
> > ___
> > 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/NVP4IUIN
> > 7NQDI5OVN6NRKJQYQBMJ7M77/
> >
> >
>
___
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/4YJBN4WBSIKROJ3HV62LSIAPRVHPSXSV/


[ovirt-users] Re: Restored engine backup: The provided authorization grant for the auth code has expired.

2021-08-02 Thread Nicolás

Hi Didi,

El 7/4/21 a las 9:27, Yedidyah Bar David escribió:

On Wed, Mar 24, 2021 at 12:07 PM Nicolás  wrote:

Hi,

I'm restoring a full ovirt engine backup, having used the --scope=all
option, for oVirt 4.3.

I restored the backup on a fresh CentOS7 machine. The process went well,
but when trying to log into the restored authentication system I get the
following message which won't allow me to log in:

The provided authorization grant for the auth code has expired.

What does that mean and how can it be fixed?

Can you please check also this thread:

https://lists.ovirt.org/archives/list/users@ovirt.org/thread/YH4J7GG7WLOLUFIADZPL6JOPDETJ23CZ/

What version was used for backup, and what version for restore?


For backup, version 4.3.8.2-1.el7 of ovirt-engine-tools-backup was used.

For restore, version 4.3.10.4-1.el7 of ovirt-engine-tools-backup was used.



Did you have a 3rd-party CA cert installed?


I am using a custom LetsEncrypt certificate in apache. I have this 
certificate configured in httpd and ovirt-websocket-proxy, but it's 
exactly the same certificate I have configured in the oVirt installation 
that was backed up (as I understand it, it's not the same case than the 
one described in the link - I might be wrong). So I copied the same 
certificate on the other side too.



Please verify that it was backed up and restored correctly, or manually
reinstalled after restore.


As per the logs, both processes ended correctly, no errors showed up. I 
also run the 'engine-setup' command on the restored machine, and it 
ended with no errors/warnings.


I'm attaching an engine.log of the restored node in case it helps, from 
the moment I restart the engine and try to log in.


Thanks for any help regarding this, as I can't figure out what else 
could be happening.


Nicolás


Good luck and best regards,
--
Didi





engine2.log.tar.gz
Description: application/gzip
___
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/3LV4X5KDDOST3VPJ5GDTHYOQTBAWLIJR/


[ovirt-users] Re: adding new host failed with error "CPU does not match the Cluster CPU Type"

2021-08-02 Thread j o via Users
When I run lscpu it shows the nx  and vmx flags are present.  Vitialization is 
enable in bios. I have vms running.

Sent from my iPhone
___
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/6MYR6PTE44ECLGSK32TDJC7EI5WRYZPB/


[ovirt-users] Re: CPU performance test results in three scenarios

2021-08-02 Thread Patrick Lomakin
Have you done CPU passthrough in a high-performance virtual machine? What are 
the NUMA settings?
As far as I know, CPU passthrough is only available in the high performance 
virtual machine and certain CPU flags are also applied
___
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/AUDKY7CRTQUHUN7OT2ESQ32I2GSPP42I/


[ovirt-users] The provided authorization grant for the auth code has expired.

2021-08-02 Thread Nicolás

Hi,

A time ago I posted a similar question and I couldn't get it solved. I 
couldn't spend more time on this up until now, so I'm trying again and 
having the same error, which I'm unable to fix. I would really 
appreciate some help since I cannot find any documentation for this.


I'm restoring a full ovirt engine backup, having used the --scope=all 
option, for oVirt 4.3.


I restored the backup on a fresh CentOS7 machine. The process went well, 
but when trying to log into the restored authentication system I get the 
following message which won't allow me to log in:


  The provided authorization grant for the auth code has expired.

What does that mean and how can it be fixed?

I'm also attaching a screenshot.

Thanks.

Nicolás
___
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/37DLCDTPAOZHUQS76KNP4HW7V42KMNMW/


[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-08-02 Thread Merlin Timm
The problem is this: I need to be able to connect to the systems 
automatically via a script. Even if the VMs are restarted. If the PW 
changes every time, my script doesn't work anymore.


Am 02.08.21 um 09:32 schrieb Michal Skrivanek:



On 31. 7. 2021, at 9:19, Strahil Nikolov > wrote:


You need to (all Hypervisors that will be running this script):
- download the engine's CA 
from https:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA

- put it at :
/etc/pki/ca-trust/source/anchors/
- make it trousted by running:
 update-ca-trust extract

Best Regards,
Strahil Nikolov

On Fri, Jul 30, 2021 at 18:05, Merlin Timm
mailto:merlin.t...@posteo.de>> wrote:
Ah okay, i figured it out.

root@mypc :/home/merlin/Documents/Ovirt-0.06#
perl set_ovirt_vnc_pw.pl
LWP Status line : 500 Can't connect to my.ovirt.manager.com:443

(certificate verify failed) at
/usr/local/share/perl/5.26.1/Ovirt/VM.pm
line 195.

it seems to work but it cant connect to the ovirt manager :/

Am 30.07.2021 14:54 schrieb Milan Zamazal:
> Merlin Timm mailto:merlin.t...@posteo.de>> writes:
>
>> actually I rather wanted to know how to generate a config with
>> Ovirt::Display. I didn't really understand what I have to do to
>> generate a config.
>
> I've never tried it but I think you should fetch the perl
library and
> then run a perl script according to the example in Synopis
section of
> https://metacpan.org/pod/Ovirt::Display

>
>> Am 30.07.2021 14:04 schrieb Milan Zamazal:
>>> Merlin Timm mailto:merlin.t...@posteo.de>> writes:
>>>
 Hey,
 Thanks for the answers!
 I want to try the perl solution. One, maybe stupid,
question: how
 do i run this perl module?
 Do i run it on the Host or from my local machne? I am a
litte bit
 confused.
>>> As I understand it, you can run it from anywhere where Engine
REST
>>> API
>>> is reachable from.
>>> Regards,
>>> Milan
>>>
 Could someone explain it to me?
 Best regarda
 Am 8. Juli 2021 16:05:42 MESZ schrieb Milan Zamazal
 mailto:mzama...@redhat.com>>:
> Sandro Bonazzola mailto:sbona...@redhat.com>> writes:
>
>> Il giorno gio 8 lug 2021 alle ore 13:38 Sandro Bonazzola <
>> sbona...@redhat.com > ha scritto:
>>
>>> +Milan Zamazal mailto:mzama...@redhat.com>> , +Arik Hadas
>>> mailto:aha...@redhat.com>> , +Michal
>>> Skrivanek mailto:mskri...@redhat.com>> any hint?
>>>
>> I found https://metacpan.org/pod/Ovirt::Display
but I think there
>> should be
>> an easier way within the engine to configure this.
>>
>>
>>> Il giorno mar 6 lug 2021 alle ore 14:01 Merlin Timm
>>> mailto:merlin.t...@posteo.de>>
>>> ha scritto:
>>>
 Good day to all,
 I have a question about the console configuration of the
VMs:
 By default, for each console connection to a VM, a
password is
 set for
 120 seconds, after that you can't use it again. We currently
 have the
 following concern:
 We want to access and control the VMs via the VNC/Spice
of the
 Ovirt
 host. We have already tried to use the password from the
 console.vv for
 the connection and that works so far. Unfortunately we
have to
 do this
 every 2 minutes when we want to connect again.


if you connect again you get a new concole.vv…why is that a problem?


We are currently
 building
 an automatic test pipeline and for this we need to
access the
 VMs
 remotely before OS start and we want to be independent
of a VNC
 server
 on the guest. This is only possible if we could connect
to the
 VNC/Spice
 server from the Ovirt host.
 My question: would it be possible to fix the password or
read
 it out via
 api every time you want to connect?
> A one time password is set every time the console is
opened, for
> those
> 120 seconds.  Unfortunately, the 120 seconds limit seems to be
> hardwired
> in Engine sources.  So apparently the only chance would be
to set
> the
> password directly on the host using VM.updateDevice VDSM
API call.
> It
> looks like this normally:
> VM.updateDevice(params={'deviceType': 'graphics', 'password':
> '', 'disconnectAction': 'NONE', 'params':
 

[ovirt-users] Combining Virtual machine image with multiple disks attached

2021-08-02 Thread kkchn . in
I have  few VMs in   Redhat Virtualisation environment  RHeV ( using Rhevm4.1 ) 
managed by a third party

Now I am in the process of migrating  those VMs to  my cloud setup with  
OpenStack ussuri  version  with KVM hypervisor and Glance storage.
 
The third party is making down each VM and giving the each VM image  with their 
attached volume disks along with it. 

There are three folders  which contain images for each VM . 
These folders contain the base OS image, and attached LVM disk images ( from 
time to time they added hard disks  and used LVM for storing data ) where data 
is stored.

Is there a way to  get all these images to be exported as  Single image file 
Instead of  multiple image files from Rhevm it self.  Is this possible ?

If possible how to combine e all these disk images to a single image and that 
image  can upload to our  cloud  glance storage as a single image ?  
 
Is this possible or  Am I asking a  Stupid question which theoretically not 
possible ? 

Thanks in Advance for sharing your thoughts,

Kris. 
___
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/CEN7ZCYXIIO6JYDKG36N76N4PDFQWPU5/


[ovirt-users] Question about pci pass-thru

2021-08-02 Thread Tony Pearce
I have recently added a fresh installed host on 4.4, with 3 x nvidia gpu's
which have been passed through to a guest VM instance. The host also has a
1TB nvme SSD drive which we are using for the host OS install and /var/
partition size was modified to allow maximum space for the guest, the
intent is to give maximum space to a guest for fast SSD storage. Because
this is a partition, I have about 700GB that can be added or mapped to a
guest "disk" image that is locked to the host.

After doing the above and after learning how simple it was to map the three
GPUs in pass-through mode, my question is - can I simply map a PCI SSD
through to a guest in the same fashion as the GPUs?

I have not yet tried and do not find much results via google search. The
intent on this would be to provision the whole SSD to the guest (instead of
using the SSD for the host OS and some of that space for a guest (disk)
image. In this case I would use another disk for the host OS but that is
fine.

Has anyone done such a thing (PCI SSD passthrough) and are there any
concerns? (apart from the normal concerns with VM and host passthrough)

Kind regards,

Tony Pearce
___
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/BN7XHUN2DP6RQGE2MQDBTDSMSXW34PTP/


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Tommy Sway
Wouldn't the cloud-init information I configured in the initial run properties 
page of the virtual machine be unnecessary?  




-Original Message-
From: Liran Rotenberg  
Sent: Monday, August 2, 2021 4:33 PM
To: Tommy Sway 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Re: Question about cloud-init

On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway  wrote:
>
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
>
> Do you mean that you can use cloud-init for the first normal startup of a 
> virtual machine that has not yet been booted, and then you can't use 
> cloud-init for subsequent normal startup?

Yes. This is for safety from overriding a configuration on future boots.

> Is it possible to use cloud-init with the run-once boot option as long as the 
> virtual machine has already been started?
Yes, if you set it in run-once the payload will be included to the VM on boot, 
regardless if it booted already or not.
>
>
>
>
>
>
>
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Sunday, August 1, 2021 3:01 PM
> To: tommy 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: Question about cloud-init
>
> On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
> >
> > Hello, I have a question about cloud-init:
> >
> > After installing vm, I installed cloud-init immediately, and enabled its 
> > four services, and then I can use cloud-init in the admin interface.
> >
> >
> >
> > However, I don't know how cloud-init knows where to get the relevant 
> > information (such as host name, SSH secret key, etc.) that I configured on 
> > the admin interface ?  For I haven't configured the data source for 
> > cloud-init.
>
> Hi,
> The relevant information comes as a payload to the VM, a CD-ROM containing 
> the data source.
> >
> > Why it can works ?
> >
> Cloud-init detects the data source and configures the OS.
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
> Regards,
> Liran
> >
> >
> > 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/O5NKQO
> > 56
> > 42X3WYES3QQBSSDZUQN6N5XX/
> ___
> 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/NVP4IUIN
> 7NQDI5OVN6NRKJQYQBMJ7M77/
>
>
___
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/LARB4NFYCIJCU5JDAV6GGJYKXPQC3FIH/


[ovirt-users] CPU performance test results in three scenarios

2021-08-02 Thread Tommy Sway
Hello, I recently conducted a test to compare the CPU performance of a
physical machine, a high performance VM (pass-through CPU, PIN CPU), and a
common VM.  

Here are the results:  

 

1. Physical machine:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  346.0588s

total number of events:  2

 

Latency (ms):

 min:   345943.52

 avg:   346001.09

 max:   346058.65

 95th percentile:   10.00

 sum:   692002.17

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   346.0011/0.06

 

 

2. High Performance VM:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  351.8625s

total number of events:  2

 

Latency (ms):

 min:   351416.59

 avg:   351639.01

 max:   351861.43

 95th percentile:   10.00

 sum:   703278.02

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   351.6390/0.22

 

 

3. Common VM:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  354.9108s

total number of events:  2

 

Latency (ms):

 min:   354761.26

 avg:   354835.99

 max:   354910.73

 95th percentile:   10.00

 sum:   709671.99

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   354.8360/0.07

 

 

Result:  

 

There is little difference in CPU performance between these three scenarios,
so why distinguish between high performance and regular virtual machines?  I
don't think it makes much sense.  

 

 

 

 

 

 

 

 

 

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


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Liran Rotenberg
On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway  wrote:
>
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
>
> Do you mean that you can use cloud-init for the first normal startup of a 
> virtual machine that has not yet been booted, and then you can't use 
> cloud-init for subsequent normal startup?

Yes. This is for safety from overriding a configuration on future boots.

> Is it possible to use cloud-init with the run-once boot option as long as the 
> virtual machine has already been started?
Yes, if you set it in run-once the payload will be included to the VM
on boot, regardless if it booted already or not.
>
>
>
>
>
>
>
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of Liran 
> Rotenberg
> Sent: Sunday, August 1, 2021 3:01 PM
> To: tommy 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: Question about cloud-init
>
> On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
> >
> > Hello, I have a question about cloud-init:
> >
> > After installing vm, I installed cloud-init immediately, and enabled its 
> > four services, and then I can use cloud-init in the admin interface.
> >
> >
> >
> > However, I don't know how cloud-init knows where to get the relevant 
> > information (such as host name, SSH secret key, etc.) that I configured on 
> > the admin interface ?  For I haven't configured the data source for 
> > cloud-init.
>
> Hi,
> The relevant information comes as a payload to the VM, a CD-ROM containing 
> the data source.
> >
> > Why it can works ?
> >
> Cloud-init detects the data source and configures the OS.
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
> Regards,
> Liran
> >
> >
> > 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/O5NKQO56
> > 42X3WYES3QQBSSDZUQN6N5XX/
> ___
> 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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/
>
>
___
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/GYNSEOHOV5XAPA5XZ6CLPID2JEVH2BHK/


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Tommy Sway
Please note that once the VM booted, the only way to provide the cloud-init 
payload is by using Run-Once.
For a VM that didn't boot, a regular run will work as well.


Do you mean that you can use cloud-init for the first normal startup of a 
virtual machine that has not yet been booted, and then you can't use cloud-init 
for subsequent normal startup?  
Is it possible to use cloud-init with the run-once boot option as long as the 
virtual machine has already been started?  







-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Liran 
Rotenberg
Sent: Sunday, August 1, 2021 3:01 PM
To: tommy 
Cc: users@ovirt.org
Subject: [ovirt-users] Re: Question about cloud-init

On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
>
> Hello, I have a question about cloud-init:
>
> After installing vm, I installed cloud-init immediately, and enabled its four 
> services, and then I can use cloud-init in the admin interface.
>
>
>
> However, I don't know how cloud-init knows where to get the relevant 
> information (such as host name, SSH secret key, etc.) that I configured on 
> the admin interface ?  For I haven't configured the data source for 
> cloud-init.

Hi,
The relevant information comes as a payload to the VM, a CD-ROM containing the 
data source.
>
> Why it can works ?
>
Cloud-init detects the data source and configures the OS.
Please note that once the VM booted, the only way to provide the cloud-init 
payload is by using Run-Once.
For a VM that didn't boot, a regular run will work as well.

Regards,
Liran
>
>
> 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/O5NKQO56
> 42X3WYES3QQBSSDZUQN6N5XX/
___
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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/

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


[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-08-02 Thread Michal Skrivanek


> On 31. 7. 2021, at 9:19, Strahil Nikolov  wrote:
> 
> You need to (all Hypervisors that will be running this script):
> - download the engine's CA from 
> https:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA
> - put it at :
> /etc/pki/ca-trust/source/anchors/
> - make it trousted by running:
>  update-ca-trust extract
> 
> Best Regards,
> Strahil Nikolov
> 
> On Fri, Jul 30, 2021 at 18:05, Merlin Timm
>  wrote:
> Ah okay, i figured it out.
> 
> root@mypc :/home/merlin/Documents/Ovirt-0.06# perl 
> set_ovirt_vnc_pw.pl
> LWP Status line : 500 Can't connect to my.ovirt.manager.com:443 
> (certificate verify failed) at /usr/local/share/perl/5.26.1/Ovirt/VM.pm 
> line 195.
> 
> it seems to work but it cant connect to the ovirt manager :/
> 
> Am 30.07.2021 14:54 schrieb Milan Zamazal:
> > Merlin Timm mailto:merlin.t...@posteo.de>> writes:
> > 
> >> actually I rather wanted to know how to generate a config with
> >> Ovirt::Display. I didn't really understand what I have to do to
> >> generate a config.
> > 
> > I've never tried it but I think you should fetch the perl library and
> > then run a perl script according to the example in Synopis section of
> > https://metacpan.org/pod/Ovirt::Display 
> > 
> > 
> >> Am 30.07.2021 14:04 schrieb Milan Zamazal:
> >>> Merlin Timm mailto:merlin.t...@posteo.de>> writes:
> >>> 
>  Hey,
>  Thanks for the answers!
>  I want to try the perl solution. One, maybe stupid, question: how
>  do i run this perl module?
>  Do i run it on the Host or from my local machne? I am a litte bit
>  confused.
> >>> As I understand it, you can run it from anywhere where Engine REST
> >>> API
> >>> is reachable from.
> >>> Regards,
> >>> Milan
> >>> 
>  Could someone explain it to me?
>  Best regarda
>  Am 8. Juli 2021 16:05:42 MESZ schrieb Milan Zamazal
>  mailto:mzama...@redhat.com>>:
> > Sandro Bonazzola mailto:sbona...@redhat.com>> 
> > writes:
> > 
> >> Il giorno gio 8 lug 2021 alle ore 13:38 Sandro Bonazzola <
> >> sbona...@redhat.com > ha scritto:
> >> 
> >>> +Milan Zamazal mailto:mzama...@redhat.com>> , 
> >>> +Arik Hadas
> >>> mailto:aha...@redhat.com>> , +Michal
> >>> Skrivanek mailto:mskri...@redhat.com>> any hint?
> >>> 
> >> I found https://metacpan.org/pod/Ovirt::Display  
> >> but I think there
> >> should be
> >> an easier way within the engine to configure this.
> >> 
> >> 
> >>> Il giorno mar 6 lug 2021 alle ore 14:01 Merlin Timm
> >>> mailto:merlin.t...@posteo.de>>
> >>> ha scritto:
> >>> 
>  Good day to all,
>  I have a question about the console configuration of the VMs:
>  By default, for each console connection to a VM, a password is
>  set for
>  120 seconds, after that you can't use it again. We currently
>  have the
>  following concern:
>  We want to access and control the VMs via the VNC/Spice of the
>  Ovirt
>  host. We have already tried to use the password from the
>  console.vv for
>  the connection and that works so far. Unfortunately we have to
>  do this
>  every 2 minutes when we want to connect again.
if you connect again you get a new concole.vv…why is that a problem?
> We are currently
>  building
>  an automatic test pipeline and for this we need to access the 
>  VMs
>  remotely before OS start and we want to be independent of a VNC
>  server
>  on the guest. This is only possible if we could connect to the
>  VNC/Spice
>  server from the Ovirt host.
>  My question: would it be possible to fix the password or read
>  it out via
>  api every time you want to connect?
> > A one time password is set every time the console is opened, for
> > those
> > 120 seconds.  Unfortunately, the 120 seconds limit seems to be
> > hardwired
> > in Engine sources.  So apparently the only chance would be to set 
> > the
> > password directly on the host using VM.updateDevice VDSM API call.
> > It
> > looks like this normally:
> >  VM.updateDevice(params={'deviceType': 'graphics', 'password':
> > '', 'disconnectAction': 'NONE', 'params': {'vncUsername':
> > 'vnc-630b9cae-a983-4ab0-a9ac-6b8728f8014d', 'fips': 'false',
> > 'userName': 'admin', 'userId':
> > 'fd2c5e14-a8c3-11eb-951c-2a9574de53b6'}, 'ttl': 120, 
> > 'graphicsType':
> > 'spice'})
> > This way it's possible to set a password and its lifetime (`ttl'
> > parameter).  Of course, it's needed to find out the host the VM
> > runs on,
> > a way to call the API (running vdsm-client directly on the host
> > may be
> > the easiest way), how to make/use the 

[ovirt-users] Re: adding new host failed with error "CPU does not match the Cluster CPU Type"

2021-08-02 Thread Michal Skrivanek


> On 1. 8. 2021, at 20:01, jimod4--- via Users  wrote:
> 
> i get the below error when i try to add a new kvm host to the cluster.  I 
> know that the cpu is a haswell, Intel E5-2640 v3.  if i run "virsh 
> capabilities" it returns Haswell-noTSX-IBRS.  My KVM server is 
> redhat 8.4 fully patched today on an DL-360 Gen9.  oVirt is at 4.4.7.7-1.el8. 
>  i have tried many diffent CPU settings for the cluster and none of them 
> work.  this is new oVirt install.
> 
> ERROR:
> "The host CPU does not match the Cluster CPU Type and is running in a 
> degraded mode. It is missing the following CPU flags: vmx, 
> model_Haswell-noTSX, nx. Please update the host CPU microcode or change the 
> Cluster CPU Type."

if you do not see vmx and/or nx flags, you probably have virtualization 
disabled in BIOS

Thanks,
michal

> 
> MIRCOCODE:
> root@kvm09 ~]# dmesg | grep 'microcode'
> [0.00] microcode: microcode updated early to revision 0x46, date = 
> 2021-01-27
> [1.625108] microcode: sig=0x306f2, pf=0x1, revision=0x46
> [1.625753] microcode: Microcode Update Driver: v2.2.
> ___
> 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/4B2TMR6MGSJF7PG57WBU3IG5CMZP7G2L/
___
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/VGGXT7Q2XEOLKQYQ3SR4HVO3Q6VGUBQR/