I'm trying to integrate the Log Insight 2.4.1.2271145 with VROPS 6.0.0.2263110 but when I put in a valid username and password I get the below error:
Connection test failed: Invalid username or password
Any idea where to start troubleshooting this? Do I need to install a solution or content pack on either end to get this working?
I can see in http_api.log under SUITEAPI that it's sending the right password:
2014-12-04 10:33:44,468 [ajp-bio-127.0.0.1-8010-exec-77, GKt5BJRmCXZhJqhDMfrsAeETjhDx4k3N] DEBUG filter.CommonsRequestLoggingFilter - Before request [uri=/suite-api/api/auth/token/acquire?null;client=127.0.0.1]
2014-12-04 10:33:44,473 [ajp-bio-127.0.0.1-8010-exec-77, GKt5BJRmCXZhJqhDMfrsAeETjhDx4k3N] DEBUG filter.CommonsRequestLoggingFilter - After request [uri=/suite-api/api/auth/token/acquire?null;client=127.0.0.1;payload=<vcops:username-password xmlns:vcops="http://webservice.vmware.com/vCOpsSuite/"><vcops:username>insight_adapter</vcops:username><vcops:password>********</vcops:password></vcops:username-password>]
Then in api.log there is a huge stacktrace, first few lines below:
2014-12-04 10:33:44,469 [ajp-bio-127.0.0.1-8010-exec-77, GKt5BJRmCXZhJqhDMfrsAeETjhDx4k3N] INFO server.config.ThrottleFilter - Allowing POST /auth/token/acquire
2014-12-04 10:33:44,471 [ajp-bio-127.0.0.1-8010-exec-77, GKt5BJRmCXZhJqhDMfrsAeETjhDx4k3N] ERROR server.controller.AbstractBaseController - User did not provide valid input
org.springframework.http.converter.HttpMessageNotReadableException: Could not read [class com.vmware.ops.api.model.auth.UsernamePassword]; nested exception is org.springframework.oxm.UnmarshallingFailureException: JAXB unmarshalling exception; nested exception is javax.xml.bind.UnmarshalException: unexpected element (uri:"http://webservice.vmware.com/vCOpsSuite/", local:"username-password"). Expected elements are
Is the vROPS version beta 4? What credentials are they (local/AD)? Have you tried a different account?
I tried a local service account ramping permissions up to Administrator, and then tried the local admin account, and then a domain account which has Administrator privileges. I can log in with these fine through the Web UI.
I don't know if it's beta 4, I assume that would be tied to it's package number? We're running VROPS 6.0.0.2263110.
Relatedly my account can't view any of the VROPS Beta forums, any idea how I get in?
Not sure on beta forums - integration should work though, I just tested with admin on vR Ops same build and it works (do not have AD setup). Is the test connection successful? You might need to look on the logs of vR Ops to see what is failing...
Any update on this?
We moved to version 2.5.0-2347850 of Log Insight and opened a support case 15581771901 on January 9th, waiting on engineering.