Packer version is 1.6.6 and ESXi is 7.0.0 (Build 16324942) On Thu, Feb 4, 2021 at 9:04 AM Gabo Kete <[email protected]> wrote:
> also the packer version you are running as well as the ESXi version would > be helpful > > On Thursday, February 4, 2021 at 12:58:07 PM UTC+1 Gabo Kete wrote: > >> also would be useful if you share your Packer JSON file.. to review it >> >> On Thursday, February 4, 2021 at 12:57:13 PM UTC+1 Gabo Kete wrote: >> >>> will probably recommend you to change to a simpler password.. like >>> uppercase, lowercase and numbers and see if that works.. then add special >>> characters.. >>> >>> On Thursday, February 4, 2021 at 12:18:56 PM UTC+1 [email protected] >>> wrote: >>> >>>> Checked and packer is connecting to the ESXi not be VM I am creating, >>>> because I have two shell provisioners one to copy a config file and the >>>> second to set the OS packages. And the config file was copied to the ESXi >>>> host not the VM. >>>> >>>> >>>> On Thu, Feb 4, 2021 at 7:42 AM Marc Pires <[email protected]> wrote: >>>> >>>>> Hi Gabo, yes I can login to ESXi using the ssh_password and >>>>> ssh_username values. My password has an @ sign, not sure if it can be a >>>>> problem. Checking >>>>> >>>>> On Wed, Feb 3, 2021 at 5:00 PM Gabo Kete <[email protected]> wrote: >>>>> >>>>>> looks like you access is being rejected when it tries to ssh into the >>>>>> vmware... can you look into your json file and find the *ssh_username >>>>>> *and* ssh_password entries *and try to logging into your vmware >>>>>> with those values and check if it works >>>>>> >>>>>> On Tuesday, February 2, 2021 at 8:51:13 PM UTC+1 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Hi everyone, I am building an image and during the build I have the >>>>>>> following error below. Any clue of what it can be ? >>>>>>> >>>>>>> 2021/02/02 16:44:57 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> 2021/02/02 16:44:57 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: vim-cmd vmsvc/power.on 221 >>>>>>> 2021/02/02 16:44:58 packer-builder-vmware-iso plugin: [ERROR] Remote >>>>>>> command exited with '1': vim-cmd vmsvc/power.on 221 >>>>>>> 2021/02/02 16:45:17 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> 2021/02/02 16:45:17 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: vim-cmd vmsvc/power.getstate 221 >>>>>>> 2021/02/02 16:45:18 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> ==> vmware-iso: Error starting VM: Retry limit exceeded >>>>>>> 2021/02/02 16:45:18 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: vim-cmd vmsvc/power.getstate 221 >>>>>>> ==> vmware-iso: Destroying virtual machine... >>>>>>> 2021/02/02 16:45:18 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> 2021/02/02 16:45:18 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: vim-cmd vmsvc/destroy 221 >>>>>>> 2021/02/02 16:45:19 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> 2021/02/02 16:45:19 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: test ! -e >>>>>>> "/vmfs/volumes/DataStorage/Appliance2_dev" >>>>>>> 2021/02/02 16:45:19 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> Opening new ssh session >>>>>>> 2021/02/02 16:45:19 packer-builder-vmware-iso plugin: [DEBUG] >>>>>>> starting remote command: test -e >>>>>>> "/vmfs/volumes/DataStorage/Appliance2_dev" >>>>>>> 2021/02/02 16:45:19 packer-builder-vmware-iso plugin: [ERROR] Remote >>>>>>> command exited with '1': test -e >>>>>>> "/vmfs/volumes/DataStorage/Appliance2_dev" >>>>>>> 2021/02/02 16:45:19 [INFO] (telemetry) ending vmware-iso >>>>>>> ==> Wait completed after 3 minutes 44 seconds >>>>>>> 2021/02/02 16:45:19 machine readable: error-count []string{"1"} >>>>>>> ==> Some builds didn't complete successfully and had errors: >>>>>>> 2021/02/02 16:45:19 machine readable: vmware-iso,error >>>>>>> []string{"Error starting VM: Retry limit exceeded"} >>>>>>> ==> Builds finished but no artifacts were created. >>>>>>> 2021/02/02 16:45:19 [INFO] (telemetry) Finalizing. >>>>>>> Build 'vmware-iso' errored after 3 minutes 44 seconds: Error >>>>>>> starting VM: Retry limit exceeded >>>>>>> >>>>>> -- >>>>>> This mailing list is governed under the HashiCorp Community >>>>>> Guidelines - https://www.hashicorp.com/community-guidelines.html. >>>>>> Behavior in violation of those guidelines may result in your removal from >>>>>> this mailing list. >>>>>> >>>>>> GitHub Issues: https://github.com/hashicorp/packer/issues >>>>>> IRC: #packer-tool on Freenode >>>>>> --- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "Packer" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/packer-tool/2UxaWvpjbCs/unsubscribe >>>>>> . >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/packer-tool/4071302d-8f6b-4cbf-ab0c-f6d5bf0bc842n%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/packer-tool/4071302d-8f6b-4cbf-ab0c-f6d5bf0bc842n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> >>>>> >>>>> -- >>>>> Desenvolvedor/DevOps practitioner >>>>> >>>>> https://www.credential.net/5yi8wpmv >>>>> >>>> >>>> >>>> -- >>>> Desenvolvedor/DevOps practitioner >>>> >>>> https://www.credential.net/5yi8wpmv >>>> >>> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to a topic in the > Google Groups "Packer" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/packer-tool/2UxaWvpjbCs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/636369b3-5c60-47d4-b6e9-ccaa479a940an%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/636369b3-5c60-47d4-b6e9-ccaa479a940an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Desenvolvedor/DevOps practitioner https://www.credential.net/5yi8wpmv -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGokDNj%2BBYHKJ74hEQcTf3ULCbCsXt-4yCFhmPNjKFxiqNi_UA%40mail.gmail.com.
