Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use source images from deeplearning-platform-release project #229

Open
jbaldassari opened this issue Jul 24, 2024 · 1 comment · May be fixed by #230
Open

Cannot use source images from deeplearning-platform-release project #229

jbaldassari opened this issue Jul 24, 2024 · 1 comment · May be fixed by #230
Labels

Comments

@jbaldassari
Copy link

Overview of the Issue

Similar to #191, source images from the deeplearning-platform-release project cannot be used with this plugin.
Related: #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 added a commit to mablhq/packer-plugin-googlecompute that referenced this issue Jul 24, 2024
@jbaldassari
Copy link
Author

As mentioned in #230 (comment) , setting source_image_project_id=deeplearning-platform-release seems to be a valid workaround for not having deeplearning-platform-release in the default list of projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant