Unable to register to Prism Central | Nutanix Community
Skip to main content

 

While registering Prism Element (single node CE) with Prism Central “Pre registration checks” is failing.

 

IP Address (single subnet for all IP addresses)

AHV = 172.23.244.15

CVM  = 172.23.244.16

Cluster IP  = 172.23.244.17

Prism Central = 172.23.244.30

 

Added HTTP PROXY in PE and PC as the setup is in the lab.

 

Added PE in PC whitelist and vice versa.

 

nutanix@NTNX-5848d338-A-CVM:172.23.244.116:~$ ncli http-proxy get-whitelist

 

    Target Type               : IPV4_ADDRESS

    Target                    : 172.23.244.30.   <----- PC IP address in PE while list

 

    Target Type               : IPV4_ADDRESS

    Target                    : 172.23.244.115

 

    Target Type               : IPV4_ADDRESS

    Target                    : 172.23.244.116

 

nutanix@NTNX-172-23-244-30-A-PCVM:~$ ncli http-proxy get-whitelist

 

    Target Type               : IPV4_ADDRESS

    Target                    : 172.23.244.117 <--- PE Cluster IP in PC white list

 

    Target Type               : IPV4_ADDRESS

    Target                    : 172.23.244.116. <--- PE CVM IP

 

    Target Type               : IPV4_ADDRESS. <--- AHV IP

    Target                    : 172.23.244.115

nutanix@NTNX-172-23-244-30-A-PCVM:~$

 

 

SSH from PE to PC and vice versa works fine.

 

Noticed following error.

 

nutanix@NTNX-5848d338-A-CVM:172.23.244.116:~$ nc 172.23.244.30 9440 -vv

Ncat: Version 7.50 ( https://nmap.org/ncat )

NCAT DEBUG: Using system default trusted CA certificates and those in /usr/share/ncat/ca-bundle.crt.

NCAT DEBUG: Unable to load trusted CA certificates from /usr/share/ncat/ca-bundle.crt: error:02001002:system library:fopen:No such file or directory

libnsock nsi_new2(): nsi_new (IOD #1)

libnsock nsock_connect_tcp(): TCP connection requested to 172.23.244.30:9440 (IOD #1) EID 8

libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 172.23.244.30:9440]

Ncat: Connected to 172.23.244.30:9440.

libnsock nsi_new2(): nsi_new (IOD #2)

libnsock nsock_read(): Read request from IOD #1 :172.23.244.30:9440] (timeout: -1ms) EID 18

libnsock nsock_readbytes(): Read request for 0 bytes from IOD #2 npeer unspecified] EID 26

 

During registration seeing following Java exception in CVM log

nutanix@NTNX-5848d338-A-CVM:172.23.244.116:~$ tail -f  /home/nutanix/data/logs/prism_gateway.log

 

ERROR 2024-03-12 00:44:12,432Z pool-103624-thread-1 g] prism.tasks.TaskRegistration.executePreRegistrationCheckTask:302 uREG] Failed to register to prism central.

javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: SocketTimeoutException invoking https://172.23.224.30:9440/PrismGateway/services/rest/v1/multicluster/cluster_registration_pre_check?peNosVersion=6.5.2&peClusterUuid=00061308-6e4b-ae67-7421-005056b83586: connect timed out

            at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:637) ~rcxf-rt-rs-client-3.3.3.jar:3.3.3]

            at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:613) ~ cxf-rt-rs-client-3.3.3.jar:3.3.3]

            at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:889) ~cxf-rt-rs-client-3.3.3.jar:3.3.3]

            at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:335) ~2cxf-rt-rs-client-3.3.3.jar:3.3.3]

            at com.sun.proxy.$Proxy560.clusterRegistrationPrecheck(Unknown Source) ~p?:?]

            at com.nutanix.prism.tasks.TaskRegistration.executePreRegistrationCheckTask(TaskRegistration.java:262) .prism_gateway-master-SNAPSHOT.jar:?]

            at com.nutanix.prism.tasks.TaskRegistration.doTask(TaskRegistration.java:197) pprism_gateway-master-SNAPSHOT.jar:?]

            at com.nutanix.prism.init.RepeatableBackgroundTask.run(RepeatableBackgroundTask.java:29) Aprism_gateway-master-SNAPSHOT.jar:?]

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) e?:1.8.0_352]

            at java.util.concurrent.FutureTask.run(FutureTask.java:266) e?:1.8.0_352]

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) s?:1.8.0_352]

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_352]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) a?:1.8.0_352]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) .?:1.8.0_352]

            at java.lang.Thread.run(Thread.java:750) n?:1.8.0_352]

 

 

Appreciate any help, thanks!

 

Sachin Vishwarupe

Be the first to reply!

Reply