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

Facter can't read Gce metadata #2731

Closed
jiwonaid opened this issue Jun 12, 2024 · 0 comments · Fixed by #2732
Closed

Facter can't read Gce metadata #2731

jiwonaid opened this issue Jun 12, 2024 · 0 comments · Fixed by #2732
Labels
bug Something isn't working

Comments

@jiwonaid
Copy link
Contributor

Describe the Bug

[2024-06-12 04:58:49.765370 ] DEBUG Facter::Resolvers::Gce - reading Gce metadata
[2024-06-12 04:58:49.787568 ] DEBUG Facter::Util::Resolvers::Http - Trying to connect to http://metadata.google.internal/computeMetadata/v1/?recursive=true&alt=json but got: undefined method `[]' for false:FalseClass
[2024-06-12 04:58:49.787648 ] DEBUG Facter::Resolvers::Gce - Trying to parse result but got: 783: unexpected token at ''

Expected Behavior

Facter should be able to read Gce metadata.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run facter from the GCP VM.

Environment

:~# facter --version
4.7.1

Additional Context

A pull request will be followed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant