{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/8545","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/8545/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/8545/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/8545/events","html_url":"https://github.com/hashicorp/packer/issues/8545","id":543670659,"node_id":"MDU6SXNzdWU1NDM2NzA2NTk=","number":8545,"title":"Vagrant Post Processor Failed: unexpected EOF / interface {} is string, not uint64","user":{"login":"3lpsy","id":8757851,"node_id":"MDQ6VXNlcjg3NTc4NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8757851?v=4","gravatar_id":"","url":"https://api.github.com/users/3lpsy","html_url":"https://github.com/3lpsy","followers_url":"https://api.github.com/users/3lpsy/followers","following_url":"https://api.github.com/users/3lpsy/following{/other_user}","gists_url":"https://api.github.com/users/3lpsy/gists{/gist_id}","starred_url":"https://api.github.com/users/3lpsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lpsy/subscriptions","organizations_url":"https://api.github.com/users/3lpsy/orgs","repos_url":"https://api.github.com/users/3lpsy/repos","events_url":"https://api.github.com/users/3lpsy/events{/privacy}","received_events_url":"https://api.github.com/users/3lpsy/received_events","type":"User","site_admin":false},"labels":[{"id":33051538,"node_id":"MDU6TGFiZWwzMzA1MTUzOA==","url":"https://api.github.com/repos/hashicorp/packer/labels/bug","name":"bug","color":"f7c6c7","default":true,"description":null}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-30T01:49:15Z","updated_at":"2020-01-04T04:17:54Z","closed_at":null,"author_association":"NONE","body":"#### Overview of the Issue\r\n\r\nWhen building a qemu vm with the vagrant post-processor, the build fails when converting qcow2 file to vagrant box. The project is open source and I've linked to the full config.json and last few hundred lines of the crash log below. I'm not sure why it's failing at the end.  The two most interesting errors are:\r\n\r\n```\r\n... bunch of stuff\r\n2019/12/29 19:01:55 ui error: Build 'qemu' errored: 1 error(s) occurred:\r\n\r\n* Post-processor failed: unexpected EOF\r\n```\r\n\r\n```\r\n2019/12/29 19:01:00 ui: ==> qemu (vagrant): Creating Vagrant box for 'libvirt' provider\r\n2019/12/29 19:01:00 ui:   qemu (vagrant): Copying from artifact: output/bugmenace-0.0.3.qcow2\r\n2019/12/29 19:01:55 packer-post-processor-vagrant plugin: panic: interface conversion: interface {} is string, not uint64\r\n2019/12/29 19:01:55 packer-post-processor-vagrant plugin: \r\n2019/12/29 19:01:55 packer-post-processor-vagrant plugin: goroutine 309 [running]:\r\n2019/12/29 19:01:55 packer-post-processor-vagrant plugin: github.com/hashicorp/packer/post-processor/vagrant.(*LibVirtProvider).Process(0x55c851d460d0, 0x55c84f6bc6e0, 0xc000200300, 0x55c84f6bc740, 0xc000422160, 0xc000428060, 0x14, 0x0, 0xc00002b858, 0x55c84ac38003, ...)\r\n...\r\n```\r\n\r\n#### Reproduction Steps\r\n\r\n1) Attempt to build qemu/qcow2 vm via packer for the config.json linked below via packer build -only=qemu config.json\r\n2) Include post-processor for vagrant and it fails\r\n\r\n### Packer version\r\n\r\nPacker v1.5.1\r\n\r\n### Simplified Packer Buildfile\r\n\r\nhttps://github.com/3lpsy/bugmenace/blob/master/config.json\r\n\r\n### Operating system and Environment details\r\n\r\nArch Linux\r\n\r\n### Log Fragments and crash.log files\r\n\r\nhttps://gist.github.com/3lpsy/1d50bd8408f8d1ce1df34db2e2cef4f7\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/570755202","html_url":"https://github.com/hashicorp/packer/issues/8545#issuecomment-570755202","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/8545","id":570755202,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MDc1NTIwMg==","user":{"login":"3lpsy","id":8757851,"node_id":"MDQ6VXNlcjg3NTc4NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8757851?v=4","gravatar_id":"","url":"https://api.github.com/users/3lpsy","html_url":"https://github.com/3lpsy","followers_url":"https://api.github.com/users/3lpsy/followers","following_url":"https://api.github.com/users/3lpsy/following{/other_user}","gists_url":"https://api.github.com/users/3lpsy/gists{/gist_id}","starred_url":"https://api.github.com/users/3lpsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lpsy/subscriptions","organizations_url":"https://api.github.com/users/3lpsy/orgs","repos_url":"https://api.github.com/users/3lpsy/repos","events_url":"https://api.github.com/users/3lpsy/events{/privacy}","received_events_url":"https://api.github.com/users/3lpsy/received_events","type":"User","site_admin":false},"created_at":"2020-01-04T04:17:54Z","updated_at":"2020-01-04T04:17:54Z","author_association":"NONE","body":"I can confirm that I do not get this error with version 1.4.5"}}
{"actor":{"display_login":"3lpsy"}}