Network share plugin outbound instance configuration fails in VCF Operations with 'Test was not successful: network share plugin test failed'.
search cancel

Network share plugin outbound instance configuration fails in VCF Operations with 'Test was not successful: network share plugin test failed'.

book

Article ID: 412738

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

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

Environment

  • VCF Operations 9.0.0.0
  • VCF Operations 9.0.1.0

Cause

The issue is caused by changes in Java between Aria Operations 8.18.x and VCF Operations 9.x.

Resolution

A resolution is in progress and will be released in a future version, if affected please follow the workaround listed below.

  1. ssh to the primary node using the root account
  2. vi /usr/lib/vmware-vcops/user/conf/analytics/wrapper.conf
  3. Type a \ and search for the text wrapper.java.additional
    1. \wrapper.java.additional
    2. Hit enter
  4. Type an i to insert the following line after the last wrapper.java.additional entry
    1. wrapper.java.additional.80=--add-exports=java.base/sun.security.provider=ALL-UNNAMED
  5. Type :wq to save and exit the file.
  6. Repeat steps 2 to 5 on the replica and data nodes if any exist.
  7. Restart the analytics service on all the nodes.
    1. /etc/init.d/vmware-vcops restart analytics