Data source Spectrum sync fail

Document ID : KB000108873
Last Modified Date : 31/07/2018
Show Technical Document Details
Getting a failure when trying to enable Spectrum as data source.
CAPM 3.5
Spectrum 10.2.3
there are 2 causes here:

spectrum was previously added as a data source and then improperly removed.

also, we see this error in the DM wrapper.log:
INFO | jvm 1 | 2018/07/31 05:11:09 | | Received WebServiceException from version check for data source Spectrum Infrastructure Manager@spetrumhostname. UnknownHostException invoking http://*****:8888/axis2/services/DataSourceWS: <hostname>. MESSAGE=Could not send Message.. Returning DS_COMM_FAILURE result. 
INFO | jvm 1 | 2018/07/31 05:11:09 | ERROR | qtp680829177-168120 | 2018-07-31 05:11:09,000 | 
INFO | jvm 1 | 2018/07/31 05:11:09 | | Could not send Message. 

this is caused by communication failure.
added a host file entry on the capc host for the spectrum host.

removed the spectrum data source, did a synch all, waited until the data source was gone from the ds view.

added spectrum in as a new data source.