After upgrading an Aria Operations 8.18.x cluster to VCF Operations 9.x a previously working Network Share plugin fails to connect with an error in the UI similar to:
Test was not successful: network share plugin test failed
Reviewing the latest analytic-xxx.log in VCF Operations UI - Administration - Control Panel - Support Logs there may be an error similar to:
Network Share plugin test failed:[301] com.hierynomus.ntlm.NtlmException: com.hierynomus.security.SecurityException: java.lang.IllegalAccessException: class com.hierynomus.security.jce.JceMessageDigest cannot access class sun.security.provider.MD4 (in module java.base) because module java.base does not export sun.security.provider to unnamed module @2d65b854
The issue is caused by changes in Java between Aria Operations 8.18.x and VCF Operations 9.x.
A resolution is in progress and will be released in a future version, if affected please follow the workaround listed below.
vi /usr/lib/vmware-vcops/user/conf/analytics/wrapper.conf\ and search for the text wrapper.java.additional
enteri to insert the following line after the last wrapper.java.additional entry
wrapper.java.additional.80=--add-exports=java.base/sun.security.provider=ALL-UNNAMED:wq to save and exit the file.