Hi Suresh,
I just tested via API, same error, but something is strange in the log:
2022-01-18 08:44:21,900 INFO [c.c.h.v.u.VmwareContext]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06) New
VmwareContext object, current outstanding count: 14
2022-01-18 08:44:21,904 ERROR [c.c.h.v.u.VmwareContext]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06) Path
element points to an un-existing inventory entity
2022-01-18 08:44:21,904 ERROR [c.c.h.v.m.VmwareManagerImpl]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Unable to find host from inventory path:
2022-01-18 08:44:21,906 INFO [c.c.h.v.VmwareServerDiscoverer]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Found 0 hosts.
2022-01-18 08:44:21,906 ERROR [c.c.h.v.VmwareServerDiscoverer]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Unable to find host or cluster based on url:
2022-01-18 08:44:21,906 INFO [c.c.h.v.u.VmwareContext]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Disconnecting VMware session
2022-01-18 08:44:21,908 WARN [c.c.r.ResourceManagerImpl]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Unable to find the server resources at https://vmware-ams-002.domain.com
2022-01-18 08:44:21,909 INFO [c.c.u.e.CSExceptionErrorCode]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Could not find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2022-01-18 08:44:21,918 WARN [o.a.c.a.c.a.c.AddClusterCmd]
(qtp2053591126-20:ctx-3ffe2578 ctx-d0c69f6d ctx-5e23a0d3) (logid:812d3e06)
Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
I see " Unable to find host from inventory path:" but no path .....
Regards,
Cristian
-----Original Message-----
From: Suresh Anaparti <[email protected]>
Sent: Tuesday, January 18, 2022 3:02 PM
To: [email protected]
Subject: Re: New zone in ACS 4.16 - Unable to add the external cluster
Hi Cristian,
I'm not sure if this is a bug. Have you tried with api/cmk?
Can you share the complete log of zone creation. If possible, please create a
ticket with details here: https://github.com/apache/cloudstack/issues.
Regards,
Suresh
On 18/01/22, 2:41 PM, "[email protected]" <[email protected]>
wrote:
Hello,
Is this a bug? I'm trying to add a new ZONE in a upgraded cloudstack
environment but fails. I have already 4 active zones which are created long
time ago.
Unable to connect to Vmware vSphere server. service address:
vmware-ams-002.domain.com. java.lang.NumberFormatException: For input
string: "null"
2022-01-18 04:03:30,849 INFO [c.c.h.v.u.VmwareContext]
(qtp2053591126-636108:ctx-62b88abf ctx-06a37bc9) (logid:91c422ef)
Disconnecting VMware session
2022-01-18 04:03:30,851 WARN [c.c.r.ResourceManagerImpl]
(qtp2053591126-636108:ctx-62b88abf ctx-06a37bc9) (logid:91c422ef) Unable to
find the server resources at
http://vmware-ams-002.domain.com/AMS-BR-01/SAO-01
2022-01-18 04:03:30,851 INFO [c.c.u.e.CSExceptionErrorCode]
(qtp2053591126-636108:ctx-62b88abf ctx-06a37bc9) (logid:91c422ef) Could not
find exception: com.cloud.exception.DiscoveryException in error code list
for exceptions
2022-01-18 04:03:30,863 WARN [o.a.c.a.c.a.c.AddClusterCmd]
(qtp2053591126-636108:ctx-62b88abf ctx-06a37bc9) (logid:91c422ef) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
at
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.j
ava:586)
at jdk.internal.reflect.GeneratedMethodAccessor2020.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
gMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
I get this error over an over no matter what, I'm not sure why is
saying that is unable to find the server resources at ..
( I use the same vCenter for other zones and I do not have any issues
with this, version 6.5 u3.)
I highly appreciate any suggestions.
Thank you,
Cristian