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

CentOS 6 EOL #125

Closed
xSAVIKx opened this issue Dec 2, 2020 · 2 comments · Fixed by #126
Closed

CentOS 6 EOL #125

xSAVIKx opened this issue Dec 2, 2020 · 2 comments · Fixed by #126
Labels
bug Something isn't working good first issue Good for newcomers P2 high priority issues triaged Scoped and ready for work

Comments

@xSAVIKx
Copy link
Contributor

xSAVIKx commented Dec 2, 2020

The CentOS 6 has reached its EOL and is no longer available as a GCE image.

Usually, it should not be an issue, but if for the instance_template module the image_family is set to empty string, terraform considers it as unset and falls back to the centos-6 image family.

Such a fallback makes some pipelines fail with smth like this:

Error: error retrieving image information: googleapi: Error 404: The resource 'projects/centos-cloud/global/images/family/centos-6' was not found, notFound

  on .terraform/modules/sim-preemptible-template.vm_instance_template/modules/instance_template/main.tf line 25, in data "google_compute_image" "image_family":
  25: data "google_compute_image" "image_family" {
@bharathkkb
Copy link
Member

@xSAVIKx thanks for the report. We should update the defaults set here. Happy to review a PR

@xSAVIKx
Copy link
Contributor Author

xSAVIKx commented Dec 2, 2020

@bharathkkb please check out the PR #126.

I'd be also super grateful if this change can be released ASAP. We're having multiple production issues that could be fixed easily with this change, but creating a workaround requires too much efforts.

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

Successfully merging a pull request may close this issue.

2 participants