11-23-2015 06:28 AM - edited 03-01-2019 04:53 AM
Hi,
Any idea , how to remove the Portgroup from the DVS switch in the ACI.
Basically i need to cleanup the Portgroups.
Thanks
Subash
Solved! Go to Solution.
11-30-2015 10:56 AM
Subash,
Verification on the CLI can be done using "show vlan extended" on the leafs. After you've removed the VMM domain association, the VLAN for that EPG should no longer be on the leaf. You can also verify on vCenter and the APIC GUI that the port group has been deleted.
The easiest way to remove the VMM domain association is via the GUI. In the next release for ACI the option for removing the association will be available from the APIC command line.
11-23-2015 06:33 AM
Hi Subash,
To remove the port group you just need to remove the VMM domain association under the EPG associated with that port group in ACI. This can be found under Tenants > Application Profiles > EPG > Domains.
Make sure to remove any VMs from the port group in vCenter before deleting.
-Leigh
11-23-2015 06:37 AM
Thanks Leigh...
Any Cli command is there for removing PG and verification as well.
11-30-2015 10:56 AM
Subash,
Verification on the CLI can be done using "show vlan extended" on the leafs. After you've removed the VMM domain association, the VLAN for that EPG should no longer be on the leaf. You can also verify on vCenter and the APIC GUI that the port group has been deleted.
The easiest way to remove the VMM domain association is via the GUI. In the next release for ACI the option for removing the association will be available from the APIC command line.
02-14-2017 02:43 AM
Hi Ipember
I have deleted it from EPG but it still can be seen in the vCenter and I am getting alerts in APIC that the portgroup is there but no attached to any EPG.
Refreshing inventory doesn't fix it - how can I get rid of the port-group?
02-14-2017 03:34 AM
Hi,
do you have VMs still connected to those port-groups. If so, I believe APIC cannot delete them from the DVS even if you remove the EPGs. That would explain the alerts.
Regards,
Nik
02-14-2017 03:39 AM
No, there is no VMs - it is a new build
02-14-2017 03:43 AM
Did you create all portgroups from APIC or did you use vCenter?
02-14-2017 04:00 AM
all those that I want to delete were created in APIC
02-14-2017 04:14 AM
Hmmm... I'm running out of ideas.
Can you provide the full Fault details?
02-14-2017 04:24 AM
02-14-2017 04:40 AM
That's strange!
I get the exact same error when I delete an EPG without first removing the VMs from the portgroup. You said the portgroup is clean so that should be fine.
Can you make sure teh VMM domain controller is in an online state (VM Networking > VMware > SESK-VDS-VMM > Controllers? Maybe you have connectivity issues between APIC and vCenter but then again how would APIC know which portgroups exist and which not...
You can also go further down the path and figure out if the Portgroups folder reveals any mysterious information.
I think a quick and dirty workaround would be deleting the portgroups from the DVS via vCenter but I get that this is not really a solution...
02-14-2017 05:18 AM
Are you using a custom username? or the default admin?
i wonder if you don't have the ability to delete and the API call from the APIC fails.
02-14-2017 05:26 AM
We have a custom name as vCenter login... I think I will ask the server people to delete those port-groups and see what happens. Maybe it is some sort of permission error but then why did it let me add them if they can't be deleted
02-14-2017 06:39 AM
i agree its strange that it was created but not deleted
here is some info on the privileges required for VMM integration. i suggest you open a case with TAC to look into this issue or a case with vmware to take a look at the logs and see if the APIC call was received to delete the port groups.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: