Hi,
ManagedObjectReference t = VIM_PORT.installHostPatchV2_Task(patchManager, null, null, vibUrl, null);
TaskInfoState tis = null;
do {
TaskInfo ti = (TaskInfo) getManagedObjectProperty(t, "info");
tis = ti.getState();
try {
Thread.currentThread().sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
LOG something
}
}
while(tis != TaskInfoState.success);
v.setInstallSuccessful(true);
In the above code snippet I find that TaskInfoState is sucess with no exception thrown.
But when I check on my esx host, vib didnt install.
Can you please suggest how I can check vib's installation status ?
I am using esx5.0 ivisor host
Thanks.