Closed abelfodil closed 1 month ago
Issue is now fixed. Feel free to close if you think long-term action is not needed.
Hi @abelfodil - I don't think there is anything for us to action here. I see that https://update.k3s.io/v1-release/channels is protected by Cloudflare and I suspect your request was being blocked by Cloudflare at the time.
Summary
Ensure the release version is set as a fact
step is failing due to error{"msg": "'dict object' has no attribute 'json'"}
.Upon inspection of https://update.k3s.io/v1-release/channels, it seems the json format is not respected anymore when headers are supplied.
e.g. running
curl --header "Accept: application/json" https://update.k3s.io/v1-release/channels
yields an HTML page with JS code.Issue Type
Steps to Reproduce
Set
k3s_release_version: v1.29
which will trigger the pre-checks and run into the issue.Expected Result
Actual Result
Fix
A possible fix is to not check the version at all and instead use the following links:
https://update.k3s.io/v1-release/channels/{{k3s_release_version}}
link which will lead to the latest version of that release family.https://update.k3s.io/v1-release/channels/stable
https://update.k3s.io/v1-release/channels/latest