-
Notifications
You must be signed in to change notification settings - Fork 450
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
fetching metadata on VMs with pre-defined user-data of Alibaba Cloud causing a never-end recursion, maybe other Cloud Service Providers are affected too #1765
Labels
Comments
ETiV
added
Status: Untriaged
An issue that has yet to be triaged.
Type: Bug
Does not work as expected.
labels
Aug 10, 2022
10 tasks
Same issue.
|
This was referenced Jul 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
On Alibaba Cloud, the user-data API (URL:
http://100.100.100.200/2016-01-01/user-data
) responds the cloud-init config file in a multi-lined plain text way, and the first line is#cloud-config
( or#!/bin/bash
) , which caused the URL will be requested later becomeshttp://100.100.100.200/2016-01-01/user-data/#cloud-config
, the metadata API will respond the same content as before, so the recursion will never end.Ohai Version
I'm using GitLab: GitLab (latest, 15.2.2) -> chef (17.10.0) -> ohai (17.9.0)
Platform Version
VMs on Alibaba Cloud, but I think those Clouds having the same user-data responding logic will have the same issue.
Ohai Output
I'm sorry I'll put the output of GitLab here.
The text was updated successfully, but these errors were encountered: