Host-based backup of Nutanix AHV VMs.
Post Reply
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Unable to connect to Nutanix cluster from VBR

Post by JaySt »

Hi,

Support case #05980400 , but i though i might try here as well.

I'm using the latest Veeam v12 release and AHV plugin and i try to add a Nutanix cluster (running Nutanix version 6.5.2.5 LTS) to VBR infrastructure. At the point when i've entered my cluster fqdn and selected my credentials (a local user on the cluster with admin role assigned), the console displays an error and refused to connect. The error states the account is "unauthorized". However, that's not the case.
Veeam.AHV.PlatformSvc.log shows Veeam tries to connect to the cluster REST API endpoint https://fqdn:9440/PrismGateway/services ... .0/cluster but gets a 401 (unauthorized) returned. After that, the log lines show a "certificate validation error", probably caused by the 401. The cluster is using a certificate issued by an internal CA.

When opening the web GUI at https://fqdn:9440 on the VBR itself , no issues or messages are displayed. Certificate is properly accepted by the browser. Logging in with the exact same credentials works fine using a browser. Browsing to the API endpoint after authenticating with the browser on the VBR server is working fine too. Cluster info is dumped to JSON.

I also wrote an powershell script to connect to the API using the username/password combination that VBR would also use to add the cluster to the console. Powershell script runs fine on the VBR server, no connectivity issues whatsoever, certainly no 401-scenario's. The powershell script only gets the 401 when i would put in the wrong credentials.

so i'm a bit lost here and question what to do. I've checked all my connectivity, verified all on the VBR server, but Veeam won't connect to the API.
i have some suspects: either(1) Veeam fails to authenticate due to wrongly connecting to the API because it does something wrong with the credentials retrieved from the database or connecting to the API in a way that fails authentication(resulting in a 401). Or (2) Veeam VBR(and AHV plugin) don't like the internal CA issued certificate somehow (as there is a KB about this, but only for a scenario letting the appliances connect to the cluster, i'm not there yet).

VBR is installed on Windows Server 2022, so no TLS Cipher support issues. All should be supported.
I've checked with openssl.exe cli to connect to the API endpoint, no issues, all good.

any tips? Support wants to try to remove the certificate from the cluster and try to connect VBR when a selfsigned certificate is in place on the cluster and later switch it back and explicitly make the cert known on the then deployed Veeam proxy appliances etc. But that's not something i look forward doing and doesnt make a lot of sense.
Veeam Certified Engineer
ronnmartin61
Veeam Software
Posts: 541
Liked: 195 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by ronnmartin61 »

Have you checked out https://www.veeam.com/kb4433?
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

Yes, i saw that one and thats why i started doubting the internal CA cert. But the appliance has not even been deployed, so the Kb does not really apply that well. Im still at the very first step of connecting to the cluster from VBR, so thats all i got.
Veeam Certified Engineer
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

I switched the cluster to self signed cert and retried. Worked right away. So after all, it was something with the cert.
I now have to test the procedure in the mentioned KB after i switch back to the internal CA issued certificate on the cluster. It will probably go fine after that.
Not sure what scenarios in the future would require me to do this again. I hope it can be fixed somehow by Veeam (if it's even a Veeam issue....)
Veeam Certified Engineer
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

just got an update from support. Seems QA department found the root cause of this issue and it will be fixed in one of the next builds.
Veeam Certified Engineer
arogarth
Service Provider
Posts: 82
Liked: 18 times
Joined: Sep 25, 2017 7:15 am
Location: Frankfurt/M., Germany
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by arogarth »

Thanks, same here - Workaround is to add cluster by IP Address
Socials: https://arogarth.net
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

not in my case. tried that.
Veeam Certified Engineer
mphosue
Novice
Posts: 3
Liked: never
Joined: Sep 17, 2024 3:45 pm
Full Name: Michael HoSue
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by mphosue »

I started getting this error yesterday. I have a QNAP NAS, Nutanix is nowhere in my DC and all I have done is try to install VEEAM O365 backup comm edition. Could the failed install of the O365 have caused this? It failed due to a connection to the same NAS during the install. How can I fix this?
ronnmartin61
Veeam Software
Posts: 541
Liked: 195 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by ronnmartin61 »

@mphosue not sure how you're getting this error if you're not trying to connect to any Nutanix cluster since none exists in your environment?
ronnmartin61
Veeam Software
Posts: 541
Liked: 195 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by ronnmartin61 » 1 person likes this post

@JaySt we just released v6.1 which I know corrected a cert issue
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

nope. still same issues. i cant fix it the way i could fix it in v5 just yet. Need support involvement i'm afraid.
Veeam Certified Engineer
ronnmartin61
Veeam Software
Posts: 541
Liked: 195 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by ronnmartin61 »

@JaySt yes please continue to work with support. My understanding is that we have identified the root cause for this scenario
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

Ah that would be nice and fix asap. Im completely in the dark now. Case 07443563
Veeam Certified Engineer
ronnmartin61
Veeam Software
Posts: 541
Liked: 195 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by ronnmartin61 »

@JaySt I was looking at the case notes earlier. Can you confirm the proxy and cluster remove/re-add did the trick?
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt »

Yes can confirm this worked!
Veeam Certified Engineer
JaySt
Service Provider
Posts: 454
Liked: 86 times
Joined: Jun 09, 2015 7:08 pm
Full Name: JaySt
Contact:

Re: Unable to connect to Nutanix cluster from VBR

Post by JaySt » 1 person likes this post

To be clear: the procedure of removing the proxy (not permanently), removing the AHV cluster, re-adding the AHV cluster and re-adding the proxy (by connecting to existing proxy) fixed it.
I could be wrong, but the way this fixed my issue, seems to indicate a chance of permanently fixing this issue i had for a long time and had to fix on each upgrade by updating the trusted certs on the appliances.
We'll see!
Veeam Certified Engineer
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests