Here is a the relevent packerlog from both these runs and here is the 
template file I used when it happened. 

On Tuesday, August 7, 2018 at 4:00:21 PM UTC-4, Alvaro Miranda Aguilera 
wrote:
>
> without the packer template, and a debug log is hard to say.
>
> alvaro
>
> On Tue, Aug 7, 2018 at 5:32 PM, Savage Hacker <[email protected] 
> <javascript:>> wrote:
>
>> For some reason, sometimes when I run packer it will give me this error 
>> message
>>
>>
>>
>>  However, when I rerun the packer on the same iso file it will give this 
>> message 
>>  
>>
>>
>>  I am using the latest version of Packer(1.2.4) on Windows 10 powershell. 
>> Could it be an OS thing, something I am doing in packer json file that is 
>> causing unexpected behavior, or a combination of both?
>>
>> d
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/fc8c00d0-3323-49bb-a91f-b98e12319583%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/fc8c00d0-3323-49bb-a91f-b98e12319583%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Alvaro
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/9d08f0eb-a317-47e2-a567-7109cdacbcd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2018/08/07 10:14:22 ui: ==> virtualbox-iso: Gracefully halting virtual 
machine...
2018/08/07 10:14:22 packer.exe: 2018/08/07 10:14:22 Executing shutdown command: 
echo packer | sudo -S shutdown -P now
2018/08/07 10:14:22 packer.exe: 2018/08/07 10:14:22 [DEBUG] Opening new ssh 
session
2018/08/07 10:14:22 packer.exe: 2018/08/07 10:14:22 [DEBUG] starting remote 
command: echo packer | sudo -S shutdown -P now
2018/08/07 10:14:22 packer.exe: 2018/08/07 10:14:22 [ERROR] Remote command 
exited without exit status or exit signal.
2018/08/07 10:14:22 ui:     virtualbox-iso: [sudo] password for steve:
2018/08/07 10:14:22 packer.exe: 2018/08/07 10:14:22 Waiting max 20m0s for 
shutdown to complete
2018/08/07 10:14:52 packer.exe: 2018/08/07 10:14:52 VM shut down.
2018/08/07 10:14:52 packer.exe: 2018/08/07 10:14:52 Executing VBoxManage: 
[]string{"storageattach", "PackerVM_test6_64bit", "--storagectl", "IDE 
Controller", "--port", "0", "--device", "1", "--medium", "none"}
2018/08/07 10:14:53 packer.exe: 2018/08/07 10:14:53 stdout:
2018/08/07 10:14:53 packer.exe: 2018/08/07 10:14:53 stderr: VBoxManage.exe: 
error: Controller 'IDE Controller' does not support hotplugging
2018/08/07 10:14:53 packer.exe: VBoxManage.exe: error: Details: code 
VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface 
IMachine, callee IUnknown
2018/08/07 10:14:53 packer.exe: VBoxManage.exe: error: Context: 
"DetachDevice(Bstr(pszCtl).raw(), port, device)" at line 403 of file 
VBoxManageStorageController.cpp
2018/08/07 10:14:53 ui error: ==> virtualbox-iso: Error detaching ISO: 
VBoxManage error: VBoxManage.exe: error: Controller 'IDE Controller' does not 
support hotplugging
==> virtualbox-iso: VBoxManage.exe: error: Details: code 
VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface 
IMachine, callee IUnknown
==> virtualbox-iso: VBoxManage.exe: error: Context: 
"DetachDevice(Bstr(pszCtl).raw(), port, device)" at line 403 of file 
VBoxManageStorageController.cpp
2018/08/07 10:14:53 packer.exe: 2018/08/07 10:14:53 Executing VBoxManage: 
[]string{"controlvm", "PackerVM_test6_64bit", "poweroff"}
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stdout:
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stderr: 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 Executing VBoxManage: 
[]string{"storageattach", "PackerVM_test6_64bit", "--storagectl", "IDE 
Controller", "--port", "0", "--device", "1", "--medium", "none"}
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stdout:
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stderr:
2018/08/07 10:14:54 ui: ==> virtualbox-iso: Deregistering and deleting VM...
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 Executing VBoxManage: 
[]string{"unregistervm", "PackerVM_test6_64bit", "--delete"}
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stdout:
2018/08/07 10:14:54 packer.exe: 2018/08/07 10:14:54 stderr: 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2018/08/07 10:14:54 ui: ==> virtualbox-iso: Deleting output directory...
2018/08/07 10:14:54 [INFO] (telemetry) ending virtualbox-iso
2018/08/07 10:14:54 ui error: Build 'virtualbox-iso' errored: Error detaching 
ISO: VBoxManage error: VBoxManage.exe: error: Controller 'IDE Controller' does 
not support hotplugging
VBoxManage.exe: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), 
component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "DetachDevice(Bstr(pszCtl).raw(), port, 
device)" at line 403 of file VBoxManageStorageController.cpp
2018/08/07 10:14:54 Builds completed. Waiting on interrupt barrier...
2018/08/07 10:14:54 machine readable: error-count []string{"1"}
2018/08/07 10:14:54 ui error: 
==> Some builds didn't complete successfully and had errors:
2018/08/07 10:14:54 machine readable: virtualbox-iso,error []string{"Error 
detaching ISO: VBoxManage error: VBoxManage.exe: error: Controller 'IDE 
Controller' does not support hotplugging\r\nVBoxManage.exe: error: Details: 
code VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface 
IMachine, callee IUnknown\r\nVBoxManage.exe: error: Context: 
\"DetachDevice(Bstr(pszCtl).raw(), port, device)\" at line 403 of file 
VBoxManageStorageController.cpp"}
2018/08/07 10:14:54 ui error: --> virtualbox-iso: Error detaching ISO: 
VBoxManage error: VBoxManage.exe: error: Controller 'IDE Controller' does not 
support hotplugging
VBoxManage.exe: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), 
component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "DetachDevice(Bstr(pszCtl).raw(), port, 
device)" at line 403 of file VBoxManageStorageController.cpp
2018/08/07 10:14:54 ui: 
==> Builds finished but no artifacts were created.
2018/08/07 10:14:54 [INFO] (telemetry) Finalizing.
2018/08/07 10:14:56 [WARN] (telemetry) Error finalizing report. This is safe to 
ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context 
deadline exceeded
2018/08/07 10:14:56 waiting for all plugin processes to complete...
2018/08/07 10:14:56 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:14:56 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:14:56 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:14:56 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:54:33 ui: ==> virtualbox-iso: Gracefully halting virtual 
machine...
2018/08/07 10:54:33 packer.exe: 2018/08/07 10:54:33 Executing shutdown command: 
echo packer | sudo -S shutdown -P now
2018/08/07 10:54:33 packer.exe: 2018/08/07 10:54:33 [DEBUG] Opening new ssh 
session
2018/08/07 10:54:33 packer.exe: 2018/08/07 10:54:33 [DEBUG] starting remote 
command: echo packer | sudo -S shutdown -P now
2018/08/07 10:54:33 packer.exe: 2018/08/07 10:54:33 [ERROR] Remote command 
exited without exit status or exit signal.
2018/08/07 10:54:33 ui:     virtualbox-iso: [sudo] password for steve:
2018/08/07 10:54:33 packer.exe: 2018/08/07 10:54:33 Waiting max 20m0s for 
shutdown to complete
2018/08/07 10:55:42 packer.exe: 2018/08/07 10:55:42 VM shut down.
2018/08/07 10:55:42 packer.exe: 2018/08/07 10:55:42 Executing VBoxManage: 
[]string{"storageattach", "PackerVM_test6_64bit", "--storagectl", "IDE 
Controller", "--port", "0", "--device", "1", "--medium", "none"}
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stdout:
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stderr:
2018/08/07 10:55:43 ui: ==> virtualbox-iso: Executing custom VBoxManage 
commands...
2018/08/07 10:55:43 ui:     virtualbox-iso: Executing: modifyvm 
PackerVM_test6_64bit --nic1 intnet
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 Executing VBoxManage: 
[]string{"modifyvm", "PackerVM_test6_64bit", "--nic1", "intnet"}
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stdout:
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stderr:
2018/08/07 10:55:43 ui: ==> virtualbox-iso: Skipping export of virtual 
machine...
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 Executing VBoxManage: 
[]string{"storageattach", "PackerVM_test6_64bit", "--storagectl", "IDE 
Controller", "--port", "0", "--device", "1", "--medium", "none"}
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stdout:
2018/08/07 10:55:43 packer.exe: 2018/08/07 10:55:43 stderr: VBoxManage.exe: 
error: No storage device attached to device slot 1 on port 0 of controller 'IDE 
Controller'
2018/08/07 10:55:43 packer.exe: VBoxManage.exe: error: Details: code 
VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component SessionMachine, interface 
IMachine, callee IUnknown
2018/08/07 10:55:43 packer.exe: VBoxManage.exe: error: Context: 
"DetachDevice(Bstr(pszCtl).raw(), port, device)" at line 403 of file 
VBoxManageStorageController.cpp
2018/08/07 10:55:43 ui: ==> virtualbox-iso: Keeping virtual machine registered 
with VirtualBox host (keep_registered = true)
2018/08/07 10:55:43 [INFO] (telemetry) ending virtualbox-iso
2018/08/07 10:55:43 ui: Build 'virtualbox-iso' finished.
2018/08/07 10:55:43 Builds completed. Waiting on interrupt barrier...
2018/08/07 10:55:43 ui: 
==> Builds finished. The artifacts of successful builds are:
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact-count 
[]string{"1"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"builder-id", "mitchellh.virtualbox"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"id", "VM"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"string", "VM files in directory: ../VirtualBox VMs/PackerVM_test6_64bit"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"files-count", "1"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"file", "0", "..\\VirtualBox 
VMs\\PackerVM_test6_64bit\\PackerVM_test6_64bit.vdi"}
2018/08/07 10:55:43 machine readable: virtualbox-iso,artifact []string{"0", 
"end"}
2018/08/07 10:55:43 ui: --> virtualbox-iso: VM files in directory: 
../VirtualBox VMs/PackerVM_test6_64bit
2018/08/07 10:55:43 [INFO] (telemetry) Finalizing.
2018/08/07 10:55:44 waiting for all plugin processes to complete...
2018/08/07 10:55:44 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:55:44 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:55:44 C:\Users\e371226\Packer\packer.exe: plugin process exited
2018/08/07 10:55:44 C:\Users\e371226\Packer\packer.exe: plugin process exited

Attachment: ubuntu_64_bit_template1.json
Description: application/json

Reply via email to