Connected directly to the web console of one of the hosts which would not go into maintenance mode from vCenter. Then tried to go into maintenance mode. Received the following:
Failed to enter maintenance mode: A general system error occurred: Connection reset by peer: The connection is terminated by the remote end with a reset packet. Usually, this is a sign of a network problem, timeout, or service overload.
Then tried esxcli system maintenanceMode set --enable true. Received the same error.
Then localcli system maintenanceMode set --enable true. Received the same error.
/etc/init.d/hostd restart (since you are supposed to after using localcli, right?)
Then esxcli system maintenanceMode set --enable true worked.
So, it does not seem to be a vCenter issue. Seems to be an ESXi issue.
The systems are Dell R730s. Originally installed with DellEMC Customized Image ESXi 6.7 A01 (based on ESXi VMKernel Release Build 8169922) then upgraded to 6.7.0 Update 1 (Build 10764712).
Thanks,
Jeff