NSX Data Center for vSphere plugin 6.4.10 and lower does not work with Virtual Center 7.0 U3
search cancel

NSX Data Center for vSphere plugin 6.4.10 and lower does not work with Virtual Center 7.0 U3

book

Article ID: 312650

calendar_today

Updated On:

Products

VMware NSX Networking VMware vCenter Server

Issue/Introduction

Symptoms:
  • Error “HTTP Status 500 – Internal Server Error" displayed on all NSX-V UI pages
  • Entries similar to the below will be scene in vsphere_client_virgo.log in vCenter

[2021-06-14T08:46:33.590Z] [WARN ] http-nio-5090-exec-38 o.s.w.s.mvc.method.annotation.ExceptionHandlerExceptionResolver Failure in @ExceptionHandler com.vmware.nsxv.html.mvc.controller.NGCManagementController#exceptionHandler(Exception) java.lang.NoSuchMethodError: org.springframework.http.MediaType.getCharSet()Ljava/nio/charset/Charset;
        at com.vmware.nsxv.html.json.mapper.NsxH5HttpMessageConverter.getJsonEncoding(NsxH5HttpMessageConverter.java:139)
        at com.vmware.nsxv.html.json.mapper.NsxH5HttpMessageConverter.writeInternal(NsxH5HttpMessageConverter.java:96)
        at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)


Environment

VMware NSX for vSphere 6.4.x
VMware vCenter Server 7.0.x

Resolution

This issue is resolved in VMware NSX for vSphere 6.4.11, available at VMware Downloads

Workaround:
To work around the issue, the Spring version of VC needs to be downgraded so that it can work with Plugins having older Spring versions.

Follow the below steps to make the necessary changes: 

1 Open /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json for editing

2 Edit this line: //“-DuseOldSpring=true” to become “-DuseOldSpring=true"

3 Restart h5 client service via these commands:
service-control --stop vsphere-ui
service-control --start vsphere-ui


Additional Information




Impact/Risks:
With the latest Virtual Center (70u3/7.0.3), NSX plugin having version 6.4.10 and lower won't work.