Repository navigation
Conversation
The Ironic devstack plugin hardcodes http://download.cirros-cloud.net for its CirrOS images. That host often times out from GitHub runners, and `stack.sh` fails after about five minutes of retries. Download the `uec.tar.gz` and `disk.img` images from GitHub Releases into `devstack/files/` before `stack.sh`. Devstack skips its own `wget` when the file already exists. The version comes from `CIRROS_VERSION` in `conf_overrides`, or from devstack's `stackrc`. A failed download logs a warning and leaves devstack to fetch the image itself. Add the opt-out input `prefetch_cirros` and document it in `README.md`. Assisted-By: Claude
mandre
reviewed
Nov 23, 2026
mandre
left a comment
Contributor
There was a problem hiding this comment.
I just noticed that devstack uses the cirros github releases for its download URLs:
https://opendev.org/openstack/devstack/src/commit/6085a27cb365a92a58c813039fabc656add16d7c/stackrc#L682
So, with this new finding I wonder if that's not better to just update the ironic devstack plugin to use github rather than download.cirros-cloud.net.
mandre
reviewed
Nov 26, 2026
mandre
left a comment
Contributor
There was a problem hiding this comment.
Discussed in slack at https://kubernetes.slack.com/archives/C05G4NJ6P6X/p1795364421969969.
We think that https://review.opendev.org/c/openstack/ironic/+/1016987 might be a better approach.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Ironic devstack plugin hardcodes
http://download.cirros-cloud.netfor its CirrOS images. That host often times out from GitHub runners: in an openstack-exporter baremetal job,wgetfailed withConnection timed outon IPv4 andNetwork is unreachableon IPv6, retried for about five minutes, andstack.shexited withNot found. The same job passed on a rerun.This adds a step before
stack.shthat downloadscirros-<version>-<arch>-uec.tar.gzand-disk.imgfrom GitHub Releases intodevstack/files/. Devstack skips its ownwgetwhen the file already exists. The version comes fromCIRROS_VERSIONinconf_overrides, or from devstack'sstackrc; the arch fromCIRROS_ARCHoruname -m. A failed download logs a warning and devstack fetches the image itself.Assisted-By: Claude