After upgrading the VNA from 21.2.12 to 22.2.1 the Swagger GUI is not available anymore.
Wildfly server on port 8080 is OK, but http://<host>:8080/vna/ returns http error.
Release : All VNA releases
Component : DX NetOps Virtual Network Assurance General
Possibly the mysql db got corrupted.
1. Stop wildfly:
service wildfly stop / systemctl stop wildfly
2. Move to
/<install directory>/CA/MySql/bin
3. Execute
./mysqlcheck --all-databases -p
and provide db password
4. If any of the items is marked as in the below example:
vna_vna1.inventory
Warning : InnoDB: The B-tree of index PRIMARY is corrupted.
error : Corrupt
5. Attempt an optimization:
./mysqlcheck -o vna_vna1 inventory
6. Verify all is OK by running step 2 again.
7. Start wildfly:
service wildfly start / systemctl start wildfly
GUI should be available by now.