VMware Cloud Community
AlexAllenExpedi
Enthusiast
Enthusiast
Jump to solution

config.defaultPortConfig.vlan.vlanId returns 0

vCenter Version: 5.5.0,1476327

vCO Version: 5.5.1

vCenter Plugin: 5.5.1.1614908

When creating a simple workflow to retrieve the VLAN ID from a distributed virtual port group always returns a 0.

portGroup = [input value of type VC:DistributedVirtualPortgroup]

System.log(portGroup.config.defaultPortConfig.vlan.vlanId);

0

This behavior was not present in previous 5.5 releases.

Thoughts, workarounds?

~Alex Allen C.

0 Kudos
1 Solution

Accepted Solutions
igaydajiev
VMware Employee
VMware Employee
Jump to solution

Try disabling disable the use of inventory service in vCO by adding the following line to vmo.properties

com.vmware.o11n.vim.useInventoryService=false

View solution in original post

0 Kudos
3 Replies
igaydajiev
VMware Employee
VMware Employee
Jump to solution

Try disabling disable the use of inventory service in vCO by adding the following line to vmo.properties

com.vmware.o11n.vim.useInventoryService=false

0 Kudos
AlexAllenExpedi
Enthusiast
Enthusiast
Jump to solution

Thank you, this is now working again.


Can you please provide any additional information as to what side effects disabling this might have?


Is the inventory service broken? is there a misconfiguration or a remediation step that must be done?

~Alex

0 Kudos
igaydajiev
VMware Employee
VMware Employee
Jump to solution

vCenter plugin collects data using two different methods one is property collector and the other is Inventory service.

Unfortunately Inventory Service does not provide real time updates for certain properties and issues like above can be experienced.

Using the Inventory Service was targeting to improve the performance but unfortunately but at the price that some data might not be real time.

There should be no functional implications if this flag is set to false.

0 Kudos