Reading Time: 5 minutes

Following a recent upgrade of VMware NSX Data Centre for vSphere from 6.4.1 to 6.4.4, the option to access NSX’s Networking and Security extension from within the vSphere Client (HTML 5) had simply disappeared. This left me scratching my head a little, more so as I’ve completed this upgrade (what seems) a million times.

Scenario-wise, I had completed the initial NSX Manager upgrade, but after logging in to the vSphere Client, I noted the Networking and Security extension failed to display.

Networking and Security Extension Missing After VMware NSX Upgrade

Troubleshooting Check 1

First of all, let’s take a look at the NSX Manager. Both the Lookup Service URL and the vCenter Server connections show successfully connected. So, no issue there.

Networking and Security Extension Missing After VMware NSX Upgrade

Troubleshooting Check 2

Digging a little deeper and browsing to the vSphere Managed Object Browser, I could see the com.vmware.vShieldManager extension is present, however, the com.vmware.nsx.ui.h5 extension is missing.

Networking and Security Extension Missing After VMware NSX Upgrade

Troubleshooting Check 3

Lastly, let’s check to see what packages are stored in the /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/ directory, as I’d like to identify whether any legacy versions of the package are hanging around, potentially causing a conflict or issue post-upgrade. For this, simply SSH to your vCenter Server, enter Shell, change directory, and list the directory contents.

From the below screenshot you will note multiple versions of both NSX and vShieldManager packages. This will need a little clean-up.

Networking and Security Extension Missing After VMware NSX Upgrade

Issue Summary

During the upgrade procedure, I can only surmise that the registration of the NSX extension with our vCenter Server failed, potentially due to the multiple legacy packages. For my own sanity, I will clear these before I begin working to re-register the NSX extension with our vCenter Server Appliance.

Below, I detail the steps needed to clear these legacy packages and re-register the extension. At time of writing, this is not something documented by VMware, so please do NOT consider this procedure as supported by VMware. Please contact VMware GSS in the first instance.

The environment in question is running vCenter Server 6.7 Update 1 (vCenter Server Appliance) and VMware NSX Data Centre for vSphere 6.4.4.

Post Upgrade Cleanup

1. SSH to your vCenter Server Appliance, enter Shell, and stop both HTML 5 and Flex clients.

Command> shell
Shell access is granted to root
root@VCSAV01 [ ~ ]# service-control --stop vsphere-ui
root@VCSAV01 [ ~ ]# service-control --stop vsphere-client

2. Purge all NSX and vShieldManager extensions from the directories detailed below. This can be done by browsing to each directory (cd), listing the contents (ls) for review, and by removing (rm -r package-name) each package relating to either NSX or vShieldManager.

/etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/

root@VCSAV01 [ ~ ]# cd /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/

root@VCSAV01 [ /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity ]# ls
com.vmware.nsx.ui.h5-6.4.2.9643711    com.vmware.vsan.health-6.7.0.20000
com.vmware.nsx.ui.h5-6.4.3.9927516    com.vmware.vShieldManager-6.4.2.9643711
com.vmware.nsx.ui.h5-6.4.4.11197766   com.vmware.vShieldManager-6.4.3.9927516
com.vmware.vrops.install-6.7.0.14000  com.vmware.vShieldManager-6.4.4.11197766
com.vmware.vrops.install-6.7.0.20000  com.vmware.vsphere.client.h5vsan-6.7.0.14000
com.vmware.vsan.health-6.7.0.14000    com.vmware.vsphere.client.h5vsan-6.7.0.20000

root@VCSAV01 [ /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity ]# rm -r com.vmware.nsx.ui.h5-6.4.1.8599035
root@VCSAV01 [ /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity ]# rm -r com.vmware.vShieldManager-6.4.2.9643711
root@VCSAV01 [ /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity ]# rm -r com.vmware.vShieldManager-6.4.3.9927516
root@VCSAV01 [ /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity ]# rm -r com.vmware.vShieldManager-6.4.4.11197766
Networking and Security Extension Missing After VMware NSX Upgrade
Browse and view contents of the vSphere Web Client (Flex) directory.

/etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/

root@VCSAV01 [ ~ ]# cd /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/

root@VCSAV01 [ /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity ]# ls
com.vmware.vrops.install-6.7.0.20000  com.vmware.vShieldManager-6.4.4.11197766
com.vmware.vsan.health-6.7.0.20000    com.vmware.vsphere.client.h5vsan-6.7.0.20000

root@VCSAV01 [ /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity ]# rm -r com.vmware.vShieldManager-6.4.4.11197766
Networking and Security Extension Missing After VMware NSX Upgrade
Browse and view contents of the vSphere UI (HTML 5) directory.

3. Start both HTML 5 and Flex clients.

root@VCSAV01 [ ~ ]# service-control --start vsphere-ui
root@VCSAV01 [ ~ ]# service-control --start vsphere-client

Extension Re-Registration

1. Login to the NSX Manager appliance and click Manage vCenter Registration.

Networking and Security Extension Missing After VMware NSX Upgrade

2. Under the vCenter Server section, click Edit.Networking and Security Extension Missing After VMware NSX Upgrade

3. Enter an incorrect password and click OK. This will cause the process to error.

Networking and Security Extension Missing After VMware NSX Upgrade

4. This time, enter the correct password and click OK. Once complete, confirm Status is ‘Connected’.

Networking and Security Extension Missing After VMware NSX Upgrade

5. Under the Lookup Service URL section, click Unconfigure.

Networking and Security Extension Missing After VMware NSX Upgrade

6. Under the Lookup Service URL section, click Edit.

Networking and Security Extension Missing After VMware NSX Upgrade

7. Configure the Lookup Service URL and click OK. When prompted, accept the certificate thumbprint.

Networking and Security Extension Missing After VMware NSX Upgrade

8. Once complete, confirm Status is ‘Connected’.

Networking and Security Extension Missing After VMware NSX Upgrade

9. Browse to the Managed Object Explorer once more, refresh the extension list, and confirm both com.vmware.nsx.ui.h5 and com.vmware.vShieldManager extensions are now present.

Networking and Security Extension Missing After VMware NSX Upgrade

10. Confirm the version of each extension is correct in relation to your version of VMware NSX Data Centre for vSphere.

Networking and Security Extension Missing After VMware NSX Upgrade
The com.vmware.nsx.ui.h5 extension displaying the correct version.
Networking and Security Extension Missing After VMware NSX Upgrade
The com.vmware.vShieldManager extension displaying the correct version.

11. Lastly, clear your browser’s cache, login to the vSphere Client, and confirm access to Networking and Security has been restored.

Networking and Security Extension Missing After VMware NSX Upgrade
Access to Networking and Security restored.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.