hashicorp / packer-plugin-vsphere

Packer plugin for VMware vSphere Builder
https://www.packer.io/docs/builders/vsphere
Mozilla Public License 2.0
97 stars 93 forks source link

`vsphere-iso`: Packer can't acquire IP from Cisco VM #39

Closed ghost closed 1 year ago

ghost commented 3 years ago

This issue was originally opened by @bruteForceAttack as hashicorp/packer#10363. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Overview of the Issue

Problem is with acquiring IP address from vmware vsphere (gathered from vm-tools) so Packer doesn't do the shutdown command via vmware tools. Information such as IP, hostname and so on however is present in vSphere also VM is reachable with SSH client from localhost. So far this happens only with Cisco image of CSR 1000v: csr1000v-universalk9.16.09.01.iso other OS type like Linux or Windows is good. Problem seems to be related to the change (GH-9450) as per release notes for version number 1.6.1. Everything is fine and works with previous versions e.g. 1.5.6 or 1.6.0. I have tested 1.6.1+ and no success at all.

Reproduction Steps

packer build -force -var-file=variables.json template-cisco-csr.json

Packer version

1.6.5 (1.6.1+)

Simplified Packer Buildfile

Packer json template file:

{
    "builders": [
      {
        "type": "vsphere-iso",
        "vcenter_server": "{{user `vcenter_server`}}",
        "username": "{{user `username`}}",
        "password": "{{user `password_vsphere`}}",
        "insecure_connection": "true",
        "vm_name": "{{user `template_prefix`}}_cisco_csr_16.9.1",
        "datacenter": "{{user `datacenter`}}",
        "cluster": "{{user `cluster`}}",
        "resource_pool": "{{user `resource_pool`}}",
        "datastore": "{{user `datastore`}}",
        "host": "{{user `host`}}",
        "folder": "{{user `folder`}}",
        "guest_os_type": "other3xLinux64Guest",
        "CPUs": 2,
        "RAM": 4096,
        "RAM_reserve_all": true,
        "disk_controller_type": "pvscsi",
        "storage": [
          {
            "disk_size": 8192,
            "disk_thin_provisioned": true
          }
        ],
        "network_adapters": [
          {
            "network": "2000",
            "network_card": "vmxnet3"
          }
        ],
        "iso_paths": [
          "[Install] Cisco/CSR1000v/csr1000v-universalk9.16.09.01.iso"
        ],
        "iso_checksum": "sha512:c578a59272f1f80bc044bc63d8bd7dd106cda7ccc419457cdfcc5f3984c323bcb84da9e4928f3dc0a1d61093efcf546ab51305918d435ad01720332550c2db7b",
        "convert_to_template": "false",
        "communicator": "ssh",
        "ssh_username": "admin",
        "ssh_password": "{{user `password`}}",
        "ip_settle_timeout": "60s",
        "boot_wait": "5s",
        "boot_command": [
          "<wait10><enter><wait10><wait10><wait10><wait10><wait10>",
          "<wait10><wait10><wait10><wait10><wait10><wait10>",
          "<wait10><wait10><wait10><wait10><wait10><wait10>",
          "<wait10><wait10><wait10><wait10><wait10><wait10>",
          "<wait10><wait10><wait10><wait10><wait10><wait10>",
          "<wait10>",
          "<enter>enable<enter>conf t<enter>int giga1<enter>ip addr dhcp<enter><wait5>exit<enter>",
          "enable secret password 0 {{user `password`}}<enter>no service config<enter>hostname router.cisco<enter>ip domain-name lan.net<enter>crypto key gen rsa mod 4096<enter><wait5>",
          "username admin password 0 {{user `password`}}<enter>line vty 0 15<enter>login local<enter>transport input ssh<enter>exit<enter>",
          "do wr<enter>end<enter>exit<enter>"
        ]
      }
    ]
  }

Operating system and Environment details

uname -a
Darwin 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64 i386 MacBookPro15,1 Darwin

Log Fragments and crash.log files

No crash logs are generated. The build timeouts because of no SSH connection into VM.

Packers standard output:

vsphere-iso: output will be in this color.
==> vsphere-iso: Creating VM...
==> vsphere-iso: Customizing hardware...
==> vsphere-iso: Mounting ISO images...
==> vsphere-iso: Adding configuration parameters...
==> vsphere-iso: Set boot order temporary...
==> vsphere-iso: Power on VM...
==> vsphere-iso: Waiting 5s for boot...
==> vsphere-iso: Typing boot command...
==> vsphere-iso: Waiting for IP...
==> vsphere-iso: Timeout waiting for IP.
==> vsphere-iso: Clear boot order...
==> vsphere-iso: Power off VM...
==> vsphere-iso: Destroying VM...
Build 'vsphere-iso' errored after 36 minutes 13 seconds: Timeout waiting for IP.

==> Wait completed after 36 minutes 13 seconds

==> Some builds didn't complete successfully and had errors:
--> vsphere-iso: Timeout waiting for IP.

==> Builds finished but no artifacts were created.

Log file generated by packer (PACKER_LOG=1):

log file ``` 2020/12/09 15:18:14 [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64] 2020/12/09 15:18:14 Checking 'PACKER_CONFIG' for a config file path 2020/12/09 15:18:14 'PACKER_CONFIG' not set; checking the default config file path 2020/12/09 15:18:14 Attempting to open config file: .packerconfig 2020/12/09 15:18:14 [WARN] Config file doesn't exist: .packerconfig 2020/12/09 15:18:14 Setting cache directory: templates/packer/packer_cache 2020/12/09 15:18:14 Creating plugin client for path: templates/packer/packer 2020/12/09 15:18:14 Starting plugin: templates/packer/packer []string{"templates/packer/packer", "plugin", "packer-builder-vsphere-iso"} 2020/12/09 15:18:14 Waiting for RPC address for: templates/packer/packer 2020/12/09 15:18:14 packer plugin: [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64] 2020/12/09 15:18:14 packer plugin: Checking 'PACKER_CONFIG' for a config file path 2020/12/09 15:18:14 packer plugin: 'PACKER_CONFIG' not set; checking the default config file path 2020/12/09 15:18:14 packer plugin: Attempting to open config file: .packerconfig 2020/12/09 15:18:14 packer plugin: [WARN] Config file doesn't exist: .packerconfig 2020/12/09 15:18:14 packer plugin: Setting cache directory: templates/packer/packer_cache 2020/12/09 15:18:14 packer plugin: args: []string{"packer-builder-vsphere-iso"} 2020/12/09 15:18:15 packer plugin: Plugin address: unix /var/folders/3l/jj8w1c854ml0hfzcjgczq1w00000gn/T/packer-plugin283264697 2020/12/09 15:18:15 packer plugin: Waiting for connection... 2020/12/09 15:18:15 Received unix RPC address for templates/packer/packer: addr is /var/folders/3l/jj8w1c854ml0hfzcjgczq1w00000gn/T/packer-plugin283264697 2020/12/09 15:18:15 packer plugin: Serving a plugin connection... 2020/12/09 15:18:15 Preparing build: vsphere-iso 2020/12/09 15:18:15 ui: vsphere-iso: output will be in this color. 2020/12/09 15:18:15 ui: 2020/12/09 15:18:15 Build debug mode: false 2020/12/09 15:18:15 Force build: true 2020/12/09 15:18:15 On error: 2020/12/09 15:18:15 Waiting on builds to complete... 2020/12/09 15:18:15 Starting build run: vsphere-iso 2020/12/09 15:18:15 Running builder: vsphere-iso 2020/12/09 15:18:15 [INFO] (telemetry) Starting builder vsphere-iso 2020/12/09 15:18:15 packer plugin: No URLs were provided to Step Download. Continuing... 2020/12/09 15:18:15 packer plugin: No CD files specified. CD disk will not be made. 2020/12/09 15:18:15 ui: ==> vsphere-iso: Creating VM... 2020/12/09 15:18:17 ui: ==> vsphere-iso: Customizing hardware... 2020/12/09 15:18:17 ui: ==> vsphere-iso: Mounting ISO images... 2020/12/09 15:18:17 packer plugin: Check if ISO path is a Content Library path 2020/12/09 15:18:18 packer plugin: ISO path not identified as a Content Library path 2020/12/09 15:18:18 packer plugin: Using [Install] Cisco/CSR1000v/csr1000v-universalk9.16.09.01.iso as the datastore path 2020/12/09 15:18:18 packer plugin: Creating CD-ROM on controller '&{{{} 200 0xc000cab720 0 } 0 []}' with iso '[Install] Cisco/CSR1000v/csr1000v-universalk9.16.09.01.iso' 2020/12/09 15:18:21 ui: ==> vsphere-iso: Adding configuration parameters... 2020/12/09 15:18:21 packer plugin: No floppy files specified. Floppy disk will not be made. 2020/12/09 15:18:21 ui: ==> vsphere-iso: Set boot order temporary... 2020/12/09 15:18:21 ui: ==> vsphere-iso: Power on VM... 2020/12/09 15:18:23 ui: ==> vsphere-iso: Waiting 5s for boot... 2020/12/09 15:18:28 ui: ==> vsphere-iso: Typing boot command... 2020/12/09 15:18:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:18:38 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:18:38 packer plugin: [INFO] Waiting 10s 2020/12/09 15:18:48 packer plugin: [INFO] Waiting 10s 2020/12/09 15:18:58 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:08 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:18 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:38 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:48 packer plugin: [INFO] Waiting 10s 2020/12/09 15:19:58 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:08 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:18 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:38 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:48 packer plugin: [INFO] Waiting 10s 2020/12/09 15:20:58 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:08 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:18 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:38 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:48 packer plugin: [INFO] Waiting 10s 2020/12/09 15:21:58 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:08 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:18 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:38 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:48 packer plugin: [INFO] Waiting 10s 2020/12/09 15:22:58 packer plugin: [INFO] Waiting 10s 2020/12/09 15:23:08 packer plugin: [INFO] Waiting 10s 2020/12/09 15:23:18 packer plugin: [INFO] Waiting 10s 2020/12/09 15:23:28 packer plugin: [INFO] Waiting 10s 2020/12/09 15:23:38 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:38 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:38 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:38 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:38 packer plugin: Sending char 'b', code CodeB, shift false 2020/12/09 15:23:38 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:23:39 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:39 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:39 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:39 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:39 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:39 packer plugin: Sending char 'f', code CodeF, shift false 2020/12/09 15:23:39 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:39 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:40 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:40 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:40 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:40 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:40 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:40 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:23:40 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:40 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:23:41 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:41 packer plugin: Sending char '1', code Code1, shift false 2020/12/09 15:23:41 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:41 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:41 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:23:41 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:41 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:41 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:42 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'h', code CodeH, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:42 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:23:43 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:43 packer plugin: [INFO] Waiting 5s 2020/12/09 15:23:48 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:48 packer plugin: Sending char 'x', code CodeX, shift false 2020/12/09 15:23:48 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:48 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:48 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:48 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:48 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:49 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:49 packer plugin: Sending char 'b', code CodeB, shift false 2020/12/09 15:23:49 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:23:49 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:49 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:49 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:49 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:50 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:50 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:50 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:50 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:50 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:50 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:23:50 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:50 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:51 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:51 packer plugin: Sending char 'w', code CodeW, shift false 2020/12/09 15:23:51 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:51 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:51 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:23:51 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:51 packer plugin: Sending char '0', code Code0, shift false 2020/12/09 15:23:51 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:23:52 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:23:53 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:23:53 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:53 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:53 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:23:53 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:23:53 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:53 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:53 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:54 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:54 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'v', code CodeV, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:54 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:55 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'f', code CodeF, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:55 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:23:56 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:56 packer plugin: Sending char 'h', code CodeH, shift false 2020/12/09 15:23:56 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:56 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:56 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:56 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:23:56 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:56 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:57 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'u', code CodeU, shift false 2020/12/09 15:23:57 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:23:57 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:23:58 packer plugin: Sending char '.', code CodeFullStop, shift false 2020/12/09 15:23:58 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:58 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:58 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:23:58 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:23:58 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:58 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:23:59 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:23:59 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:23:59 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:00 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:00 packer plugin: Sending char '-', code CodeHyphenMinus, shift false 2020/12/09 15:24:00 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:00 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:00 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:24:00 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:00 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:01 packer plugin: Sending char '.', code CodeFullStop, shift false 2020/12/09 15:24:01 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:01 packer plugin: Sending char 'h', code CodeH, shift false 2020/12/09 15:24:02 packer plugin: Sending char '.', code CodeFullStop, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:02 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:02 packer plugin: Sending char '.', code CodeFullStop, shift false 2020/12/09 15:24:03 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:03 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:03 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:24:03 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:03 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:03 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:03 packer plugin: Sending char 'y', code CodeY, shift false 2020/12/09 15:24:04 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:24:04 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:04 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:04 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:04 packer plugin: Sending char 'k', code CodeK, shift false 2020/12/09 15:24:04 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:04 packer plugin: Sending char 'y', code CodeY, shift false 2020/12/09 15:24:04 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:05 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:24:05 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:05 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:05 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:05 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:05 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:05 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:05 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:06 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:24:06 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:06 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:06 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:06 packer plugin: Sending char '4', code Code4, shift false 2020/12/09 15:24:06 packer plugin: Sending char '0', code Code0, shift false 2020/12/09 15:24:06 packer plugin: Sending char '9', code Code9, shift false 2020/12/09 15:24:07 packer plugin: Sending char '6', code Code6, shift false 2020/12/09 15:24:07 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:07 packer plugin: [INFO] Waiting 5s 2020/12/09 15:24:12 packer plugin: Sending char 'u', code CodeU, shift false 2020/12/09 15:24:12 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:12 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:12 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:12 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:12 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:13 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'm', code CodeM, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:13 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:14 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:14 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:24:14 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:14 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:14 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:14 packer plugin: Sending char 'w', code CodeW, shift false 2020/12/09 15:24:15 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:15 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:15 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:15 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:15 packer plugin: Sending char '0', code Code0, shift false 2020/12/09 15:24:15 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:24:16 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:24:17 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:24:17 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:17 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:17 packer plugin: Sending char 'X', code CodeX, shift true 2020/12/09 15:24:17 packer plugin: Sending char 'X', code CodeX, shift false 2020/12/09 15:24:17 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:18 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:24:18 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:18 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:18 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:18 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:18 packer plugin: Sending char 'v', code CodeV, shift false 2020/12/09 15:24:18 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:19 packer plugin: Sending char 'y', code CodeY, shift false 2020/12/09 15:24:19 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:19 packer plugin: Sending char '0', code Code0, shift false 2020/12/09 15:24:19 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:19 packer plugin: Sending char '1', code Code1, shift false 2020/12/09 15:24:19 packer plugin: Sending char '5', code Code5, shift false 2020/12/09 15:24:20 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:20 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:24:20 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:20 packer plugin: Sending char 'g', code CodeG, shift false 2020/12/09 15:24:20 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:20 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:21 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:21 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:24:21 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:21 packer plugin: Sending char 'c', code CodeC, shift false 2020/12/09 15:24:21 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:21 packer plugin: Sending char 'l', code CodeL, shift false 2020/12/09 15:24:22 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:22 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:22 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:22 packer plugin: Sending char 'a', code CodeA, shift false 2020/12/09 15:24:22 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:22 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:22 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:24:22 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:23 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:23 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:23 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:23 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:23 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:23 packer plugin: Sending char 'p', code CodeP, shift false 2020/12/09 15:24:23 packer plugin: Sending char 'u', code CodeU, shift false 2020/12/09 15:24:23 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:24 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:24 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:24 packer plugin: Sending char 's', code CodeS, shift false 2020/12/09 15:24:24 packer plugin: Sending char 'h', code CodeH, shift false 2020/12/09 15:24:24 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:24 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:24 packer plugin: Sending char 'x', code CodeX, shift false 2020/12/09 15:24:24 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:25 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:25 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:25 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:25 packer plugin: Sending char 'o', code CodeO, shift false 2020/12/09 15:24:25 packer plugin: Sending char ' ', code CodeSpacebar, shift false 2020/12/09 15:24:25 packer plugin: Sending char 'w', code CodeW, shift false 2020/12/09 15:24:25 packer plugin: Sending char 'r', code CodeR, shift false 2020/12/09 15:24:25 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:26 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:26 packer plugin: Sending char 'n', code CodeN, shift false 2020/12/09 15:24:26 packer plugin: Sending char 'd', code CodeD, shift false 2020/12/09 15:24:26 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:26 packer plugin: Sending char 'e', code CodeE, shift false 2020/12/09 15:24:26 packer plugin: Sending char 'x', code CodeX, shift false 2020/12/09 15:24:26 packer plugin: Sending char 'i', code CodeI, shift false 2020/12/09 15:24:26 packer plugin: Sending char 't', code CodeT, shift false 2020/12/09 15:24:27 packer plugin: Special code '' found, replacing with: CodeReturnEnter 2020/12/09 15:24:27 packer plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 1m0s 2020/12/09 15:24:27 ui: ==> vsphere-iso: Waiting for IP... 2020/12/09 15:54:27 ui error: ==> vsphere-iso: Timeout waiting for IP. 2020/12/09 15:54:27 ui: ==> vsphere-iso: Clear boot order... 2020/12/09 15:54:27 ui: ==> vsphere-iso: Power off VM... 2020/12/09 15:54:27 ui: ==> vsphere-iso: Destroying VM... 2020/12/09 15:54:28 [INFO] (telemetry) ending vsphere-iso 2020/12/09 15:54:28 ui error: Build 'vsphere-iso' errored after 36 minutes 13 seconds: Timeout waiting for IP. 2020/12/09 15:54:28 ui: ==> Wait completed after 36 minutes 13 seconds 2020/12/09 15:54:28 machine readable: error-count []string{"1"} 2020/12/09 15:54:28 ui error: ==> Some builds didn't complete successfully and had errors: 2020/12/09 15:54:28 machine readable: vsphere-iso,error []string{"Timeout waiting for IP."} 2020/12/09 15:54:28 ui error: --> vsphere-iso: Timeout waiting for IP. 2020/12/09 15:54:28 ui: ==> Builds finished but no artifacts were created. 2020/12/09 15:54:28 [INFO] (telemetry) Finalizing. 2020/12/09 15:54:30 waiting for all plugin processes to complete... 2020/12/09 15:54:30 templates/packer/packer: plugin process exited ```
bruteForceAttack commented 3 years ago

I've noticed that thit issue has been moved. I am still ready to provide some testing/info and so on.