rohityadavcloud commented on PR #9437:
URL: https://github.com/apache/cloudstack/pull/9437#issuecomment-2246941288

   Thanks for replying @StepBee I've posted a question above. I'm trying to 
have the Jenkins job used to x86 systemvmtemplate build also build for aarch64, 
where I'm getting this error:
   
   ```
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Executing 
/usr/bin/qemu-system-aarch64: []string{"-netdev", 
"user,id=user.0,hostfwd=tcp::2680-:22", "-machine", "virt", "-cpu", 
"cortex-a72", "-pflash", "/usr/share/AAVMF/AAVMF_CODE.fd", "-boot", 
"strict=off", "-drive", 
"file=../dist/systemvmtemplate,if=virtio,cache=writeback,discard=ignore,format=qcow2",
 "-drive", 
"file=/var/lib/jenkins/.cache/packer/f625f9a7fa1737d7bc5cd5e20e9ca14107ead36b.iso,if=none,index=0,id=cdrom0,media=cdrom",
 "-name", "systemvmtemplate", "-m", "500M", "-smp", "1", "-monitor", "none", 
"-vnc", "127.0.0.1:95", "-device", "virtio-net,netdev=user.0", "-device", 
"virtio-scsi-pci,id=scsi0", "-device", "virtio-scsi-device", "-device", 
"scsi-cd,drive=cdrom0"}
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Started Qemu. Pid: 
125333
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Qemu stderr: 
WARNING: Image format was not specified for '/usr/share/AAVMF/AAVMF_CODE.fd' 
and probing guessed raw.
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Qemu stderr:        
  Automatically detecting the format is dangerous for raw images, write 
operations on block 0 will be restricted.
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Qemu stderr:        
  Specify the 'raw' format explicitly to remove the restrictions.
   10:56:47 2024/07/24 10:56:47 packer-builder-qemu plugin: Qemu stderr: 
qemu-system-aarch64: Initialization of device cfi.pflash01 failed: Could not 
reopen file: Permission denied
   10:56:47 �[1;31m==> qemu: Error launching VM: Qemu failed to start.
   ```
   Host in Ubuntu 22.04 x86_64 VM (same one used to build the x86-64 
systemvmtemplates)
   
   Any ideas?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to