Couldn't mount VMware tools ISO

2,096 views
Skip to first unread message

stephen ranjit

unread,
Jun 14, 2014, 10:03:35 AM6/14/14
to packe...@googlegroups.com

I'm building a VM using packer0.6.0 on a remote ESXi5.5. The ESXi builder worked perfectly and then it threw an error while trying to install vmware tools:
2014/06/13 17:24:43 ui error: ^[[1;31mBuild 'vmware-iso' errored: Couldn't mount VMware tools ISO.^[[0m
2014/06/13 17:24:43 packer-command-build: 2014/06/13 17:24:43 Builds completed. Waiting on interrupt barrier...
2014/06/13 17:24:43 machine readable: error-count []string{"1"}
2014/06/13 17:24:43 ui error:
==> Some builds didn't complete successfully and had errors:
2014/06/13 17:24:43 machine readable: vmware-iso,error []string{"Couldn't mount VMware tools ISO."}
2014/06/13 17:24:43 ui error: --> vmware-iso: Couldn't mount VMware tools ISO.
2014/06/13 17:24:43 ui:

The debug output shows that the "vim-cmd" command had problems in execution but the exact output is not shown:

packer-builder-vmware-iso: 2014/06/13 17:24:34 opening new ssh session
packer-builder-vmware-iso: 2014/06/13 17:24:34 starting remote command: vim-cmd vmsvc/tools.install 20
packer-builder-vmware-iso: 2014/06/13 17:24:35 remote command exited with '1': vim-cmd vmsvc/tools.install 20
packer-builder-vmware-iso: 2014/06/13 17:24:35 Running the provision hook

Any help is appreciated.

-Steve

stephen ranjit

unread,
Jun 15, 2014, 12:06:28 PM6/15/14
to packe...@googlegroups.com
the resulting vmx file reads '  toolsInstallManager.lastInstallError = "21000" '
21000 – VIX_E_TOOLS_INSTALL_NO_IMAGE
No tools image exists for the guest operating system.

Another error i noticed is inside vmware.log file:
 Error VIX_E_TOOLS_NOT_RUNNING in VMAutomationTranslateGuestRpcError

Any help?

stephen ranjit

unread,
Jun 15, 2014, 12:29:29 PM6/15/14
to packe...@googlegroups.com
some more details
2014-06-15T16:25:39.328Z| vmx| I120: TOOLS INSTALL entering BEGINNING state.
2014-06-15T16:25:39.328Z| vmx| I120: TOOLS INSTALL could not find tools for this guest OS.
2014-06-15T16:25:39.328Z| vmx| I120: TOOLS INSTALL Initialization failed.
2014-06-15T16:25:39.328Z| vmx| I120: TOOLS INSTALL entering IDLE state.
2014-06-15T16:25:39.448Z| vmx| I120: Vix: [1001065 vigorCommands.c:923]: VigorToolsInstallManager_InitiateInstall: Tools error value is 1. Mapped VIX error value is 21000


On Saturday, June 14, 2014 7:33:35 PM UTC+5:30, stephen ranjit wrote:

stephen ranjit

unread,
Jun 15, 2014, 3:01:17 PM6/15/14
to packe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages