jakobadam / packer-qemu-templates

Packer qemu templates
Mozilla Public License 2.0
332 stars 175 forks source link

get 'Qemu failed to start' error #22

Closed fkpwolf closed 7 years ago

fkpwolf commented 7 years ago
$ ~/packer build -var-file=ubuntu1404.json ubuntu-vagrant.json 
qemu output will be in this color.

==> qemu: Downloading or copying ISO
    qemu: Downloading or copying: http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso
==> qemu: Creating floppy disk...
    qemu: Copying files flatly from floppy_files
    qemu: Copying file: http/preseed.cfg
    qemu: Done copying files from floppy_files
    qemu: Collecting paths from floppy_dirs
    qemu: Resulting paths from floppy_dirs : []
    qemu: Done copying paths from floppy_dirs
==> qemu: Creating hard drive...
==> qemu: Starting HTTP server on port 8450
==> qemu: Found port for communicator (SSH, WinRM, etc): 4282.
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1
==> qemu: Starting VM, booting from CD-ROM
==> qemu: Overriding defaults Qemu arguments with QemuArgs...
==> qemu: Error launching VM: Qemu failed to start. Please run with PACKER_LOG=1 to get more info.
==> qemu: Deleting output directory...
Build 'qemu' errored: Build was halted.

==> Some builds didn't complete successfully and had errors:
--> qemu: Build was halted.

==> Builds finished but no artifacts were created.

My system is Centos 7.

jakobadam commented 7 years ago

run with PACKER_LOG=1 to get more info.

It builds on my Ubuntu 16.04 machine.

-- Jakob

fre. 6. jan. 2017 kl. 10.06 skrev Kun Peng Fan notifications@github.com:

$ ~/packer build -var-file=ubuntu1404.json ubuntu-vagrant.json

qemu output will be in this color.

==> qemu: Downloading or copying ISO

qemu: Downloading or copying: http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso

==> qemu: Creating floppy disk...

qemu: Copying files flatly from floppy_files

qemu: Copying file: http/preseed.cfg

qemu: Done copying files from floppy_files

qemu: Collecting paths from floppy_dirs

qemu: Resulting paths from floppy_dirs : []

qemu: Done copying paths from floppy_dirs

==> qemu: Creating hard drive...

==> qemu: Starting HTTP server on port 8450

==> qemu: Found port for communicator (SSH, WinRM, etc): 4282.

==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1

==> qemu: Starting VM, booting from CD-ROM

==> qemu: Overriding defaults Qemu arguments with QemuArgs...

==> qemu: Error launching VM: Qemu failed to start. Please run with PACKER_LOG=1 to get more info.

==> qemu: Deleting output directory...

Build 'qemu' errored: Build was halted.

==> Some builds didn't complete successfully and had errors:

--> qemu: Build was halted.

==> Builds finished but no artifacts were created.

My system is Centos 7.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jakobadam/packer-qemu-templates/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIiD5JQcREnIY93GZoOxvDvLMv_GeAPks5rPgP8gaJpZM4Lch0o .

Helenbj commented 6 years ago

This problem hasn't been solved, right?