[4.4.7] The latest guest agent needs to be installed and running on the guest
by Christoph Timm
Hi list,
I have upgraded my oVirt from 4.4.4 to 4.4.7 and notice that some VMs
have issues to report the performance information via the guest agent.
I see the following message on the VMs: The latest guest agent needs to
be installed and running on the guest
The qemu-guest agent is installed on VMs (the VM OS is CentOS 8).
Any advice how to troubleshoot this?
I can see the stats will be presented in the GUI, if I migrate the VM to
a different host.
Best regards
Christoph
2 years, 5 months
Failed to delete snapshot
by Jirka Simon
Hello there.
we have troubles with one VM ad it's snapshot
here is short log from engine.log
2022-08-23 09:02:38,735+02 INFO
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engine-Thread-1265784)
[4d79272b-ffac-4b2b-a987-8c19577cd8c4] CommandAsyncTask::
HandleEndActionResult [within thread]: Removing CommandMultiAsyncTasks
object for entity '5842cafc-60d4-4131-8da1-8a909123f08c'
2022-08-23 09:02:41,435+02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68)
[4d79272b
-ffac-4b2b-a987-8c19577cd8c4] Command id:
'ead3fbba-7439-4337-8aaf-1d6cf65bbb15 failed child command status for
step 'REDUCE_IMAGE'
2022-08-23 09:02:41,435+02 INFO
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommandCallback] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) [
4d79272b-ffac-4b2b-a987-8c19577cd8c4] Command
'RemoveSnapshotSingleDiskLive' id:
'ead3fbba-7439-4337-8aaf-1d6cf65bbb15' child commands
'[5b33d970-6ea0-4b8b-bc31-607afd8af1ca, 185d3fec-8c76-
44d3-a0a1-fe8fff331354, 308baf9d-1fc5-43a1-a624-b5f08f7bec1b,
f11f3550-4356-417e-af10-a3afb2051dec,
5842cafc-60d4-4131-8da1-8a909123f08c]' executions were completed, status
'FAILED'
2022-08-23 09:02:42,445+02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-79)
[4d79272b
-ffac-4b2b-a987-8c19577cd8c4] Merging of snapshot
'6634db4e-23d8-4849-a008-864f15d28c3d' images
'd24a9199-741b-49cb-96d2-0d76fcd21f48'..'48af3301-0cbb-4a6e-97d1-7299e7de883f'
failed. Images
have been marked illegal and can no longer be previewed or reverted to.
Please retry Live Merge on the snapshot to complete the operation.
2022-08-23 09:02:42,451+02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-79)
[4d79272b
-ffac-4b2b-a987-8c19577cd8c4] Ending command
'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand'
with failure.
2022-08-23 09:02:42,457+02 INFO
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-79)
[4d79272b-ffac
-4b2b-a987-8c19577cd8c4] Command 'RemoveSnapshot' id:
'73340ac8-07d7-4de2-bfeb-8062fa1e8cfd' child commands
'[ead3fbba-7439-4337-8aaf-1d6cf65bbb15]' executions were completed,
status 'FAILE
D'
2022-08-23 09:02:43,470+02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-22)
[4d79272b-ffac-4b2b-a98
7-8c19577cd8c4] Ending command
'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with failure.
2022-08-23 09:02:43,490+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-22)
[4d79272b-ff
ac-4b2b-a987-8c19577cd8c4] EVENT_ID:
USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Failed to delete snapshot
'vProtect 2022-08-05 22:33:44.088143' for VM 'web1.wiki.prod.hq.sldev.cz-2'.
Snapshot can't be deleted, and VM is not possible to clone.
thank you for any help.
Jirka
2 years, 5 months
Error during deployment of ovirt-engine
by Jonas
Hello all
I'm trying to deploy an oVirt Engine through the cockpit interface.
Unfortunately the deployment fails with the following error:
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set admin username]
[ INFO ] ok: [localhost -> 192.168.222.95]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for ovirt-engine service to start]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Open a port on firewalld]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Expose engine VM webui over a local port via ssh port forwarding]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Evaluate temporary bootstrap engine VM URL]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Display the temporary bootstrap engine VM URL]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Detect VLAN ID]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set Engine public key as authorized key without validating the TLS/SSL certificates]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials]
[ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials.
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": false, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials."}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] ok: [localhost]
I can login just fine to the VM over SSH but when I try to login over
the web interface as admin, the password is not accepted. I tried both
complex and simple passwords for root/admin but none worked so far.
This previous discussion did not solve my problems:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/HMLCEG2LPSWF...
Thank you,
Jonas
2 years, 5 months
VM Disk extend not reflected in VM oS
by simon@justconnect.ie
Hi All,
I extended a VM disk via oVirt Manager (4.4.8) without error, but when I checked the VM (fdisk & lsblk) the size has not changed.
Any help as always would be appreciated.
Kind Regards
Simon...
2 years, 5 months
Snapshot not working
by Facundo Badaracco
hi everyone,
I have a glusterFS replica x3 node.
I can't create snapshot. when I create it, if I select to save the memory,
then in the disks section only appears the snapshot of the memory and in
locked state. If instead, I remove the option to make snapshot of the
memory, it does not make the snapshot saying "failed".
Any idea?
2 years, 6 months
Re: oVirt 4.5 self-hosted network not working
by Paul-Erik Törrönen
On 2022-08-25 22:56, Facundo Badaracco wrote:
> Have u checked the IP of the engine VM?
Yes. It is what I configured during the setup, and which I use when I ssh from the host to the engine VM.
Sorry, I should have mentioned this in my previous message.
Poltsi
2 years, 6 months
oVirt 4.5.2 /var growing rapidly due to ovirt_engine_history db
by sohail_akhter3@hotmail.com
Hi,
We have recently upgrade our oVirt environment to 4.5.2 version. Environment is based on hosted-engine. Since we have upgrade we noticed rapid incrase in /var partition in engine VM. It is increasing very rapidly. If we vacuum ovirt_engine_history db, /var size reduces but next day size will increase again upto 5-10%. We did db vacuuming couple of time but not sure we it is increasing so rapidly.
Here is the partial output of vacuuming that was done on 26-08-22. Table "host_interface_hourly_history" had more entries to be removed. Rest of the table had not much entries. Previously table "host_interface_samples_history" had entries to be removed.
Any Idea what can be the reason for that?
# dwh-vacuum -f -v
SELECT pg_catalog.set_config('search_path', '', false);
vacuumdb: vacuuming database "ovirt_engine_history"
RESET search_path;
SELECT c.relname, ns.nspname FROM pg_catalog.pg_class c
JOIN pg_catalog.pg_namespace ns ON c.relnamespace OPERATOR(pg_catalog.=) ns.oid
LEFT JOIN pg_catalog.pg_class t ON c.reltoastrelid OPERATOR(pg_catalog.=) t.oid
WHERE c.relkind OPERATOR(pg_catalog.=) ANY (array['r', 'm'])
ORDER BY c.relpages DESC;
SELECT pg_catalog.set_config('search_path', '', false);
VACUUM (FULL, VERBOSE) public.host_interface_samples_history;
INFO: vacuuming "public.host_interface_samples_history"
INFO: "host_interface_samples_history": found 3135 removable, 84609901 nonremovable row versions in 1564960 pages
DETAIL: 0 dead row versions cannot be removed yet.
CPU: user: 41.88 s, system: 14.93 s, elapsed: 422.83 s.
VACUUM (FULL, VERBOSE) public.host_interface_hourly_history;
INFO: vacuuming "public.host_interface_hourly_history"
INFO: "host_interface_hourly_history": found 252422 removable, 39904650 nonremovable row versions in 473269 pages
Please let me know if any further information is required.
Regards
Sohail
2 years, 6 months
Notified that Engine's certification is about to expire but no documentation to renew it
by Guillaume Pavese
Hello
We are receiving the following notifications from our ovirt manager :
Message:Engine's certification is about to expire at 2022-05-03. Please
renew the engine's certification.
Severity:WARNING
Effectively :
# openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -startdate
-enddate -noout
notBefore=Mar 30 04:48:15 2021 GMT
notAfter=May 3 04:48:15 2022 GMT
However I can not find any documentation on how to renew this certificate.
The following doc only convers changing apache-ca.pem & apache.cer, and
not engine.cer
Doc oVirt :
https://ovirt.org/documentation/administration_guide/index.html#Replacing...
Doc RHV :
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/...
Any help ?
Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group
--
Ce message et toutes les pièces jointes (ci-après le “message”) sont
établis à l’intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. L’internet ne permettant pas
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales)
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse
ou il aurait été modifié. IT, ES, UK.
<https://interactiv-group.com/disclaimer.html>
2 years, 6 months
ovirt-engine-appliance Location (Pre-Installation)
by Matthew J Black
Hi All,
A couple of Qs:
During the `TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package]` stage of the Management Engine deployment, is this trying to install the ovirt-engine-appliance, or something else?
When we do a pre-install of the ovirt-engine-appliance (ie dnf install ovirt-engine-appliance) where is this installed too, so that we can enter this information into the deployment script at the `Engine Appliance Image Path` stage?
Cheers
Dulux-Oz
2 years, 6 months
Uncaught exception on Network Interfaces tab of a newly added host to oVirt 4.5.0
by Hean-Seng Tan
I added a few hosts to oVirt that runs engine version 4.5.0.8-1.el8. Most of the hosts work well except that Network Interfaces tab of a host shows the below error on the web browser:
Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : Cannot read properties of null (reading 'e')
Please have your administrator check the UI logs
I tried the following steps but they do not help:
- clearing web browser cache
- using a different web browser
- deleting and re-adding the host back to oVirt
/var/log/ovirt-engine/ui.log logged below error when the network interface tab of the host was accessed:
2022-09-28 01:52:51,527Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-1381) [] Permutation name: 06C89A2CB3005B8E9B9129A6A121B6E2
2022-09-28 01:52:51,527Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-1381) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : a is null
at java.math.Elementary.add(Elementary.java:52)
at org.ovirt.engine.ui.webadmin.widget.host.HostNetworkInterfaceBondedListViewItem$8.$getValue(HostNetworkInterfaceBondedListViewItem.java:167)
at org.ovirt.engine.ui.webadmin.widget.host.HostNetworkInterfaceBondedListViewItem$8.getValue(HostNetworkInterfaceBondedListViewItem.java:167)
at com.google.gwt.user.cellview.client.Column.render(Column.java:164)
at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$renderCell(AbstractCellTableBuilder.java:188)
at com.google.gwt.user.cellview.client.DefaultCellTableBuilder.$buildRowImpl(DefaultCellTableBuilder.java:62)
at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$buildRow(AbstractCellTableBuilder.java:85)
at com.google.gwt.user.cellview.client.AbstractCellTable.$buildRowValues(AbstractCellTable.java:2350)
at com.google.gwt.user.cellview.client.AbstractCellTable.replaceAllChildren(AbstractCellTable.java:2149)
at com.google.gwt.user.cellview.client.AbstractHasData$View.replaceAllChildren(AbstractHasData.java:265)
at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062)
at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:981)
at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:272)
at com.google.gwt.core.client.impl.Impl.exit(Impl.java:383)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
at Unknown.Ny/<(https://atlnpkvmoc01.amd.com/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
at Unknown.anonymous(Unknown)
Does anyone have any idea of what could be wrong?
2 years, 6 months