Cannot authenicate to OLVM

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator
fredtw0
Posts: 2
Joined: Mon Apr 29, 2024 7:49 pm

Mon Apr 29, 2024 7:54 pm

While Oracle Linux Virtualization Manager is largely based on oVirt, it's not quite the same.

I am testing V2V from vCenter to OLVM with Oracle Linux KVM.

I can certainly authenticate and set up the vSphere source just fine; however, I tried to authenticate using the ovirt option to a test environment with the default admin account, as well as admin@internal. Also, i attempted directly to the host with root. None of these authenticate.

Is there a pre-existing method I am missing?
OR
Is this a feature that can be added? (vSphere -> OLVM migrations)
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 30, 2024 7:36 am

Use credentials you use to log into oVirt Engine (I.e., https://test-ovirt-engine.tl.local/ovirt-engine)
fredtw0
Posts: 2
Joined: Mon Apr 29, 2024 7:49 pm

Tue Apr 30, 2024 8:13 pm

Alrighty...

I tried to place

Code: Select all

https://<olvm-fdqn>/ovirt-engine/
in the host box, then I attempted both

Code: Select all

admin
and

Code: Select all

admin@internal
with the appropriate password. Unfortunately it is still failing to connect with:

"Host Name or Credentials are wrong!"
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Sun May 05, 2024 6:23 pm

Greetings,

Sorry for the delay. Can you try something like admin@ovirt@internal?
akorn
Posts: 5
Joined: Wed Jul 09, 2025 8:27 pm

Wed Jul 09, 2025 8:41 pm

Faced the same issue. OLVM version 4.5.5-1.47.el8
In ovirt-engine/engine.log there is a message:
EVENT_ID: USER_VDC_LOGIN(30), User admin@ovirt@internal-authz connecting from '$IP' using session ''$hash' logged in.
But nothing in httpd/access_log and error_log (IDK, maybe it's normal).
In ovirt-requests-log:
042388cf-a485-4eaf-82ad-d91fd84553b4" "Duration: 113275us" "GET /ovirt-engine///api HTTP/1.1" 5675
51211ac7-90de-4427-b772-83d1b5a1ce4a" "Duration: 12805us" "GET /ovirt-engine//api/clusters HTTP/1.1" 4742
8104c823-4109-4e20-8997-f2f0d2b16442" "Duration: 22206us" "GET /ovirt-engine//api/disks HTTP/1.1" 20282
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Wed Jul 09, 2025 9:12 pm

Greetings,

Welcome to StarWind Forum. Could you please explain the problem?
Are you converting via CLI or GUI?
What is the converter version you are using?
akorn
Posts: 5
Joined: Wed Jul 09, 2025 8:27 pm

Thu Jul 10, 2025 5:46 am

Greetings,
I'm using GUI, version 9.0.1.757.
I've tried to convert VM from VMware to Oracle. Successfuly authenticated in VMware, but not couldn't authenticate in OLVM. In V2V log:
Facility ???INFO: WrapperKVM::KVMWrapper::KVMWrapperImpl::Connect: Connect to the oVirt host
Facility ???INFO: WrapperKVM::KVMWrapper::KVMWrapperImpl::RetrieveClustersList: oVirt RetrieveClustersList
Facility ???INFO: WrapperKVM::KVMWrapper::KVMWrapperImpl::GetDisksList: oVirt get list of disks
In GUI I see error message "The host name or credential are wrong!"
Connecting with admin@ovirt@internal user
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 10, 2025 7:03 am

I've asked my colleagues to look into it. Thanks! Is there any way to convert the VM into OVF for now and deploy in-place?
akorn
Posts: 5
Joined: Wed Jul 09, 2025 8:27 pm

Thu Jul 10, 2025 11:48 am

Thanks!
No, I haven't try. Using OVF export/import is boring and not interesting)
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 10, 2025 12:09 pm

Yeah, but it, unfortunately, looks to be the only way to get the VMs converted.
akorn
Posts: 5
Joined: Wed Jul 09, 2025 8:27 pm

Thu Jul 10, 2025 3:23 pm

So, Starwind V2V Converter can't do that?
No, OVF is not only way. At least there is virt-v2v. Or Starwind V2V Converter is based on virt-v2v?
And as a last resort there are backup tools - Commvault or maybe Veeam, but it should be checked.

Starwind V2V Converter looks easier, so I still have a hope)
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 10, 2025 4:48 pm

Finding the resolution will take some time. Not to be the bottleneck, I suggested using OVF.
StarWind V2V is not based on Ovirt's solution.
Instant recovery is another option, you are right. I was just trying to come up with a solution that does not require other pieces of software.
adriansaunders
Posts: 1
Joined: Fri Jul 11, 2025 7:45 am

Fri Jul 11, 2025 7:59 am

Hello.
I'm also experiencing the same issue. Vsphere (8.x) I can get a connection to but when I try and connect to our Oracle KVM we get a connection The Host name or credentials are wrong! error.
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Fri Jul 11, 2025 11:15 am

Thanks for sharing. We are investigating this one internally.
Please make sure to use the right credentials and stick with any workaround outlined here for now.
akorn
Posts: 5
Joined: Wed Jul 09, 2025 8:27 pm

Mon Jul 14, 2025 3:58 pm

I've reinstalled OLVM without Keycloak and it works, at least I'm able to authenticate! :)
BTW Commvault also doesn't connect to OLVM with integrated Keycloak.

It seems problem is in API auth with Keycloak.
Post Reply