jetbrains-infra / packer-builder-vsphere

Packer plugin for remote builds on VMware vSphere
Mozilla Public License 2.0
542 stars 175 forks source link

vsphere-iso: ServerFaultCode: The session is not authenticated - Build 'vsphere-iso' errored: NotAuthenticated #287

Closed neogen19 closed 5 years ago

neogen19 commented 5 years ago

Hello Team, I am using Packer version 1.4.2 and vsphere builder 2.3. Recently while running my deployment, i encountered below error:

vsphere-iso: ServerFaultCode: The session is not authenticated. 'vsphere-iso' errored: NotAuthenticated

This error came while Packer was trying to convert the VM back to template after completing all the operations. We run some long running patching scripts and it takes around 7 hours to complete the entire packer operation. This is the first time i encountered this error.

Any help on this is much appreciated.

neogen19 commented 5 years ago

OK, I just validated with my VM Support team and they mentioned that there was an outage at VCenter layer around the same time. I am running the operation again to see if that caused this error.