Sorting bits into bytes...

vRLI vROPs Integration problem

Today I ran into a somewhat funny problem. While trying to have vRLI send alerts to vROPs. I was unable to select the fall back object, which is a mandatory step. And thus without the ability to select an vROPs object I was stuck.

The funny part was that vROPs had no problem with the vRLI tab in vROPs. The object correlation worked fine. But still vRLI didn’t see any vROPs objects when trying to set the fall back object.

My first thoughts were to check the vROPs integration settings on vRLI side. And while trying to test the connection, an error popped up!

Okay now I have something to go on. Time to fire up Putty and SSH into vRLI.

But wait… which log file to tail?

I had no clue! So why not search the error in all the log files? 😊

But wait where are the log files stored?

/storage/var/loginsight/

So here is what I did:

root@vrli [ ~ ]# cd /storage/var/loginsight/

root@vrli [ /storage/var/loginsight ]# grep -Ril “host does not seem” *.log

Argh no hit! BTW if you are wonder what the Ril stands for, let me explain

R = recursive

i = ignore case

l = show file name

Okay so the error shown in the GUI is not logged that way. Back in the GUI I hit the “test” button while tailing all the log file.

root@vrli [ /storage/var/loginsight ]# tail -f *.log | grep vrops

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getVropsSuiteApiResources(VropsSuiteApiRequest.java:461)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.access$100(VropsSuiteApiRequest.java:50)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest$3.call(VropsSuiteApiRequest.java:218)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest$3.call(VropsSuiteApiRequest.java:215)

com.vmware.loginsight.vropssuite.VropsSuiteApiException: Exception fetching vROps resource name

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getNamedAdapterResources(VropsSuiteApiRequest.java:222)

        at com.vmware.loginsight.commons.vrops.VropsAdapterRestApi.getResources(VropsAdapterRestApi.java:406)

        at com.vmware.loginsight.commons.vrops.VropsAdapterRestApi.lookupResource(VropsAdapterRestApi.java:247)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getNamedAdapterResources(VropsSuiteApiRequest.java:213)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getResources(VropsSuiteApiRequest.java:407)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getVropsSuiteApiResources(VropsSuiteApiRequest.java:461)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.access$100(VropsSuiteApiRequest.java:50)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest$3.call(VropsSuiteApiRequest.java:218)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest$3.call(VropsSuiteApiRequest.java:215)

^C

Okay so now I got some more info to go on. Let find the logfile containing some of the output

root@vrli [ /storage/var/loginsight ]# grep -Ril “VropsSuiteApiRequest.java:222” *.log

ui_runtime.log

Let tail ui_runtime.log while hitting the test button in the GUI again:

root@vrli [ /storage/var/loginsight ]# tail -f ui_runtime.log

        at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:748)

Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.vmware.ops.api.client.exceptions.ClientSideException: Password Policy Violated. Reason: "Password expired: 14 day(s) ago. Password needs to be changed to proceed".

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2207)

        at com.google.common.cache.LocalCache.get(LocalCache.java:3953)

        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4790)

        at com.vmware.loginsight.vropssuite.VropsSuiteApiRequest.getNamedAdapterResources(VropsSuiteApiRequest.java:213)

Ah I got a hit! The error itself is quite funny! It looks like somebody didn’t rotate the password in time… I updated the password and the fall back object started to appear in vRLI.

Leave a Reply