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 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/14e0d4bb-04d8-4805-8ccc-f20639db2384n%40googlegroups.com.

Reply via email to