You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today when I try to build podvm ubuntu image within container with pakcer, I met follow error:
[2023-12-06T10:23:27.020Z] #14 127.6 packer build -var qemu_image_name=podvm-73982f5-dirty-s390x.qcow2 -var cloud_image_url=https://cloud-images.ubuntu.com/releases/focal/release-20230107/ubuntu-20.04-server-cloudimg-s390x.img -var cloud_image_checksum=sha256:24673aa86785573d3a92e15166ff81beff88cbb0abc01938f156eb1332e87cd3 -var se_boot= -var machine_type=s390-ccw-virtio -var qemu_binary=qemu-system-s390x qcow2/ubuntu
[2023-12-06T10:23:27.020Z] #14 127.7 Error: Unknown source type qemu
[2023-12-06T10:23:27.020Z] #14 127.7
[2023-12-06T10:23:27.020Z] #14 127.7 on qcow2/ubuntu/qemu-ubuntu.pkr.hcl line 55:
[2023-12-06T10:23:27.020Z] #14 127.7 (source code not available)
[2023-12-06T10:23:27.020Z] #14 127.7
[2023-12-06T10:23:27.020Z] #14 127.7 The source qemu is unknown by Packer, and is likely part of a plugin that is not
[2023-12-06T10:23:27.020Z] #14 127.7 installed.
[2023-12-06T10:23:27.020Z] #14 127.7 You may find the needed plugin along with installation instructions documented
[2023-12-06T10:23:27.020Z] #14 127.7 on the Packer integrations page.
[2023-12-06T10:23:27.020Z] #14 127.7
[2023-12-06T10:23:27.020Z] #14 127.7 https://developer.hashicorp.com/packer/integrations?filter=qemu
[2023-12-06T10:23:27.020Z] #14 127.7
[2023-12-06T10:23:27.020Z] #14 127.7
[2023-12-06T10:23:27.020Z] #14 127.8 make: *** [Makefile:78: podvm-73982f5-dirty-s390x.qcow2] Error 1
[2023-12-06T10:23:30.329Z] #14 ERROR: process "/bin/sh -c cd cloud-api-adaptor/podvm && make image" did not complete successfully: exit code: 2
[2023-12-06T10:23:30.329Z] ------
[2023-12-06T10:23:30.329Z] > [podvm_builder 8/8] RUN cd cloud-api-adaptor/podvm && make image:
[2023-12-06T10:23:30.329Z] 127.7
[2023-12-06T10:23:30.330Z] 127.7 The source qemu is unknown by Packer, and is likely part of a plugin that is not
[2023-12-06T10:23:30.330Z] 127.7 installed.
[2023-12-06T10:23:30.330Z] 127.7 You may find the needed plugin along with installation instructions documented
[2023-12-06T10:23:30.330Z] 127.7 on the Packer integrations page.
[2023-12-06T10:23:30.330Z] 127.7
[2023-12-06T10:23:30.330Z] 127.7 https://developer.hashicorp.com/packer/integrations?filter=qemu
[2023-12-06T10:23:30.330Z] 127.7
[2023-12-06T10:23:30.330Z] 127.7
[2023-12-06T10:23:30.330Z] 127.8 make: *** [Makefile:78: podvm-73982f5-dirty-s390x.qcow2] Error 1
[2023-12-06T10:23:30.330Z] ------
[2023-12-06T10:23:30.330Z] Dockerfile.podvm:51
[2023-12-06T10:23:30.330Z] --------------------
[2023-12-06T10:23:30.330Z] 50 | # To rebuild everything update to "make FORCE=true image"
[2023-12-06T10:23:30.330Z] 51 | >>> RUN cd cloud-api-adaptor/podvm && \
[2023-12-06T10:23:30.330Z] 52 | >>> make image
[2023-12-06T10:23:30.330Z] 53 |
[2023-12-06T10:23:30.330Z] --------------------
[2023-12-06T10:23:30.330Z] ERROR: failed to solve: process "/bin/sh -c cd cloud-api-adaptor/podvm && make image" did not complete successfully: exit code: 2
[2023-12-06T10:23:30.330Z] make: *** [Makefile:227: podvm-image] Error 1
- use the packer version 1.9.4-1, the version which still under the MPL license
fixesconfidential-containers#1616
Signed-off-by: Da Li Liu <liudali@cn.ibm.com>
Today when I try to build podvm ubuntu image within container with pakcer, I met follow error:
Checked https://developer.hashicorp.com/packer/integrations/hashicorp/qemu
we need install
qemu
plugin before build the podvm image.The text was updated successfully, but these errors were encountered: