obtain direct LUN wwid in the guest
by LS CHENG
Hi all
I am working with Oracle Linux Virtualization Manager 4 (OLVM) which is
based on ovirt.
When I worked with OLVM 3 and when assigning direct lun to the guests in
the guest I could obtain LUN's wwid with this command
/usr/lib/udev/scsi_id -g -u -d /dev/sdc1
36000c29f1382ae964d67392dfdfaaf0f
similar to VMWare's disk.EnableUUID
But now in OLVM 4 I am getting this in the guest which is not LUN's wwid
/usr/lib/udev/scsi_id -g -u -d /dev/sdc
0QEMU_QEMU_HARDDISK_671b475e-98ab-4f3b-a23d-2f8eed964e92
I wonder if is it possible to get LUN's wwid in the guest in OLVM 4?
Thanks1
1 year, 2 months
/etc/pki/ovirt-engine/ca.pem is not on a local filesystem
by nicolas@devels.es
Hi,
We're running oVirt 4.5.4, recently we got this alert:
Engine's certification is about to expire at 2023-11-19. Please renew
the engine's certification.
So I'm trying to run:
engine-setup --offline
However, it fails with the following error:
[ INFO ] Upgrading CA
[ INFO ] Renewing engine certificate
[ ERROR ] Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
Digging into the logs I can see this:
2023-11-14 08:36:22,848+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926
execute-output: ('/usr/share/ovirt-engine/bin/pki-enroll- pkcs12.sh',
'--name=engine', '--password=**FILTERED**',
'--subject=/C=US/O=stic.ull.es/CN=fqdn.es', '--san=DNS:fqdn.es',
'--keep-key') stderr:
Ignoring -days; not generating a certificate
/etc/pki/ovirt-engine/ca.pem is not on a local filesystem
Cannot sign request
2023-11-14 08:36:22,849+0000 DEBUG otopi.context
context._executeMethod:145 method exception
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132,
in _executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/pki/ca.py",
line 753, in _miscUpgrade
self._enrollCertificates(True, uninstall_files)
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/pki/ca.py",
line 360, in _enrollCertificates
shortLife=entry['shortLife'],
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/pki/ca.py",
line 250, in _enrollCertificate
+ (('--days=398',) if shortLife else ())
File "/usr/lib/python3.6/site-packages/otopi/plugin.py", line 931,
in execute
command=args[0],
RuntimeError: Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
2023-11-14 08:36:22,852+0000 ERROR otopi.context
context._executeMethod:154 Failed to execute stage 'Misc configuration':
Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to
execute
However, the file exists and is on a local filesystem:
# ll /etc/pki/ovirt-engine/ca.pem
-rw-r--r--. 1 root root 4516 jun 24 2015 /etc/pki/ovirt-engine/ca.pem
Can someone shed some light about why is this failing and how to solve
it, please?
Thanks.
1 year, 2 months
Ovirt 4.3 console.vv
by eevans@digitaldatatechs.com
I have CentOS Stream 9 on my laptop with KDE Plasma Workspaces.
I installedd virt-viewer and tried through gui, console and it tells me the virtual machine can't be found.
It works fine with the Windows viewer. It seems to be a Centos issue. Something is not reading or interuppreting the file properly.
I'd like to get this resolved.
I hope someone has an answer.
Thanks in advance.
E
1 year, 2 months
Certificate replacing through engine-setup failed
by dominic.gwerder@bits.ch
Hi
I'm trying to replace the old certificate of the engine, so tha I can again access the management console. I've been reading thorugh a lot of articels and threads and the easiest solution, should be by running the engine-setup. I always get the following error:
[ INFO ] Creating CA: /etc/pki/ovirt-engine/ca.pem
[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
How can I fix this?
Thanks in advance for any help!
Kind regards,
Dominic
1 year, 2 months
Gluster: Ideas for migration
by jonas@rabe.ch
Hello
I have to migrate the Gluster volumes from an old oVirt cluster to a newly built one. I looked into migration strategies, but everything that Red Hat recommends is related to replacing old bricks. In a testing environment I created two clusters and wanted to migrate one volume after the other. Unfortunately that fails because a node cannot be part of two clusters at the same time.
The next thing I see, is to recreate the volumes on the new cluster, then constantly rsync the files from the old cluster to the new one and at a specified point in time make the cut over where I stop the applicaiton, do a final rsync and remount the new volume under the old path.
Is there any other, nicer way I could accomplish migrating a volume from one Gluster cluster to another?
1 year, 2 months
Engine on EL 9
by David Carvalho
Hello, good morning.
I’m using Oracle Linux and I intended to install a virtualization platffom with KVM and oracle VM. The Oracle documention only mentions Oracle Linux 8 and there are no oVirt repositories available for OL 9.
I visited ovirt.org site and at the download page it only mentions:
Engine:
* Red Hat Enterprise Linux 8.7 (or similar)
* CentOS Stream 8
I still had no reply at Oracle foruns. Will there be a possibility to use this with Oracle Linux 9 soon?
I have 3 servers to install and I also intend to use Gluster FS.
Thanks and regards.
Os melhores cumprimentos
David Alexandre M. de Carvalho
═══════════════════
Especialista de Informática
Departamento de Informática
Universidade da Beira Interior
1 year, 2 months
VMs randomly pause due to unknown storage error, unable to resume
by Jon Sattelberger
Hi,
> VM xxx has been paused due to unknown storage error.
> Migration failed due to a failed validation: [Migrating a VM in paused status due to I/O error is not supported.] (VM: xxx, Source: yyy).
Up until recently oVirt 4.5.4 has been running fine on our RHEL 8 hypervisors with primarily (and a few appliances) Linux guests. We started to add Windows 2019 VMs to the cluster with the guest agent installed. They seem to run fine at first, but some of the Windows VMs may randomly pause due to an unknown storage error. The VM cannot be resumed through the UI or virsh. The paused VM cannot be migrated to another Hypervisor. The GlusterFS storage volumes seem fine. Resetting the VM seems to work, but eventually it'll become paused again. The only thing that came to my mind is the virtual hard disks are thin provisioned. Is a preallocated disk necessary for Windows VMs? Any helpful hints on where to look next is greatly appreciated.
Thank you,
Jon
1 year, 2 months
oVirt support for NVMe-oF devices as storage domain.
by lxtakc@gmail.com
Hello,
We are interested in using oVirt with NVMe-oF devices. Is there an option to connect them as Storage Domain? What should be done to achieve it?
Managed Block Storage (cinderlib) is not an option for us, because it doesn't support backups (incremental backups with e.g. Veeam or others).
What should be done on oVirt side to support NVMe-oF as Storage Domain (like iSCSI, FCP, NFS)?
Thanks.
1 year, 2 months
Re: how to renew expired ovirt node vdsm cert manually ?
by Dominic Gwerder
Hi
I followed all the instructions but I now get the following error on my host:
ovn-controller
ovs|08734|stream_ssl|ERR|Private key must be configured to use SSL
PRIORITY
3
SYSLOG_FACILITY
3
SYSLOG_IDENTIFIER
ovn-controller
_BOOT_ID
52c3fc529b1644dbb789384be75b0cab
_CAP_EFFECTIVE
7c00
_CMDLINE
ovn-controller unix:/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --private-key=/etc/pki/vdsm/keys/vdsmkey.pem --certificate=/etc/pki/vdsm/certs/vdsmcert.pem --ca-cert=/etc/pki/vdsm/certs/cacert.pem --user openvswitch:openvswitch --no-chdir --log-file=/var/log/ovn/ovn-controller.log --pidfile=/run/ovn/ovn-controller.pid --detach
_COMM
ovn-controller
_EXE
/usr/bin/ovn-controller
Do you have a solution for this? Does the user openvswitch need access to the keys?
Thanks in advance.
Kind regards,
Dominic Gwerder
bits ag
1 year, 2 months
What is the impact of doubling default NumOfPciExpressPorts value?
by ivan.lezhnjov.iv@gmail.com
Hi!
We've been trying to understand what the effect of increasing NumOfPciExpressPorts might be in terms of system resources consumption and overall system performance of the oVirt Hosts.
In this specific scenario, we're running an oVirt deployment with about 100 hosts and thousands of VMs.
oVirt allocates 16 PCIe ports by default (or is it QEMU defaults?) and we would like to increase that number to about 30.
However, only very few VMs are actually gonna use those extra PCIe ports in terms of having additional devices (like NICs).
So, basically, there will be a lot of VMs that have about twice as many PCIe ports available to them than now but not really using them (as in having actual additional devices created and associated with the VMs).
How is that going to impact physical servers that are running the VMs? Any potential problems for the VMs themselves?
Ivan
1 year, 2 months