Importing Fedora image through the (advanced/complex) nested KVM -> googlecompute-import post-processor works fine the first time. However, when executing packer build a second time, while specifying -force option, we get this error message.
Reproduction Steps
qemu builder -> shell provisioner -> compress then googlecompute-import post-processors
This issue was originally opened by @cevich in https://github.com/hashicorp/packer/issues/9872 and has been migrated to this repository. The original issue description is below.
Overview of the Issue
Importing Fedora image through the (advanced/complex) nested KVM -> googlecompute-import post-processor works fine the first time. However, when executing packer build a second time, while specifying -force option, we get this error message.
Reproduction Steps
qemu builder -> shell provisioner -> compress then googlecompute-import post-processors
Packer version
1.4.5
Simplified Packer Buildfile
https://github.com/containers/automation_images/blob/master/base_images/gce.yml
Operating system and Environment details
Host is running CentOS 8 in GCE, but problem is also reproducible locally in a CentOS 8 container (provided GCE application default credentials).
Log Fragments and crash.log files