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

Compute image not found #23

Open
teamfighter opened this issue May 15, 2020 · 2 comments
Open

Compute image not found #23

teamfighter opened this issue May 15, 2020 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers P2 high priority issues triaged Scoped and ready for work

Comments

@teamfighter
Copy link

teamfighter commented May 15, 2020

Looks like completly broken.

✗ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

module.jenkins.data.google_compute_image.jenkins: Refreshing state...
module.jenkins.data.google_compute_image.jenkins_worker: Refreshing state...

Error: error retrieving image information: googleapi: Error 404: The resource 'projects/bitnami-launchpad/global/images/bitnami-jenkins-2-176-2-0-linux-debian-9-x86-64' was not found, notFound

  on .terraform/modules/jenkins/main.tf line 52, in data "google_compute_image" "jenkins":
  52: data "google_compute_image" "jenkins" {

If I add jenkins_boot_disk_source_image = "bitnami-jenkins-2-222-3-0-linux-debian-9-x86-64-nami" to main.tf, it creates all resources but because of breaking changes in Jenkins 2-222-3 startup script is failing so deployment (wait_for_jenkins step) goes forever.

@cakeben
Copy link

cakeben commented Jun 16, 2020

Hi @teamfighter I had to fork the repo and use image bitnami-jenkins-2-222-4-3-r01-linux-debian-10-x86-64-nami

as seen here https://github.com/cakeben/terraform-google-jenkins/blob/ae5687c9d683479eb9e52fda686b49788d7eb21b/variables.tf#L43

@morgante
Copy link
Contributor

@cakeben A PR to fix this would be appreciated if you have a chance.

@morgante morgante added P2 high priority issues P3 medium priority issues bug Something isn't working good first issue Good for newcomers triaged Scoped and ready for work and removed P3 medium priority issues labels Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers P2 high priority issues triaged Scoped and ready for work
Projects
None yet
Development

No branches or pull requests

3 participants