Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

NSX Security Groups or Security Policy page reports the status "In Progress" for extended period of time (54141)

Last Updated: 6/7/2018Categories: TroubleshootingTotal Views: 3014Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

After deleting an Active Directory Group, if that Active Directory group was part of a NSX Security Group or Security Policy for firewall rules, the Security Policies page may show a constant status of "In Progress."

In addition, firewall rules based on Security Groups may no longer function or firewall rule changes may no longer be published.

Cause

This issue occurs when an Active Directory group that is used to dynamically populate an NSX Security Group is deleted without the Security Group being modified, NSX may get into a situation where the firewall rules are not published and therefore no longer provide the protections and access intended.

To verify if a Security Group is still pointing to an AD group that no longer exists:

Connect to the NSX Manager through SSH and log in with admin credentials.

Type "en" and re-enter the admin password when prompted.

Type "st en" and follow the prompts, entering the Engineering Mode password. For more information, see Tech Support Access in NSX for vSphere 6.x (2149630).

Type "psql -U secureall" and press Enter.

At the psql prompt type the below query.  All on a single line, ensure the semi-colon is at the end:

select dtype, objectid, name, objecttype, source_id, source_type, target_id, target_type, relationship from domain_object join domain_object_relationships on domain_object_relationships.source_id = domain_object.objectid where domain_object.dtype = 'SecurityGroup' and domain_object_relationships.target_type = 'DirectoryGroup' and target_id in (select objectid from domain_object where objectid not in (select objectid from ai_group_do) and domain_object.dtype = 'DirectoryGroup');

You will retrieve results similar to:

dtype     |     objectid     |       name       |  objecttype   |    source_id     |  source_type  |      target_id      |  target_type   |           relationship
---------------+------------------+------------------+---------------+------------------+---------------+---------------------+----------------+-------------------------
SecurityGroup | securitygroup-39 | SecurityGroup_Name | SecurityGroup | securitygroup-39 | SecurityGroup | directory_group-360 | DirectoryGroup | securitygroup_membership_include

Note: These results are a list of all NSX Security Groups associated with Active Directory groups that no longer exist. Record all items in the column: target_id. You will use this information in the next query.

Resolution

To resolve this issue:

Backup the NSX Manager information. For more information, see the Back Up NSX Manager Data section of the NSX Upgrade Guide.

With the information gathered in Step 5 above, create the below query. If you have more than one target_id, you will have to run this command once for each target_id found in Step 5:

delete from domain_object where objectid = '<target_id>';

For example:

delete from domain_object where objectid = 'directory_group-360';

Restart the NSX Manager.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware NSX for vSphere

Related Versions:

VMware NSX for vSphere 6.4.x

VMware NSX for vSphere 6.3.x

VMware NSX for vSphere 6.2.x

Take Our Survey

Support Assistant