Views:

Summary

Agentless job is failing with error: "SNBSVH_658E Task 1 encountered error. Error message There has been some problem while running this task, reason (com.vmware.vim25.HostConfigFaultFaultMsg: Cannot change the host configuration.)"

 

 

Symptoms

The job log is showing the error:

ssrmi Tue Sep 24 11:49:05 2019 SNBVRE_097W  Performing rollback due to one or more errors.
sssvh Tue Sep 24 11:49:21 2019 SNBSVH_658E  Task 1 encountered error. Error message  There has been some problem while running this task, reason (com.vmware.vim25.HostConfigFaultFaultMsg: Cannot change the host configuration.)


RMIserver log shows the exception from the VMware API:

Tue Sep 24 11:49:05 2019; TGID(1569339807), TID(1); SNBVRE_001Y There has been some problem while running this task, reason (com.vmware.vim25.HostConfigFaultFaultMsg: Cannot change the host configuration.)
com.vmware.vim25.HostConfigFaultFaultMsg: Cannot change the host configuration.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:135)

 

 

 

Resolution

This is a VMware related issue because of MTU mismatch between the vmkernel and the vSwitch, explained in the VMware KB article: https://kb.vmware.com/s/article/2151431

Specifically:

 

 

To resolve this issue, change the current MTU value to 1500.

To change the size of the MTU in a standard switch:

  1. In the vSphere Web Client, navigate to the host.
  2. On the Manage tab, click Networking, and select Virtual Switches.
  3. Select a standard switch from the table and click Edit settings.
  4. Change the MTU (bytes) value for the standard switch.

    Note: Enable jumbo frames by setting MTU (bytes) to a number greater than 1500. You cannot set an MTU size greater than 9000 bytes.
     
  5. Click OK