VMware Cloud Community
awjudge
Hot Shot
Hot Shot
Jump to solution

vCO Bug - Maintenance mode?

Hi,

I'm finding that the "Exit Maintenance Mode" workflow element isn't working. If I place a host into maintenance mode (clearly working, from vSphere client) and then try running the workflow, it doesn't see the host as being in maintenance mode.

I've tried writing my own scriptable task:

var ConnectionState = host.runtime.inMaintenanceMode;

System.log(ConnectionState);

[2014-09-02 09:45:14.393] [I] false

The result of this is always False.

Any ideas?

0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

This may be caused by the usage of inventory service. Try to disable it by adding the following line to the vCO file vmo.properties

 

  com.vmware.o11n.vim.useInventoryService=false

View solution in original post

0 Kudos
4 Replies
AntLeguy
Enthusiast
Enthusiast
Jump to solution

Hello,

I had the exact same issue for a long time, but when I wanted to show this behaviour to a colleague of mine, it started to work correctly, and I have absolutely no idea how it corrected itself (or what I did without knowing), please tell me if you find any reason.

0 Kudos
iiliev
VMware Employee
VMware Employee
Jump to solution

This may be caused by the usage of inventory service. Try to disable it by adding the following line to the vCO file vmo.properties

 

  com.vmware.o11n.vim.useInventoryService=false

0 Kudos
AntLeguy
Enthusiast
Enthusiast
Jump to solution

Hello,

Now that you mention it, that's indeed something I did, I had to turn it off because of other problems related to outdated statistics (vCO gets outdated statistics from vCenter)

So that could be what resolved both of my problems.

awjudge please let us know if you have the same behavior.

Thanks,

awjudge
Hot Shot
Hot Shot
Jump to solution

Thanks! Sorted. It was indeed the inventory service issue.

0 Kudos