packer-plugin-googlecompute icon indicating copy to clipboard operation
packer-plugin-googlecompute copied to clipboard

Cannot use source images from deeplearning-platform-release project

Open jbaldassari opened this issue 1 year ago • 1 comments

Overview of the Issue

Similar to https://github.com/hashicorp/packer-plugin-googlecompute/issues/191, source images from the deeplearning-platform-release project cannot be used with this plugin. Related: https://github.com/hashicorp/packer-plugin-googlecompute/issues/193

Reproduction Steps

Use a source image from the deeplearning-platform-release project, such as common-cu123-v20240708-debian-11

Plugin and Packer version

Packer: v1.11.0 packer-plugin-googlecompute: v1.1.3_x5.0_linux_amd64

Simplified Packer Buildfile

{
  ...
  "builders": [
    {
      "type": "googlecompute",
      "source_image": "common-cu123-v20240708-debian-11"
      ...
    }
}

Operating system and Environment details

Linux x86-64

Log Fragments and crash.log files

Error getting source image for instance creation: Could not find image, common-cu123-v20240708-debian-11, in projects,
[<our project>, almalinux-cloud centos-cloud cloud-hpc-image-public cos-cloud coreos-cloud debian-cloud fedora-cloud fedora-coreos-cloud freebsd-org-cloud-dev rhel-cloud rhel-sap-cloud rocky-linux-cloud suse-cloud suse-sap-cloud suse-byos-cloud ubuntu-os-cloud windows-cloud windows-sql-cloud gce-nvme google-containers opensuse-cloud ubuntu-os-pro-cloud ml-images]

jbaldassari avatar Jul 24 '24 20:07 jbaldassari