10-18-2016 06:46 AM - edited 03-01-2019 05:04 AM
I am trying to use vRA to deploy new EPG's on a VMM domain using AVS.
I have created the 2 handles (admin and tenant user) to allow vRA to deploy and I can successfully create BD's within the tenant.
The problem I have is when I try to deploy shared and VPC networks. The workflow shows the following error:
[2016-10-18 14:17:23.372] [I] Calling - Add Tenant Shared network
[2016-10-18 14:17:23.376] [I] Tenant: Cloud9
[2016-10-18 14:17:23.379] [I] Network/EPG: d
[2016-10-18 14:17:23.382] [I] Domain: AVS
[2016-10-18 14:17:23.383] [I] Vmm Domain ? true
[2016-10-18 14:17:23.384] [I] Default BD ? true
[2016-10-18 14:17:23.385] [I] Enacp Mode: Auto
[2016-10-18 14:17:23.387] [I] Tenant handles: 1
[2016-10-18 14:17:23.388] [I] @@@ Processing Apic-handle[0] Name: 10.x.x.101, 10.x.x.102, 10.x.x.103 Brian ExperianPoC
[2016-10-18 14:17:23.426] [I] Add tenant shared network failed network: d
[2016-10-18 14:17:23.427] [E] Error in (Workflow:Add Tenant Network - Shared Plan / Scriptable task (item1)#88) Error: Add Tenant shared network failed, Error code: 0 Error desc: Domain : AVS does not exist, please provide valid Domain name
[2016-10-18 14:17:23.438] [E] Workflow execution stack:
***
item: 'Add Tenant Network - Shared Plan/item1', state: 'failed', business state: 'null', exception: 'Error: Add Tenant shared network failed, Error code: 0 Error desc: Domain : AVS does not exist, please provide valid Domain name (Workflow:Add Tenant Network - Shared Plan / Scriptable task (item1)#88)'
workflow: 'Add Tenant Network - Shared Plan' (44c6cb03-e5e5-4b99-af74-1c8e9cbd28f8)
| 'attribute': name=validTierNumber type=boolean value=true
| 'input': name=tenant type=string value=Cloud9
| 'input': name=network type=string value=d
| 'input': name=domType type=string value=VmmDomain (Dynamic Binding)
| 'input': name=dom type=APIC:hvsLNode value=dunes://service.dunes.ch/CustomSDKObject?id='ExperianPoC2:comp/prov-VMware/ctrlr-%5BAVS%5D-vc/sw-dvs-522'&dunesName='APIC:hvsLNode'
| 'input': name=tierNum type=number value=1
| 'input': name=intraEpgDeny type=boolean value=false
| 'input': name=allowUseg type=boolean value=false
| 'input': name=defaultBdFlag type=boolean value=true
| 'input': name=customBd type=APIC:fvBD value=null
| 'input': name=encapMode type=string value=Auto
| 'output': name=epgObjects type=Array/APIC:fvAEPg value=null
*** End of execution stack.
Any ideas?
10-18-2016 06:55 AM
Hey Ben,
Are you sure the VMM Domain called "AVS" already exists?
Robert
10-18-2016 07:26 AM
10-18-2016 08:30 AM
Thanks Ben. What's the fault showing on your AVS domain?
Robert
10-19-2016 02:50 AM
12-02-2016 01:47 AM
Hi Ben,
Is this issue resolved?
10-19-2016 04:47 AM
To resolve this issue I had to assign the Tenant "Cloud9" to the security domain of the AVS in APIC.
After adding the tenants security domain to the AVS I am able to select the AVS from the Cloud9 handle and not from the admin handle. The problem now seems to have changed and now its complaining about an unknown attribute :
[2016-10-19 11:14:39.049] [I] Calling - Add Tenant Shared network
[2016-10-19 11:14:39.051] [I] Tenant: Cloud9
[2016-10-19 11:14:39.052] [I] Network/EPG: ben
[2016-10-19 11:14:39.053] [I] Domain: ACI
[2016-10-19 11:14:39.054] [I] Vmm Domain ? true
[2016-10-19 11:14:39.055] [I] Default BD ? true
[2016-10-19 11:14:39.056] [I] Enacp Mode: Auto
[2016-10-19 11:14:39.057] [I] Tenant handles: 1
[2016-10-19 11:14:39.058] [I] @@@ Processing Apic-handle[0] Name: 10.221.108.101, 10.221.108.102, 10.221.108.103 Brian ExperianPoC
[2016-10-19 11:14:39.393] [I] Add tenant shared network failed network: ben
[2016-10-19 11:14:39.394] [E] Error in (Workflow:Add Tenant Network - Shared Plan / Scriptable task (item1)#88) Error: Add Tenant shared network failed, Error code: 400 Error desc: unknown attribute 'encapMode' in element 'fvRsDomAtt'
[2016-10-19 11:14:39.401] [E] Workflow execution stack:
***
item: 'Add Tenant Network - Shared Plan/item1', state: 'failed', business state: 'null', exception: 'Error: Add Tenant shared network failed, Error code: 400 Error desc: unknown attribute 'encapMode' in element 'fvRsDomAtt' (Workflow:Add Tenant Network - Shared Plan / Scriptable task (item1)#88)'
workflow: 'Add Tenant Network - Shared Plan' (44c6cb03-e5e5-4b99-af74-1c8e9cbd28f8)
| 'attribute': name=validTierNumber type=boolean value=true
| 'input': name=tenant type=string value=Cloud9
| 'input': name=network type=string value=ben
| 'input': name=domType type=string value=VmmDomain (Dynamic Binding)
| 'input': name=dom type=APIC:hvsLNode value=dunes://service.dunes.ch/CustomSDKObject?id='ExperianPoC:comp/prov-VMware/ctrlr-%5BACI%5D-V_server/sw-dvs-587'&dunesName='APIC:hvsLNode'
| 'input': name=tierNum type=number value=1
| 'input': name=intraEpgDeny type=boolean value=false
| 'input': name=allowUseg type=boolean value=false
| 'input': name=defaultBdFlag type=boolean value=true
| 'input': name=customBd type=APIC:fvBD value=null
| 'input': name=encapMode type=string value=Auto
| 'output': name=epgObjects type=Array/APIC:fvAEPg value=null
*** End of execution stack.
I followed the virtualization guidelines shown below, as you can see the encapMode field is only applicable if the AVS is enabled to local switching
I have left this as default (AUTO).
Thanks
Ben
10-19-2016 06:03 AM
Ben,
Change your input for encapMode to "auto" (lowercase). The object properties are case sensitive.
Robert
10-19-2016 06:48 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide