get cluster status
as admin in the NSX Manager CLI, the cluster and all components appear up and stable.
ERROR http-nio-127.0.0.1-7440-exec-154 ClusterManagerUtil 4912 - [nsx@6876 comp="nsx-manager" errorCode="MP2101" level="ERROR" reqId="########" subcomp="manager" username="########"] Request GET http://localhost:7989/api/v1/cluster-manager/status HTTP/1.1 failed, return code is 400
ERROR http-nio-127.0.0.1-7440-exec-154 ClusterManagerUtil 4912 - [nsx@6876 comp="nsx-manager" errorCode="MP2121" level="ERROR" reqId="################" subcomp="manager" username="########"] Cluster status retrieved from cluster manager is empty
127.0.0.1 - - [{DATE/TIME}] "GET /api/v1/cluster-manager/status HTTP/1.1" 400 435
INFO | jvm 1 | {DATE/TIME} | INFO: Error parsing HTTP request header
INFO | jvm 1 | {DATE/TIME} | Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
INFO | jvm 1 | {DATE/TIME} | java.lang.IllegalArgumentException: Request header is too large INFO | jvm 1 |
VMware NSX 4.1.x
This issue is resolved in VMware NSX 4.2.0 available at Broadcom Downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround
Please make sure you have a backup in place before proceeding.
Repeat the below steps 1 to 4 on each manager node as root user.
1.
mkdir /root/jarFileBackup
cp /opt/vmware/cbm/cbm-app/libweb-server-cbm.jar /root/jarFileBackup/
ls -l /root/jarFileBackup/
2.
mkdir /root/jarFileUpdate
cp /opt/vmware/cbm/cbm-app/libweb-server-cbm.jar /root/jarFileUpdate/
cd /root/jarFileUpdate
unzip libweb-server-cbm.jar
max http header size
entry application.properties
is not present: cat application.properties
server.max-http-header-size=32KB
to the file application.properties with below echo command: echo "server.max-http-header-size=32KB" >> application.properties
cat application.properties
rm /opt/vmware/cbm/cbm-app/libweb-server-cbm.jar
zip -r libweb-server-cbm.jar *
cp libweb-server-cbm.jar /opt/vmware/cbm/cbm-app/
3.
/etc/init.d/nsx-cluster-boot-manager restart
NOTE: This step may incur some cluster downtime, due to the CBM service restarting, until the service is backup and cluster is healthy again.
4.
get cluster status
command.5. The VMware NSX UI should now show the Cluster information properly.