Just let packer hang on the question and use the VM console to debug the
problem.

On Wed, Aug 15, 2018, 17:57 Fish Exterminator <[email protected]> wrote:

> It gave me this message after I aborted without cleanup:
>
> Build 'virtualbox-iso' errored: unexpected EOFOn Wednesday, August 15,
> 2018 at 11:04:15 AM UTC-4, Rickard von Essen wrote:
>>
>> So then if you run with -on-error=ask and when it fails you jump into the
>> VM and try to find out why running: sudo knife node delete
>> packer-5b71e4e0-2b88-05c9-c671-cb430347017b -y -c
>> /tmp/packer-chef-client/knife.rb
>> Fails
>>
>> On Wed, Aug 15, 2018, 15:49 Fish Exterminator <[email protected]>
>> wrote:
>>
>>>
>>> Build 'virtualbox-iso' errored: Error cleaning up chef node: Failed to
>>> cleanup node: Non-zero exit status. See output above for more info.
>>>
>>>
>>> Command: sudo knife node delete
>>> packer-5b71e4e0-2b88-05c9-c671-cb430347017b -y -c
>>> /tmp/packer-chef-client/knife.rb
>>>
>>> Build 'virtualbox-iso' errored: Error cleaning up chef node: Failed to
>>> cleanup node: Non-zero exit status. See output above for more info.
>>>
>>>
>>> 2018/08/13 16:07:01 Builds completed. Waiting on interrupt barrier...
>>>
>>> 2018/08/13 16:07:01 machine readable: error-count []string{"1"}
>>>
>>> 2018/08/13 16:07:01 ui error:
>>>
>>> ==> Some builds didn't complete successfully and had errors:
>>>
>>> 2018/08/13 16:07:01 machine readable: virtualbox-iso,error
>>> []string{"Error cleaning up chef node: Failed to cleanup node: Non-zero
>>> exit status. See output above for more info.\n\nCommand: sudo knife node
>>> delete packer-5b71e4e0-2b88-05c9-c671-cb430347017b -y -c
>>> /tmp/packer-chef-client/knife.rb"}
>>>
>>> 2018/08/13 16:07:01 ui error: --> virtualbox-iso: Error cleaning up chef
>>> node: Failed to cleanup node: Non-zero exit status. See output above for
>>> more info.
>>>
>>>
>>> Command: sudo knife node delete
>>> packer-5b71e4e0-2b88-05c9-c671-cb430347017b -y -c
>>> /tmp/packer-chef-client/knife.rb
>>> Command: sudo knife node delete
>>> packer-5b71e4e0-2b88-05c9-c671-cb430347017b -y -c
>>> /tmp/packer-chef-client/knife.rbOn Monday, August 13, 2018 at 3:56:37
>>> PM UTC-4, Rickard von Essen wrote:
>>>>
>>>> Rerun with: PACKER_LOG=1 packer build template.json
>>>>
>>>> And attach the output.
>>>>
>>>> On Mon, Aug 13, 2018, 21:23 Fish Exterminator <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I've been making a virtualbox packer build that downloads chef-client.
>>>>> whenever i try and run it, it gives me this message...
>>>>>
>>>>> Build 'virtualbox-iso' errored: Error cleaning up chef node: Failed to
>>>>> cleanup node: Non-zero exit status. See output above for more info.
>>>>>
>>>>>
>>>>> Command: sudo knife node delete
>>>>> packer-5b71d9b7-1cf2-6a56-e0e1-e7448a408b6e -y -c
>>>>> /tmp/packer-chef-client/knife.rb
>>>>>
>>>>>
>>>>> ==> Some builds didn't complete successfully and had errors:
>>>>> --> virtualbox-iso: Error cleaning up chef node: Failed to cleanup
>>>>> node: Non-zero exit status. See output above for more info.
>>>>>
>>>>> any ideas?
>>>>>
>>>>> --
>>>>> 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/2a671e4e-17a0-43a1-b62c-b02e49f99169%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/packer-tool/2a671e4e-17a0-43a1-b62c-b02e49f99169%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>> 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/e4431d29-e61a-4a13-a049-22a063dcfd01%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/e4431d29-e61a-4a13-a049-22a063dcfd01%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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/907b698a-48f5-4a11-910e-9c4c21c5828a%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/907b698a-48f5-4a11-910e-9c4c21c5828a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALz9Rt-91W-r7YqFH6JEXs_CoDuWkzdOd2YJFs9hF97ygcJ9Ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to