Deploying containers from the container management portal fails with events similar to the following message:
Error: Failed to write to image store: [POST /storage/{store_name}][500] WriteImage default \u0026{Code:500 Message:ServerFaultCode: The session is not authenticated.}; Reason: {"errorDetail":{"message":"Failed to write to image store: [POST /storage/{store_name}][500] WriteImage default \u0026{Code:500 Message:ServerFaultCode: The session is not authenticated.}"},"error":"Failed to write to image store: [POST /storage/{store_name}][500] WriteImage default \u0026{Code:500 Message:ServerFaultCode: The session is not authenticated.}"}
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment
This occurs when the VCH cannot login to the vCenter. Typically due to the account used to deploy the VCH changing password. Unless --ops-user was defined then the account used would be the --ops-user.
To resolve this issue, update the password that the VCH uses to authenticate to the vCenter. For more information, see Update vCenter Server Credentials. Update vCenter Server Credentials