Jira (FACT-2018) Google Compute Engine metadata facts need endpoint change
Title: Message Title Eric Johnson created an issue Facter / FACT-2018 Google Compute Engine metadata facts need endpoint change Issue Type: Bug Assignee: Unassigned Created: 2019/09/12 5:43 AM Priority: Normal Reporter: Eric Johnson Google Compute Engine's internal metadata service will be deprecating the 'v1beta1' endpoint sometime before end of calendar year 2019. The GCE resolver[1] should be updated to use the 'v1' endpoint instead. Note that using the 'v1' endpoint also requires setting a custom User-Agent header that was not necessary in the old 'v1beta1' endpoint. Using 'curl' in a simple bash script as an example, I would need to change, curl http://metadata.google.internal/computeMetadata/v1beta1/instance/name to this, curl -H "Metadata-flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/name For more details about GCE metadata, please see https://cloud.google.com/compute/docs/storing-retrieving-metadata [1] https://github.com/puppetlabs/facter/blob/master/lib/src/facts/resolvers/gce_resolver.cc#L243 Add Comment
Jira (FACT-2018) Google Compute Engine metadata facts need endpoint change
Title: Message Title Eric Johnson commented on FACT-2018 Re: Google Compute Engine metadata facts need endpoint change Thanks Gabriel, looks great! Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.324465.156829223.113442.1569413160267%40Atlassian.JIRA.
Jira (FACT-2102) Google Compute Engine metadata facts need endpoint change <= 2.5.6
Title: Message Title Eric Johnson created an issue Facter / FACT-2102 Google Compute Engine metadata facts need endpoint change <= 2.5.6 Issue Type: Bug Affects Versions: FACT 2.5.1, FACT 2.5.2 Assignee: Gabriel Nagy Created: 2019/11/04 6:17 AM Environment: Ruby-based facter versions <= 2.5.6 Priority: Major Reporter: Eric Johnson Google Compute Engine's internal metadata service will be deprecating the 'v1beta1' endpoint sometime before end of calendar year 2019. The GCE metadata-helper[1] should be updated to use the 'v1' endpoint instead. NOTE: FACT-2018 addressed this issue for Facter 3.x, but the ruby based 2.x also needs to be fixed. Note that using the 'v1' endpoint also requires setting a custom User-Agent header that was not necessary in the old 'v1beta1' endpoint. Using 'curl' in a simple bash script as an example, I would need to change, curl http://metadata.google.internal/computeMetadata/v1beta1/instance/name to this, curl -H "Metadata-flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/name For more details about GCE metadata, please see https://cloud.google.com/compute/docs/storing-retrieving-metadata [1] https://github.com/puppetlabs/facter/blob/2.x/lib/facter/gce/metadata.rb#L20
Jira (FACT-2102) Google Compute Engine metadata facts need endpoint change <= 2.5.6
Title: Message Title Eric Johnson commented on FACT-2102 Re: Google Compute Engine metadata facts need endpoint change <= 2.5.6 https://github.com/puppetlabs/facter/pull/1847 Tested with Ruby v1.9.3 and v2.6.5 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.78.1572877034000.43034.1574442180635%40Atlassian.JIRA.
Jira (FACT-2299) Facter 2.x release
Title: Message Title Eric Johnson commented on FACT-2299 Re: Facter 2.x release Fantastic - thank you! Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.342349.157919275.34758.1579787820160%40Atlassian.JIRA.