We uses VAMI CIM instances for update and use certificate based authentication to connect to CIM server. These certificates are generated at first boot of the appliance under the /opt/vmware/etc/sfcb folder.
We have observed following errors.
Caused by: com.emc.srm.app.admin.update.manager.exceptions.AuthenticationException: com.emc.srm.app.admin.update.manager.exceptions.CIMException: Error getting Private Key
Caused by: com.emc.srm.app.admin.update.manager.exceptions.CIMException: Error getting Private Key
2013-02-11T13:47:24.251-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection Authentication failed for localhost
2013-02-11T13:47:24.251-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.connection.CIMConnectionFactory connection com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection@1292927 failed
2013-02-11T13:47:48.862-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.tasks.CheckUpToDateTask Error checking for appliance update!
com.emc.srm.app.admin.update.manager.exceptions.CIMException: com.emc.srm.app.admin.update.manager.exceptions.CIMException: Not Authorized
2013-02-11T13:57:28.917-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.connection.auth.AbstractAuthentication Error authenticating CIM Connection [Unable to connect]
2013-02-11T13:57:28.917-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection Authentication failed for localhost
2013-02-11T13:57:28.917-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.connection.CIMConnectionFactory connection com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection@6062413 failed
Caused by: com.emc.srm.app.admin.update.manager.exceptions.AuthenticationException: com.emc.srm.app.admin.update.manager.exceptions.CIMException: Error getting Private Key
at com.emc.srm.app.admin.update.manager.connection.auth.AbstractAuthentication.authenticate(AbstractAuthentication.java:104) ~[update-manager-1.6.0.0.0.jar:na]
at com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection.connect(VMwareCIMConnection.java:100) ~[update-manager-1.6.0.0.0.jar:na]
... 9 common frames omitted Caused by: com.emc.srm.app.admin.update.manager.exceptions.CIMException: Error getting Private Key
at com.emc.srm.app.admin.update.manager.connection.auth.CertificateAuthentication.getPrivatKey(CertificateAuthentication.java:302) ~[update-manager-1.6.0.0.0.jar:na]
2013-02-08T10:20:31.986-0600 ERROR [pool-1-thread-1] com.emc.srm.app.admin.update.manager.tasks.CheckUpToDateTask Error checking for appliance update!
com.emc.srm.app.admin.update.manager.exceptions.CIMException: WBEMException: CIM_ERR_FAILED (Connection timed out)
at com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection.getInstance(VMwareCIMConnection.java:217) ~[update-manager-1.6.0.0.0.jar:na]
at com.emc.srm.app.admin.update.manager.tasks.AbstractTask.waitForJobToComplete(AbstractTask.java:89) ~[update-manager-1.6.0.0.0.jar:na]
at com.emc.srm.app.admin.update.manager.tasks.CheckUpToDateTask.call(CheckUpToDateTask.java:72) [update-manager-1.6.0.0.0.jar:na]
at com.emc.srm.app.admin.update.manager.tasks.CheckUpToDateTask.call(CheckUpToDateTask.java:38) [update-manager-1.6.0.0.0.jar:na]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_29]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_29] Caused by: javax.wbem.WBEMException: Connection timed out
at org.sblim.cimclient.internal.wbem.WBEMClientCIMXML.transmitRequest(WBEMClientCIMXML.java:1650) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at org.sblim.cimclient.internal.wbem.WBEMClientCIMXML.getInstance(WBEMClientCIMXML.java:1126) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at com.emc.srm.app.admin.update.manager.connection.VMwareCIMConnection.getInstance(VMwareCIMConnection.java:204) ~[update-manager-1.6.0.0.0.jar:na]
... 8 common frames omitted Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.6.0_29]
at java.net.SocketInputStream.read(SocketInputStream.java:129) ~[na:1.6.0_29]
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:830) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:787) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) ~[na:1.6]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) ~[na:1.6.0_29]
at java.io.BufferedInputStream.read(BufferedInputStream.java:237) ~[na:1.6.0_29]
at org.sblim.cimclient.internal.http.HttpMethod.readLine(HttpMethod.java:55) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at org.sblim.cimclient.internal.http.HttpClientMethod.<init>(HttpClientMethod.java:85) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at org.sblim.cimclient.internal.http.HttpClient.getResponseCode(HttpClient.java:622) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at org.sblim.cimclient.internal.http.HttpUrlConnection.getResponseCode(HttpUrlConnection.java:233) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
at org.sblim.cimclient.internal.wbem.WBEMClientCIMXML.transmitRequest(WBEMClientCIMXML.java:1644) ~[sblim-cim-client-2.0.9emc1.6.0.0.0.jar:na]
... 10 common frames omitted
We have verified VMware certificate files (.pem files under /opt/vmware/etc/sfcb folder) and looks like private key and Certificates are valid and checksums are matching. We also tried restarting of the vami-sfcb service but that also did not have any effect.
Can someone will help us understanding these connection timeout errors? Any help would be appreciated.
Regards,