Jira (FACT-2018) Google Compute Engine metadata facts need endpoint change

0 views
Skip to first unread message

Eric Johnson (JIRA)

unread,
Sep 12, 2019, 8:44:03 AM9/12/19
to puppe...@googlegroups.com
Eric Johnson created an issue
 
Facter / Bug FACT-2018
Google Compute Engine metadata facts need endpoint change
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/09/12 5:43 AM
Priority: Normal 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 Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Mihai Buzgau (JIRA)

unread,
Sep 16, 2019, 6:15:02 AM9/16/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Sep 16, 2019, 6:16:02 AM9/16/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Sep 17, 2019, 4:51:03 AM9/17/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR NW - Triage 2019-10-02

Gheorghe Popescu (JIRA)

unread,
Sep 18, 2019, 3:37:02 AM9/18/19
to puppe...@googlegroups.com

Gabriel Nagy (JIRA)

unread,
Sep 18, 2019, 10:30:04 AM9/18/19
to puppe...@googlegroups.com

Eric Johnson (JIRA)

unread,
Sep 25, 2019, 8:06:04 AM9/25/19
to puppe...@googlegroups.com

Gabriel Nagy (JIRA)

unread,
Oct 1, 2019, 3:13:03 AM10/1/19
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
 
Change By: Gabriel Nagy
Fix Version/s: FACT 3.13.z
Fix Version/s: FACT 3.11.z

Mihai Buzgau (JIRA)

unread,
Oct 1, 2019, 4:16:02 AM10/1/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 3.14.5

Jean Bond (JIRA)

unread,
Oct 10, 2019, 1:23:03 PM10/10/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added

Mihai Buzgau (JIRA)

unread,
Oct 11, 2019, 4:18:03 AM10/11/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 3.13.z
Fix Version/s: FACT 3.11.z
Fix Version/s: FACT 3.11.10
Fix Version/s: FACT 3.13.4

James Wen (JIRA)

unread,
Nov 4, 2019, 3:35:03 PM11/4/19
to puppe...@googlegroups.com
James Wen commented on Bug FACT-2018
 
Re: Google Compute Engine metadata facts need endpoint change

Just curious, why was this fix for removing/updating the calls to the legacy GCE metadata endpoints not added to the 3.12.x release line?

Mihai Buzgau (JIRA)

unread,
Nov 5, 2019, 8:45:04 AM11/5/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2019-10-02 , PR - Triage

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:51:06 AM11/5/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: NW - 2019-10-02 , ready for triage
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages