VMware Cloud Community
mag2sub
Contributor
Contributor

vRO 7 ipam integration workflow error

All the necessary prereq has been done on vRO 7 , vRA 7 , IPAM side  plugin 3.2.1..when kicking off a blueprint with proper property group

Workflow "create vm in range" errors out with vCAC entity error .."at lest one entity should be created for selection...dynamic script model name : validate vcacinput#5"

Any idea how to trouble shoot this ? or see what is causing this error

Appreciate inputs ...newbie here!

Thanks

Tags (2)
0 Kudos
3 Replies
gkostova
VMware Employee
VMware Employee

Hello,

Could you provide some more information on this - screenshot with the workflow failure, some vro logs located here /var/log/vco/app-server/server.log?

Regards,

Galina

0 Kudos
mag2sub
Contributor
Contributor

Worklow errors with....appreciate inputs

403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)...

016-03-25 16:21:45.901+0000 : INFO : Workflow 'Reserve an IP in network for VM' has started : Workflow 'Reserve an IP in network for VM' has started

2016-03-25 16:21:47.507+0000 : ERROR : 403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)

2016-03-25 16:21:47.586+0000 : ERROR : Workflow 'Reserve an IP in network for VM' has failed : 403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)



which is seen in logs below

2016-03-25 06:24:12.440+0000 [WorkflowExecutorPool-Thread-256] WARN {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [WorkflowItemTaskRunner] Script execution error on workflow : Reserve an

IP in network for VM / 'getTenantNameFromVCACHost'(item3) : 403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)

------------------------------------------Snippet of logs------------------------------------------------------------------------------------------------------------------------------------------------

2016-03-25 06:24:11.442+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM (3/25/16 06:24:10)]

vCAC properties were retrieved successfully.

 

2016-03-25 06:24:11.456+0000 [WorkflowExecutorPool-Thread-256] INFO  {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [DynamicFunction] End of action

'com.infoblox.ipam.vcac.util/validateVcacInput', completed for: 3ms

 

2016-03-25 06:24:11.513+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [InfobloxIpamAdapter] InfobloxIpamAdapter:createPluginFactory(): Enter

  1. createPluginFactory...

 

2016-03-25 06:24:11.513+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [InfobloxIpamAdapter] InfobloxIpamAdapter:createPluginFactory(): factor

= com.infoblox.ipam.InfobloxIpamFactory@15127558

 

2016-03-25 06:24:11.513+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [InfobloxIpamFactory] findAll: IpamConnection, null

 

2016-03-25 06:24:11.515+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get IPAM connection/

{com.infoblox.ipam/getIpamConnections} (3/25/16 06:24:10)] Infoblox IPAM connections were found:

                ipam.xyz.com/CLOUD_API, priority=1

 

2016-03-25 06:24:11.515+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [DynamicFunction] End of action 'com.infoblox.ipam/getIpamConnections',

completed for: 5ms

 

2016-03-25 06:24:11.592+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get IPAM connection

(3/25/16 06:24:10)] Checking connectivity with the IPAM host: ipam.xyz.com/CLOUD_API...

 

2016-03-25 06:24:11.695+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get IPAM connection

(3/25/16 06:24:10)] Connection with the IPAM host was established successfully: ipam.xyz.com/CLOUD_API

 

2016-03-25 06:24:11.725+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get IPAM connection

(3/25/16 06:24:10)] Got IPAM connection: ipam.xyz.com/CLOUD_API

 

2016-03-25 06:24:11.752+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [InfobloxIpamFactory] find: IpamConnection, ipam.xyz.com

 

2016-03-25 06:24:11.763+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM (3/25/16 06:24:10)]

Cloud extensible attributes are required.

 

2016-03-25 06:24:11.771+0000 [WorkflowExecutorPool-Thread-256] INFO  {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [InfobloxIpamFactory] find: IpamConnection, ipam.xyz.com

 

2016-03-25 06:24:11.887+0000 [WorkflowExecutorPool-Thread-256] WARN {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [HttpMethodBase] Going to buffer response body of large or unknown size.

Using getResponseBodyAsStream instead is recommended.

 

2016-03-25 06:24:11.893+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [IpamConnection] Extensible attribute definitions were reloaded from

  1. NIOS.

 

2016-03-25 06:24:11.932+0000 [WorkflowExecutorPool-Thread-256] WARN {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [VCACHostManager] Will not create a default host, as there seems to be

one already created with name [Default] tenant [vsphere.local] sessionMode [Per User Session]

 

2016-03-25 06:24:11.936+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get Tenant properties/

{com.infoblox.ipam.vcac/getDefaultVCACHost} (3/25/16 06:24:10)] The vCACCAFE host for default tenant: Default.

 

2016-03-25 06:24:11.937+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [DynamicFunction] End of action

'com.infoblox.ipam.vcac/getDefaultVCACHost', completed for: 15ms

 

2016-03-25 06:24:12.179+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM/Get Tenant properties/

{com.infoblox.ipam.vcac/getTenantIdFromVmReservation} (3/25/16 06:24:10)] Got the tenant ID [sditenant] of the vCAC VM with name [Xyz-29].

 

2016-03-25 06:24:12.180+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [DynamicFunction] End of action

'com.infoblox.ipam.vcac/getTenantIdFromVmReservation', completed for: 194ms

 

2016-03-25 06:24:12.440+0000 [WorkflowExecutorPool-Thread-256] INFO {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [DynamicFunction] End of action

'com.infoblox.ipam.vcac/getTenantNameFromVCACHost', completed for: 235ms

 

2016-03-25 06:24:12.440+0000 [WorkflowExecutorPool-Thread-256] WARN {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [WorkflowItemTaskRunner] Script execution error on workflow : Reserve an

IP in network for VM / 'getTenantNameFromVCACHost'(item3) : 403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)

 

2016-03-25 06:24:12.465+0000 [WorkflowExecutorPool-Thread-256] ERROR {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] [Reserve an IP in network for VM (3/25/16 06:24:10)] 403

Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)

 

2016-03-25 06:24:12.500+0000 [WorkflowExecutorPool-Thread-256] ERROR {Administrator@xyz.com:Reserve an IP in network for VM:d7f6ebb1-3a34-4e02-ac4e-

f5a9c369c92b:token=2c91858653a3d6be0153ac71c33c07c1:anctoken=2c91858653a3d6be0153ac71b50507b2} [SCRIPTING_LOG] Workfow execution stack:

***

item: 'Reserve an IP in network for VM/item11', state: 'failed', business state: 'null', exception: '403 Forbidden (Dynamic Script Module name :

getTenantNameFromVCACHost#4)'

workflow: 'Reserve an IP in network for VM' (d7f6ebb1-3a34-4e02-ac4e-f5a9c369c92b)

|  'attribute': name=attrErrorMessage type=string value=403 Forbidden (Dynamic Script Module name : getTenantNameFromVCACHost#4)

|  'attribute': name=attrIpamPrefix type=string value=Infoblox.IPAM

|  'attribute': name=attrVmId type=string value=eba70c08-1e20-424a-9aae-d97607cdc83e

|  'attribute': name=attrVmName type=string value=Xyz-29

|  'attribute': name=attrVnicNumber type=number value=1.0

|  'attribute': name=attrCreateHostRecord type=boolean value=true

|  'attribute': name=attrCreateAddressRecord type=boolean value=false

|  'attribute': name=attrCreateAddressAndPtrRecords type=boolean value=false

|  'attribute': name=attrCreateFixedAddress type=boolean value=false

|  'attribute': name=attrCreateReservation type=boolean value=false

|  'attribute': name=attrRestartIfNeeded type=boolean value=false

|  'attribute': name=attrIpamConnection type=InfobloxIPAM:IpamConnection value=dunes://service.dunes.ch/CustomSDKObject?

id='ipam.xyz.com'&dunesName='InfobloxIPAM:IpamConnection'

|  'attribute': name=attrVmIdEaDefinition type=InfobloxIPAM:IpamExtensibleAttributeDefinition value=dunes://service.dunes.ch/CustomSDKObject?id='ipam.xyz.com-VM

%20ID-STRING'&dunesName='InfobloxIPAM:IpamExtensibleAttributeDefinition'

|  'attribute': name=attrVmNameEaDefinition type=InfobloxIPAM:IpamExtensibleAttributeDefinition value=dunes://service.dunes.ch/CustomSDKObject?id='ipam.xyz.com-VM

%20Name-STRING'&dunesName='InfobloxIPAM:IpamExtensibleAttributeDefinition'

|  'attribute': name=attrTenantIdEaDefinition type=InfobloxIPAM:IpamExtensibleAttributeDefinition value=dunes://service.dunes.ch/CustomSDKObject?id='ipam.xyz.com-

Tenant%20ID-STRING'&dunesName='InfobloxIPAM:IpamExtensibleAttributeDefinition'

|  'attribute': name=attrTenantId type=string value=null

|  'attribute': name=attrTenantName type=string value=null

|  'attribute': name=attrVnicIndex type=number value=0.0

|  'input': name=vCACVm type=vCAC:VirtualMachine value=dunes://service.dunes.ch/CustomSDKObject?id='31bc8c6e-b606-472b-abb8-9a97540bc932/eba70c08-1e20-424a-9aae-

d97607cdc83e'&dunesName='vCAC:VirtualMachine'

|  'input': name=vCenterVm type=VC:VirtualMachine value=null

|  'input': name=virtualMachineEntity type=vCAC:Entity value=dunes://service.dunes.ch/CustomSDKObject?id='%2528guid%2527eba70c08-1e20-424a-9aae-d97607cdc83e

%2527%2529%254031bc8c6e-b606-472b-abb8-9a97540bc932%2540ManagementModelEntities.svc%2540VirtualMachines'&dunesName='vCAC:Entity'

|  'input': name=vCACHost type=vCAC:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='31bc8c6e-b606-472b-abb8-9a97540bc932'&dunesName='vCAC:VCACHost'

|  'input': name=externalWFStub type=string value=ExternalWFStubs.BuildingMachine

|  'input': name=vCACVmProperties type=Properties value=#[#Infoblox.IPAM.vmName#=#string##+#VirtualMachine.Cafe.Blueprint.Id#=#string#Windows#

+#Infoblox.IPAM.Network0.dhcpOptions.primaryWins#=#string##+#Infoblox.IPAM.Network0.searchEa1Name#=#string##+#__InterfaceType#=#string#vSphere#

+#Infoblox.IPAM.Network0.searchEa1Comparison#=#string##+#__VirtualMachine.Allocation.InitialMachineState#=#string#SubmittingRequest#

+#ExternalWFStubs.MachineDisposing#=#string#75480f46-937d-488c-852d-cafe52077095#

+#VirtualMachine.Cafe.Blueprint.Component.TypeId#=#string#Infrastructure.CatalogItem.Machine.Virtual.vSphere#+#__api.request.id#=#string#65031472-e558-4d47-919f-

4fd8fe4fd4ad#+#VirtualMachine.Disk0.Size#=#string#60#+#Infoblox.IPAM.Network0.dhcpOptions.secondaryDns#=#string##+#Infoblox.IPAM.vNicNumber#=#string#1#

0 Kudos
mag2sub
Contributor
Contributor

We moved on with the workflow but are stuck with the attached errors persistently...thanks!

0 Kudos