CSA 4.8.2 - Failed to connect to UCMDB server

  • KM03557565
  • 21-Nov-2019
  • 21-Nov-2019

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

If CSA 4.8.x have presence of uCMDB provider and the same is not configured properly you may see an ERROR [] ServiceInstanceMonitorNotificationServiceImpl : Failed to connect to UCMDB server with Caused by: java.net.ConnectException: Connection refused: connect See related ticket for full error stack. Due to built in automatic integration feature for UCMDB: https://docs.microfocus.com/itom/Cloud_Service_Automation:4.80/Whats_New if there is enabled provider for the same but it is not configured properly there will be errors in csa.log. To avoid the errors provider needs proper UCMDB configuration, if there is no need for the integration provider should be either removed or disabled. disable and/or removal process: https://docs.microfocus.com/itom/Cloud_Service_Automation:4.80/Management_Console/Resource_Management/Provider_Overview check the table for Enabled field- Enabled This value determines whether the provider will be selected when provisioning a new service. The setting is either Enabled (when checked) or Disabled (when not checked). When Disabled, the provider will not be selected when provisioning new services. Disabling a provider will have no effect on existing services that are using that provider.

Question

In CSA.log, there will be  following error recorded:
04 Nov 2019 09:44:55,968 [pool-36-thread-1] ERROR [] ServiceInstanceMonitorNotificationServiceImpl : Failed to connect to UCMDB server
com.hp.ucmdb.api.CommunicationException: java.net.ConnectException: Connection refused: connect
...

...
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[?:1.8.0_60]
...

...
at com.hp.ucmdb.api.UcmdbServiceFactory.createHttpServiceProviderFactory(UcmdbServiceFactory.java:168) ~[api-interfaces-10.21.462-01.jar:10.21.462]
... 78 more

Answer

Due to built in automatic integration feature for UCMDB:
https://docs.microfocus.com/itom/Cloud_Service_Automation:4.80/Whats_New
if there is enabled provider for the same but it is not configured properly there will be errors in csa.log.
To avoid the errors provider needs proper UCMDB configuration, if there is no need for the integration provider should be either removed or disabled.
disable and/or removal process:
https://docs.microfocus.com/itom/Cloud_Service_Automation:4.80/Management_Console/Resource_Management/Provider_Overview
check the table for Enabled field-
Enabled This value determines whether the provider will be selected when provisioning a new service. The setting is either Enabled (when checked) or Disabled (when not checked). When Disabled, the provider will not be selected when provisioning new services. Disabling a provider will have no effect on existing services that are using that provider.