-
Notifications
You must be signed in to change notification settings - Fork 34
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
[RFE] Azure Stack images/support #1234
Comments
Hello @tla5 thanks for the complete report. I wrote the Ignition IMDS Azure fetching and indeed I recall that it can return a status code 200 with an empty config, that's why there is a check on the length received which triggers the fallback on custom data. |
I think it fails because
In this case, if we're using I'm wondering if we could not merge |
Some of the historical discussion about azure vs azurestack support in Fedora CoreOS could be useful here. |
Thank you for your investigation!
This could be done by querying the IMDS' compute endpoint, which returns a specific |
Hello, I'm opening this issue as recommended on the Matrix Flatcar channel.
Current situation
From what I can tell, the Azure Flatcar image cannot reliably be used out of the box on Azure Stack due to issues related to Ignition: the provider being set to
azure
, Ignition attempts to get its configuration from theuserData
property through the IMDS API (code).This attribute is not available on Azure Stack yet, but IMDS still replies to Ignition which causes
ignition-fetch
to hang (and the VM to stay stuck in a perpetualCreating
state).Impact
Flatcar Azure images cannot be used on Azure Stack, and no off-the-shelf alternative is proposed as far as I know.
Ideal future situation/Implementation options
It would be good to have either official images configured for Azure Stack, or a way to customize the existing Azure image to change Ignition's provider configuration from
azure
toazurestack
(i.e. by patching the OEM partition).Additional information
Here are some relevant logs from an attempt at running an Azure Stack-hosted Flatcar VM using
flatcar_production_azure_image.vhd
Running a query from another VM hosted on that Azure Stack instance to the IMDS service yields the following:
Interestingly, the response is empty but, despite what's commented in the Ignition provider, it doesn't seem to fall back to the OVF device method.
The text was updated successfully, but these errors were encountered: