Hi, I'm attempting to build a template on a Centos 7 XEN 4.10 hypervisor but keep encountering issues with Qemu. The build errors with the following error message. I've attached the packer config I'm using if there's anything I should change.
==> qemu: Starting VM, booting from CD-ROM
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu --version output: QEMU
emulator version 2.10.2
2019/04/03 14:04:41 packer: Copyright (c) 2003-2017 Fabrice Bellard and the
QEMU Project developers
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu version: 2.10.2
qemu: view the screen of the VM, connect via VNC without a password to
qemu: vnc://127.0.0.1:5957
qemu: The VM will be run headless, without a GUI. If you want to
qemu: view the screen of the VM, connect via VNC without a password to
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu Builder has no floppy
files, not attaching a floppy.
qemu: vnc://127.0.0.1:5957
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Executing
/usr/lib64/xen/bin/qemu-system-i386: []string{"-vnc", "127.0.0.1:0",
"-name", "ol7-app-template", "-drive",
"file=/var/lib/xen/ol7-app-template/ol7-app-template,if=virtio,cache=writeback,discard=ignore,format=raw",
"-boot", "once=d", "-m", "2048M", "-machine", "type=xenfv,accel=xen",
"-netdev", "user,id=user.0,hostfwd=tcp::2226-:22", "-device",
"rtl8139,netdev=user.0", "-cdrom",
"/home/rchewni/ol7_trimble/iso/ol-7.6_x86-64.iso"}
==> qemu: Overriding defaults Qemu arguments with QemuArgs...
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Started Qemu. Pid: 6457
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu stderr: failed to get
HVM_PARAM_IOREQ_PFN
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu stderr:
qemu-system-i386: failed to get ioreq server info: error 22
handle=0x55814d3e5ef0
2019/04/03 14:04:41 packer: 2019/04/03 14:04:41 Qemu stderr:
qemu-system-i386: xen hardware virtual machine initialisation failed
2019/04/03 14:04:41 ui error: ==> qemu: Error launching VM: Qemu failed to
start. Please run with PACKER_LOG=1 to get more info.
==> qemu: Error launching VM: Qemu failed to start. Please run with
PACKER_LOG=1 to get more info.
--
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/17e10cc5-f23e-4776-8c82-d07cc9cd6810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ol7_app_trimble.json
Description: application/json
