VMware Cloud Community
qc4vmware
Virtuoso
Virtuoso
Jump to solution

vCD plugin not refreshing inventory

I am currently doing some testing with the VMware Service Manager product which can call orchestrator workflows.  I am trying to do a lookup of the newly created vApp and it doesn't show up in the inventory.  I can see it in vSphere with the correct ID but if I try to locate it via a Orchestrator workflow the inventory item doesn't show up.  If I restart the orchestrator service then the inventory seems to get updated.  Any clue on why this is occuring?

Paul

0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Hi Paul,

This is occuring because the change was not initiated from vCO and because the vCD API does not have a notification mechanism to let vCO know a change happened. To force the refresh in the vCO inventrory you will have to use the updateInternalState() method on the changed object or parent object.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

0 Kudos
2 Replies
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Hi Paul,

This is occuring because the change was not initiated from vCO and because the vCD API does not have a notification mechanism to let vCO know a change happened. To force the refresh in the vCO inventrory you will have to use the updateInternalState() method on the changed object or parent object.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
qc4vmware
Virtuoso
Virtuoso
Jump to solution

That did the trick!  Thanks so much!  I am learning vCO by leaps and bounds these days.

0 Kudos