{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/6537","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/6537/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/6537/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/6537/events","html_url":"https://github.com/hashicorp/packer/issues/6537","id":344440725,"node_id":"MDU6SXNzdWUzNDQ0NDA3MjU=","number":6537,"title":"[1.2.5][quemu] packer build does not do anything or fails","user":{"login":"lmayorga1980","id":3172378,"node_id":"MDQ6VXNlcjMxNzIzNzg=","avatar_url":"https://avatars0.githubusercontent.com/u/3172378?v=4","gravatar_id":"","url":"https://api.github.com/users/lmayorga1980","html_url":"https://github.com/lmayorga1980","followers_url":"https://api.github.com/users/lmayorga1980/followers","following_url":"https://api.github.com/users/lmayorga1980/following{/other_user}","gists_url":"https://api.github.com/users/lmayorga1980/gists{/gist_id}","starred_url":"https://api.github.com/users/lmayorga1980/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmayorga1980/subscriptions","organizations_url":"https://api.github.com/users/lmayorga1980/orgs","repos_url":"https://api.github.com/users/lmayorga1980/repos","events_url":"https://api.github.com/users/lmayorga1980/events{/privacy}","received_events_url":"https://api.github.com/users/lmayorga1980/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},{"id":180552854,"node_id":"MDU6TGFiZWwxODA1NTI4NTQ=","url":"https://api.github.com/repos/hashicorp/packer/labels/builder/qemu","name":"builder/qemu","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-25T13:20:41Z","updated_at":"2018-07-25T16:10:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"PACKER: 1.2.5\r\n\r\nThe `quemu` provider does not seem to do anything.\r\n\r\n```json\r\n{\r\n    \"type\": \"qemu\",\r\n    \"output_directory\": \"packer-centos73-x86_64-quemu\",\r\n    \"iso_url\": \"{{user `iso_url_prefix`}}/CentOS-7-x86_64-Minimal-1804.iso\",\r\n    \"iso_checksum\": \"fabdc67ff3a1674a489953effa285dfd\",\r\n    \"iso_checksum_type\": \"md5\",\r\n    \"shutdown_command\": \"echo 'packer' | sudo -S shutdown -P now\",\r\n    \"format\": \"qcow2\",\r\n    \"headless\": true,\r\n    \"accelerator\": \"kvm\",\r\n    \"http_directory\": \"http\",\r\n    \"http_port_min\": 10082,\r\n    \"http_port_max\": 10089,\r\n    \"ssh_host_port_min\": 2222,\r\n    \"ssh_host_port_max\": 2229,\r\n    \"ssh_username\": \"{{user `ssh_username`}}\",\r\n    \"ssh_password\": \"{{user `ssh_pass`}}\",\r\n    \"ssh_port\": 22,\r\n    \"ssh_timeout\": \"30s\",\r\n    \"vm_name\": \"centos_7\",\r\n    \"net_device\": \"virtio-net\",\r\n    \"disk_interface\": \"virtio\",\r\n    \"boot_wait\": \"5s\",\r\n    \"qemuargs\": [\r\n      [ \"-m\", \"2048\"  ],\r\n      [ \"-cpu\", \"host\"  ],\r\n      [ \"-smp\", \"4,sockets=1,cores=2,threads=2\" ],\r\n      [ \"-chardev\", \"tty,id=pts,path={{user `serial`}}\" ],\r\n      [ \"-device\", \"isa-serial,chardev=pts\" ],\r\n      [ \"-device\", \"virtio-net,netdev=user.0\" ]\r\n    ],\r\n    \"floppy_files\": [\r\n      \"http/centos/7/ami/ks.cfg\"\r\n    ],\r\n    \"boot_command\": [\r\n    \"<tab> inst.text inst.ks=hd:fd0:/ks.cfg net.iframes=0<enter><wait>\"\r\n    ]\r\n    },\r\n\r\n```\r\n\r\n```shell\r\nPACKER_LOG=debug packer build -only=quemu centos73-                                                                                            ami.json\r\n2018/07/25 09:15:20 [INFO] Packer version: 1.2.5\r\n2018/07/25 09:15:20 Packer Target OS/Arch: linux amd64\r\n2018/07/25 09:15:20 Built with Go Version: go1.10.3\r\n2018/07/25 09:15:20 Detected home directory from env var: /home/user\r\n2018/07/25 09:15:20 Using internal plugin for file\r\n2018/07/25 09:15:20 Using internal plugin for triton\r\n2018/07/25 09:15:20 Using internal plugin for vmware-vmx\r\n2018/07/25 09:15:20 Using internal plugin for cloudstack\r\n2018/07/25 09:15:20 Using internal plugin for hyperv-iso\r\n2018/07/25 09:15:20 Using internal plugin for lxd\r\n2018/07/25 09:15:20 Using internal plugin for oracle-classic\r\n2018/07/25 09:15:20 Using internal plugin for profitbricks\r\n2018/07/25 09:15:20 Using internal plugin for googlecompute\r\n2018/07/25 09:15:20 Using internal plugin for oneandone\r\n2018/07/25 09:15:20 Using internal plugin for lxc\r\n2018/07/25 09:15:20 Using internal plugin for vmware-iso\r\n2018/07/25 09:15:20 Using internal plugin for digitalocean\r\n2018/07/25 09:15:20 Using internal plugin for oracle-oci\r\n2018/07/25 09:15:20 Using internal plugin for parallels-iso\r\n2018/07/25 09:15:20 Using internal plugin for parallels-pvm\r\n2018/07/25 09:15:20 Using internal plugin for scaleway\r\n2018/07/25 09:15:20 Using internal plugin for openstack\r\n2018/07/25 09:15:20 Using internal plugin for amazon-chroot\r\n2018/07/25 09:15:20 Using internal plugin for amazon-ebsvolume\r\n2018/07/25 09:15:20 Using internal plugin for azure-arm\r\n2018/07/25 09:15:20 Using internal plugin for docker\r\n2018/07/25 09:15:20 Using internal plugin for null\r\n2018/07/25 09:15:20 Using internal plugin for amazon-ebssurrogate\r\n2018/07/25 09:15:20 Using internal plugin for hyperv-vmcx\r\n2018/07/25 09:15:20 Using internal plugin for qemu\r\n2018/07/25 09:15:20 Using internal plugin for virtualbox-ovf\r\n2018/07/25 09:15:20 Using internal plugin for alicloud-ecs\r\n2018/07/25 09:15:20 Using internal plugin for amazon-ebs\r\n2018/07/25 09:15:20 Using internal plugin for amazon-instance\r\n2018/07/25 09:15:20 Using internal plugin for ncloud\r\n2018/07/25 09:15:20 Using internal plugin for virtualbox-iso\r\n2018/07/25 09:15:20 Using internal plugin for chef-client\r\n2018/07/25 09:15:20 Using internal plugin for puppet-masterless\r\n2018/07/25 09:15:20 Using internal plugin for salt-masterless\r\n2018/07/25 09:15:20 Using internal plugin for ansible\r\n2018/07/25 09:15:20 Using internal plugin for ansible-local\r\n2018/07/25 09:15:20 Using internal plugin for puppet-server\r\n2018/07/25 09:15:20 Using internal plugin for windows-shell\r\n2018/07/25 09:15:20 Using internal plugin for chef-solo\r\n2018/07/25 09:15:20 Using internal plugin for converge\r\n2018/07/25 09:15:20 Using internal plugin for shell\r\n2018/07/25 09:15:20 Using internal plugin for file\r\n2018/07/25 09:15:20 Using internal plugin for powershell\r\n2018/07/25 09:15:20 Using internal plugin for shell-local\r\n2018/07/25 09:15:20 Using internal plugin for windows-restart\r\n2018/07/25 09:15:20 Using internal plugin for compress\r\n2018/07/25 09:15:20 Using internal plugin for docker-import\r\n2018/07/25 09:15:20 Using internal plugin for googlecompute-export\r\n2018/07/25 09:15:20 Using internal plugin for manifest\r\n2018/07/25 09:15:20 Using internal plugin for checksum\r\n2018/07/25 09:15:20 Using internal plugin for googlecompute-import\r\n2018/07/25 09:15:20 Using internal plugin for vagrant-cloud\r\n2018/07/25 09:15:20 Using internal plugin for vsphere-template\r\n\r\n2018/07/25 09:15:20 Using internal plugin for alicloud-import\r\n2018/07/25 09:15:20 Using internal plugin for artifice\r\n2018/07/25 09:15:20 Using internal plugin for docker-save\r\n2018/07/25 09:15:20 Using internal plugin for shell-local\r\n2018/07/25 09:15:20 Using internal plugin for vsphere\r\n2018/07/25 09:15:20 Using internal plugin for amazon-import\r\n2018/07/25 09:15:20 Using internal plugin for atlas\r\n2018/07/25 09:15:20 Using internal plugin for docker-push\r\n2018/07/25 09:15:20 Using internal plugin for docker-tag\r\n2018/07/25 09:15:20 Using internal plugin for vagrant\r\n2018/07/25 09:15:20 Detected home directory from env var: /home/user\r\n2018/07/25 09:15:20 Attempting to open config file: /home/user/.pac                                                                                            kerconfig\r\n2018/07/25 09:15:20 [WARN] Config file doesn't exist: /home/user/.p                                                                                            ackerconfig\r\n2018/07/25 09:15:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSi                                                                                            gnature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[lxd:/usr/loca                                                                                            l/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd amazon-chroot:/us                                                                                            r/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot d                                                                                            ocker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker                                                                                             amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-bui                                                                                            lder-amazon-instance openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSP                                                                                            ACE-packer-builder-openstack azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-                                                                                            PACKERSPACE-packer-builder-azure-arm qemu:/usr/local/bin/packer-PACKERSPACE-plug                                                                                            in-PACKERSPACE-packer-builder-qemu hyperv-iso:/usr/local/bin/packer-PACKERSPACE-                                                                                            plugin-PACKERSPACE-packer-builder-hyperv-iso profitbricks:/usr/local/bin/packer-                                                                                            PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks googlecompute:/usr/lo                                                                                            cal/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute lxc:/                                                                                            usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc hyperv-vm                                                                                            cx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vm                                                                                            cx vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builde                                                                                            r-vmware-vmx parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-                                                                                            packer-builder-parallels-iso amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-                                                                                            plugin-PACKERSPACE-packer-builder-amazon-ebsvolume cloudstack:/usr/local/bin/pac                                                                                            ker-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oneandone:/usr/loca                                                                                            l/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone vmware-iso:                                                                                            /usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso a                                                                                            mazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-am                                                                                            azon-ebs parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-pack                                                                                            er-builder-parallels-pvm virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin                                                                                            -PACKERSPACE-packer-builder-virtualbox-ovf alicloud-ecs:/usr/local/bin/packer-PA                                                                                            CKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs virtualbox-iso:/usr/loc                                                                                            al/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso nclou                                                                                            d:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud fil                                                                                            e:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file trito                                                                                            n:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton dig                                                                                            italocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-di                                                                                            gitalocean scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-                                                                                            builder-scaleway oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERS                                                                                            PACE-packer-builder-oracle-classic oracle-oci:/usr/local/bin/packer-PACKERSPACE-                                                                                            plugin-PACKERSPACE-packer-builder-oracle-oci null:/usr/local/bin/packer-PACKERSP                                                                                            ACE-plugin-PACKERSPACE-packer-builder-null amazon-ebssurrogate:/usr/local/bin/pa                                                                                            cker-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate] PostProc                                                                                            essors:map[googlecompute-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERS                                                                                            PACE-packer-post-processor-googlecompute-import vsphere-template:/usr/local/bin/                                                                                            packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template doc                                                                                            ker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-proces                                                                                            sor-docker-save vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-pac                                                                                            ker-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPAC                                                                                            E-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-import:/u                                                                                            sr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-                                                                                            import alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-pack                                                                                            er-post-processor-alicloud-import artifice:/usr/local/bin/packer-PACKERSPACE-plu                                                                                            gin-PACKERSPACE-packer-post-processor-artifice vsphere:/usr/local/bin/packer-PAC                                                                                            KERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/bi                                                                                            n/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-c                                                                                            loud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-                                                                                            vagrant-cloud docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-p                                                                                            acker-post-processor-docker-push checksum:/usr/local/bin/packer-PACKERSPACE-plug                                                                                            in-PACKERSPACE-packer-post-processor-checksum shell-local:/usr/local/bin/packer-                                                                                            PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/                                                                                            usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon                                                                                            -import atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-p                                                                                            rocessor-atlas docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-p                                                                                            acker-post-processor-docker-tag manifest:/usr/local/bin/packer-PACKERSPACE-plugi                                                                                            n-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[chef-client:/usr/                                                                                            local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client s                                                                                            alt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provi                                                                                            sioner-salt-masterless powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKE                                                                                            RSPACE-packer-provisioner-powershell shell-local:/usr/local/bin/packer-PACKERSPA                                                                                            CE-plugin-PACKERSPACE-packer-provisioner-shell-local puppet-masterless:/usr/loca                                                                                            l/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless                                                                                             converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisione                                                                                            r-converge shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-pro                                                                                            visioner-shell file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-                                                                                            provisioner-file ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSP                                                                                            ACE-packer-provisioner-ansible-local windows-shell:/usr/local/bin/packer-PACKERS                                                                                            PACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:/usr/local/bin/                                                                                            packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-server:/                                                                                            usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-se                                                                                            rver chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provi                                                                                            sioner-chef-solo windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKER                                                                                            SPACE-packer-provisioner-windows-restart]}\r\n2018/07/25 09:15:20 Detected home directory from env var: /home/user\r\n2018/07/25 09:15:20 Setting cache directory: /home/user/repositories                                                                                            s/packer-templates-2.0/packer_cache\r\n2018/07/25 09:15:20 Detected home directory from env var: /home/user\r\n2018/07/25 09:15:20 Build debug mode: false\r\n2018/07/25 09:15:20 Force build: false\r\n2018/07/25 09:15:20 On error:\r\n2018/07/25 09:15:20 Waiting on builds to complete...\r\n2018/07/25 09:15:20 Builds completed. Waiting on interrupt barrier...\r\n2018/07/25 09:15:20 ui:\r\n==> Builds finished but no artifacts were created.\r\n2018/07/25 09:15:20 [INFO] (telemetry) Finalizing.\r\n==> Builds finished but no artifacts were created.\r\n2018/07/25 09:15:20 waiting for all plugin processes to complete..\r\n```\r\n  \r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/407809852","html_url":"https://github.com/hashicorp/packer/issues/6537#issuecomment-407809852","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/6537","id":407809852,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzgwOTg1Mg==","user":{"login":"mwhooker","id":15618,"node_id":"MDQ6VXNlcjE1NjE4","avatar_url":"https://avatars3.githubusercontent.com/u/15618?v=4","gravatar_id":"","url":"https://api.github.com/users/mwhooker","html_url":"https://github.com/mwhooker","followers_url":"https://api.github.com/users/mwhooker/followers","following_url":"https://api.github.com/users/mwhooker/following{/other_user}","gists_url":"https://api.github.com/users/mwhooker/gists{/gist_id}","starred_url":"https://api.github.com/users/mwhooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwhooker/subscriptions","organizations_url":"https://api.github.com/users/mwhooker/orgs","repos_url":"https://api.github.com/users/mwhooker/repos","events_url":"https://api.github.com/users/mwhooker/events{/privacy}","received_events_url":"https://api.github.com/users/mwhooker/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T16:10:57Z","updated_at":"2018-07-25T16:10:57Z","author_association":"COLLABORATOR","body":"Also, can you try to build the centos template in https://github.com/jakobadam/packer-qemu-templates ?"}}
{"actor":{"display_login":"mwhooker"}}