Build 'vmware-vmx' errored: Timeout waiting for SSH
--
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/mitchellh/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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/4cf38050-1c9e-4996-8ba1-8cca319617d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{
"builders": [
{
"type": "vmware-vmx",
"source_path": "/tmp/abc.vmx",
"vm_name": "abc-test-vm",
"ssh_username": "root",
"ssh_password": "ProspectHills",
"http_directory" : "preseeds",
"http_port_min" : 9001,
"http_port_max" : 9001,
"ssh_wait_timeout": "1000s",
"headless": true
}
]
}
hellonot enough information i am afraid.Can you share a copy of your files in a github repo for review?ThanksAlvaro.
On Mon, Oct 10, 2016 at 8:22 PM, Siva Abbannagari <siva.abb...@gmail.com> wrote:
I am trying to build an vmware appliance with packer.I have a base vmx file which i am just trying to connect to the machine with SSH after launching with packer, but its failing to ssh though I manually can do ssh to that box, But packer is not able to.any inputs?Build 'vmware-vmx' errored: Timeout waiting for SSH
--
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/mitchellh/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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/4cf38050-1c9e-4996-8ba1-8cca319617d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/7a083a53-49ed-4dba-a66c-1e1f2a81d9e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Warnings for build 'vmware-vmx':
* A shutdown_command was not specified. Without a shutdown command, Packer
will forcibly halt the virtual machine, which may result in data loss.
==> vmware-vmx: Pausing after run of step 'StepPrepareTools'. Press enter to continue.
==> vmware-vmx: Pausing after run of step 'StepOutputDir'. Press enter to continue.
==> vmware-vmx: Pausing after run of step 'StepCreateFloppy'. Press enter to continue.
==> vmware-vmx: Cloning source VM...
==> vmware-vmx: Pausing after run of step 'StepCloneVMX'. Press enter to continue. ==> vmware-vmx: Pausing after run of step 'StepConfigureVMX'. Press enter to continue. ==> vmware-vmx: Pausing after run of step 'StepSuppressMessages'. Press enter to continue. ==> vmware-vmx: Starting HTTP server on port 9001
==> vmware-vmx: Pausing after run of step 'StepHTTPServer'. Press enter to continue. ==> vmware-vmx: Pausing after run of step 'StepConfigureVNC'. Press enter to continue. ==> vmware-vmx: Starting virtual machine...
vmware-vmx: The VM will be run headless, without a GUI. If you want to
vmware-vmx: view the screen of the VM, connect via VNC without a password to
vmware-vmx: 127.0.0.1:5928
==> vmware-vmx: Waiting 10s for boot...
==> vmware-vmx: Pausing after run of step 'StepRun'. Press enter to continue. ==> vmware-vmx: Connecting to VM via VNC
==> vmware-vmx: Typing the boot command over VNC...
==> vmware-vmx: Pausing after run of step 'StepTypeBootCommand'. Press enter to continue. ==> vmware-vmx: Waiting for SSH to become available...
==> vmware-vmx: Timeout waiting for SSH.
==> vmware-vmx: Pausing before cleanup of step 'StepTypeBootCommand'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepRun'. Press enter to continue. ==> vmware-vmx: Stopping virtual machine...
==> vmware-vmx: Pausing before cleanup of step 'StepConfigureVNC'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepHTTPServer'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepSuppressMessages'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepConfigureVMX'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepCloneVMX'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepCreateFloppy'. Press enter to continue. ==> vmware-vmx: Pausing before cleanup of step 'StepOutputDir'. Press enter to continue. ==> vmware-vmx: Deleting output directory...
==> vmware-vmx: Pausing before cleanup of step 'StepPrepareTools'. Press enter to continue. Build 'vmware-vmx' errored: Timeout waiting for SSH.
==> Some builds didn't complete successfully and had errors:
--> vmware-vmx: Timeout waiting for SSH.
==> Builds finished but no artifacts were created.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/7a083a53-49ed-4dba-a66c-1e1f2a81d9e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/26d53d03-75ce-43c3-a8c3-21977c489d2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/26d53d03-75ce-43c3-a8c3-21977c489d2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/bd0a988d-07fa-4df9-b4e6-e0df1b513cda%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:26:49:17:EC
inet addr:1.1.1.1 Bcast:10.10.3.255 Mask:255.255.252.0
inet6 addr: fe80::20c:29ff:fe49:97dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:964 errors:0 dropped:0 overruns:0 frame:0
TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:173576 (169.5 KiB) TX bytes:14317 (13.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23888 (23.3 KiB) TX bytes:23888 (23.3 KiB)
[root@localhost ~]# ls -arlth /etc/udev/rules.d/
total 20K
-rw-r--r--. 1 root root 316 May 10 22:58 60-raw.rules
-rw-r--r--. 1 root root 304 May 10 23:55 98-kexec.rules
drwxr-xr-x. 2 root root 4.0K Jun 23 15:47 .
drwxr-xr-x. 4 root root 4.0K Jun 23 19:39 ..
-rw-r--r-- 1 root root 341 Jun 23 19:47 99-vmware-scsi-udev.rules
[root@localhost ~]# ls /etc/sysconfig/network-scripts/ifcfg*
/etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-lo
[root@localhost ~]#
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/bd0a988d-07fa-4df9-b4e6-e0df1b513cda%40googlegroups.com.
--Alvaro
/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
--
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/mitchellh/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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d71f4d16-1911-4a1b-9b54-b59550f36872%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d71f4d16-1911-4a1b-9b54-b59550f36872%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b8d11fac-1846-4ddb-941a-af00be25c7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b8d11fac-1846-4ddb-941a-af00be25c7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro