Problem
Unable to delete a child org that does not have a parent org, using Versa Director GUI.
Solution
In a scenario where a child Organization is no longer associated with a parent Organization and UI is not successful in deleting the child Organization, CLI steps can be used as a workaround to delete the Organization.
Follow these CLI steps to delete a child org that is not associated with a parent org.
- Run the show nms provider organizations organization CLI command to find the UUID of the SubOrg that you want to delete.
VD-Config-Mode% show nms provider organizations organization
- Run the set nms provider organizations organization <SubOrgName> parent-org <ParentOrgName> CLI command to associate a Parent Org with the Sub Org that you want to delete.
VD-Config-Mode% set nms provider organizations organization d2d21ed5-f1ca-44aa-b049-48d842a3847f parent-org <ParentOrgName>
- Run the set nms provider organizations organization <SubOrgName> left 8 right 9 depth 2 CLI command to specify the right, left and depth values for the SubOrg that you want to delete. This is required to indicate where this Org stands in the Org Tree structure.
set nms provider organizations organization d2d21ed5-f1ca-44aa-b049-48d842a3847f left 8 right 9 depth 2
GUI Behavior