cockpit-ovirt-dashboard
by less foobar
When you try to follow the documentation for rhel 9 you can't install the cockpit-ovirt-dashboard. The package is missing. Even on ovirt version 9 the dashboard is missing from the cockpit interface.
2 years, 2 months
node non-operational can't connect to gluster domains
by Staniforth, Paul
Hello I have a problem activating a host running ovirt-node-ng-4.4.10.2. The engine is running 4.5.1.3-1.el8
The error message in the host event log has
Activation of host *.* initiated by admin@internal-authz.
Failed to connect Host *.* to the Storage Domains hosted_storage.
Failed to connect Host *.* to the Storage Domains extra,vmstore,data.
Failed to connect Host *.* to Storage Servers
Failed to connect Host *.* to Storage Pool Default
Host *.* cannot access the Storage Domain(s) <UNKNOWN> attached to the Data Center Default. Setting Host state to Non-Operational
If I manually mount the gluster domains it activates.
The othe 2 nodes activate without intervention.
Thanks
Paul S.
To view the terms under which this email is distributed, please go to:-
https://leedsbeckett.ac.uk/disclaimer/email
2 years, 2 months
Template import in 4.5
by Gianluca Cecchi
Hello,
I have a problem importing templates in downstream product 4.4-SP1 that
should match in some way oVirt 4.5.x.
I get a ui exception preventing me from importing the template.
I have already opened a case for it (03270063).
Just wondering if it can be a general problem and in particular an oVirt
problem too. I have not at hand an oVirt 4.5 env.
Can anyone in oVirt 4.5.x confirm that Template Import through export
domains work as expected in that environment?
In my case the template has been exported from a 4.4.x environment, so the
perfect match would be to export a template in 4.4 and then import it in 4.5
Thanks in advance
Gianluca
2 years, 2 months
Incorrect Max CPU's per VM in libvirt if cluster compatibility 4.6 or 4.7
by David Sekne
Hello,
I recently upgraded our cluster from 4.3 to 4.5 (4.5.1.3-1.el8), I raised the cluster compatibility afterwards to 4.7 as well. I noticed that the CPU hot plugging does not work above 16 CPU's if cluster compatibility is set to 4.6 or 4.7.
Error I get is:
Failed to hot set number of CPUS to VM testVM-3. Underlying error message: invalid argument: requested vcpus is greater than max allowable vcpus for the live domain: 32 > 16
Issue here I believe is that the MaxNumOfVmSockets values set on the engine per cluster version is not correctly set on libvirt when VM is started.
My values on the engine:
MaxNumOfVmSockets: 32 version: 4.2
MaxNumOfVmSockets: 32 version: 4.3
MaxNumOfVmSockets: 32 version: 4.4
MaxNumOfVmSockets: 32 version: 4.5
MaxNumOfVmSockets: 64 version: 4.6
MaxNumOfVmSockets: 10000 version: 4.7
Values on libvirt for VM's for all cluster compatibility versions:
4.3
<vcpu placement='static' current='4'>32</vcpu>
4.4
<vcpu placement='static' current='4'>32</vcpu>
4.5
<vcpu placement='static' current='4'>32</vcpu>
4.6
<vcpu placement='static' current='4'>16</vcpu>
4.7
<vcpu placement='static' current='4'>16</vcpu>
Is anyone else experiencing this issue (possible BUG)?
Regards,
David
2 years, 2 months
extract qcow2 or raw disks from ovirt OVA
by dhanaraj.ramesh@yahoo.com
Hi Team
May I know how do I extract qcow2 or raw disks out of ovirt OVA file please. Basically I want to move some of the vms to Nutanix AHV or Vmware cluster, for that I need either qcow2 or raw disks of each of the running vms.
2 years, 2 months
SSO error during hosted engine deployment with 4.5.1
by Dax Kelson
On the final setup of using the cockpit ovirt wizard to install the hosted
engine with 4.5.1, this occurs:
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using
username/password credentials]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The field 'environment'
has an invalid value, which includes an undefined variable. The error was:
'he_admin_username' is undefined\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/auth_sso.yml':
line 2, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Obtain
SSO token using username/password credentials\n ^ here\n"}
2 years, 2 months
Grafana login
by markeczzz@gmail.com
Hi!
I have installed oVirt 4.5.1 and I am using KeyCloak to login.
I have created users in keycloak and with them i can login to ovirt Manager, but I can't login to Grafana.
Also, I can login to Keycloak only with user "admin" and not with newly created users.
I have tried to add @ovirt or @ovirt@internal, but every time i get "Invalid username or password"
I haven't really changed default options in keycloak and can't find good manual for ovirt + keyclock.
Can anyone tell me how to create user in keycloak that cant login to Grafana?
Regards,
2 years, 2 months
Please help: Failure Restoring Data on Clean Engine After Migration
by Andrei Verovski
Hi,
I have oVirt engine 4.4.7 running on dedicated PC (not hosted engine).
After several unsuccessful upgrade attempts of 4.4.7 to 4.4.10 decided to install clean 4.4.10 and migrate data.
On old engine
engine-backup --scope=all --mode=backup
On new engine
engine-backup --mode=restore --provision-all-databases --no-restore-permissions --file=ovirt-engine-backup-20220713160717.backup
Result:
[ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to database for grafana using existing credentials: ovirt_engine_history_grafana@localhost:5432
How to Remove Grafana Completely During Engine Migration, or skip it during backup?
In fact it would be nice to delete it on active 4.4.7 setup, I don’t need it anyway.
Thanks in advance.
# — LOG ———————————————————————
Start of engine-backup with mode 'restore'
scope: all
archive file: ovirt-engine-backup-20220713160717.backup
log file: /var/log/ovirt-engine-backup/ovirt-engine-restore-20220714170603.log
Preparing to restore:
- Unpacking file 'ovirt-engine-backup-20220713160717.backup'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
- user 'ovirt_engine_history', database 'ovirt_engine_history'
Restoring:
- Engine database 'engine'
- Cleaning up temporary tables in engine database 'engine'
- Updating DbJustRestored VdcOption in engine database
- Resetting DwhCurrentlyRunning in dwh_history_timekeeping in engine database
- Resetting HA VM status
------------------------------------------------------------------------------
Please note:
The engine database was backed up at 2022-07-13 16:07:21.000000000 +0300 .
Objects that were added, removed or changed after this date, such as virtual
machines, disks, etc., are missing in the engine, and will probably require
recovery or recreation.
------------------------------------------------------------------------------
- DWH database 'ovirt_engine_history'
- Grafana database '/var/lib/grafana/grafana.db'
You should now run engine-setup.
Done.
[root@node00 ovirt-engine-backup]# engine-setup
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf, /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20220714170757-7072xx.log
Version: otopi-1.9.6 (otopi-1.9.6-1.el8)
[ INFO ] The engine DB has been restored from a backup
[ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to database for grafana using existing credentials: ovirt_engine_history_grafana@localhost:5432
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220714170757-7072xx.log
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220714170806-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
2 years, 2 months
How to Fix: oVirt 4.4.10 Internal server error 500 after engine-setup (vdsm-jsonrpc-java )
by Andrei Verovski
Hi,
Finally I managed to migrate 4.4.7 to fresh installation of 4.4.10.
However, after successful engine-setup I’ve got 500 - Internal Server Error
I found this:
https://bugzilla.redhat.com/show_bug.cgi?id=1918022
Bug 1918022 - oVirt Manager is not loading after engine-setup
Article suggested to downgrade vdsm-jsonrpc-java to 1.5.x.
However, this is not possible:
dnf --showduplicates list vdsm-jsonrpc-java
dnf install vdsm-jsonrpc-java-1.5.7-1.el8
Last metadata expiration check: 0:39:52 ago on Fri 15 Jul 2022 02:32:36 PM EEST.
Error:
Problem: problem with installed package ovirt-engine-backend-4.4.10.7-1.el8.noarch
- package ovirt-engine-backend-4.4.10.7-1.el8.noarch requires vdsm-jsonrpc-java >= 1.6.0, but none of the providers can be installed
- cannot install both vdsm-jsonrpc-java-1.5.7-1.el8.noarch and vdsm-jsonrpc-java-1.6.0-1.el8.noarch
- cannot install both vdsm-jsonrpc-java-1.6.0-1.el8.noarch and vdsm-jsonrpc-java-1.5.7-1.el8.noarch
How to fix this?
Thanks in advance.
***************** SERVER LOG *********************
2022-07-15 14:45:44,969+03 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke protected void org.ovirt.engine.core.bll.TagsDirector.init() on org.ovirt.engine.core.bll.TagsDirector@648487d3
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke protected void org.ovirt.engine.core.bll.TagsDirector.init() on org.ovirt.engine.core.bll.TagsDirector@648487d3
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Unable to determine the correct call signature - no procedure/function/signature for 'gettagsbyparent_id'"}}
2022-07-15 14:45:44,981+03 INFO [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "restapi.war" (runtime-name : "restapi.war")
2022-07-15 14:45:44,982+03 INFO [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "engine.ear" (runtime-name : "engine.ear")
2022-07-15 14:45:44,982+03 INFO [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "apidoc.war" (runtime-name : "apidoc.war")
2022-07-15 14:45:44,982+03 INFO [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "ovirt-web-ui.war" (runtime-name : "ovirt-web-ui.war")
2022-07-15 14:45:45,015+03 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
WFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed
2 years, 2 months