-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
needs-triageIndicates an issue lacks a `triage/foo` label and requires one.Indicates an issue lacks a `triage/foo` label and requires one.
Description
When our provisioning Kubernetes server reboots, the ironic pod is restarted. However, after the restart, the ironic ipa downloader script fails, so the pod don't restart properly.
We currently use this image: quay.io/metal3-io/ironic-ipa-downloader@sha256:e5bc96fc6f26145cad608554e97fb401eb335e45bc509fc5a176e1ccfb64e463
I've collected the failure.log log, and also a success.log log.
When the pod restarts, some files are already present in the /shared directory. Here is a listing.
After looking at the bash script in order the find the problem:
- I think I don't understand the logic between the cache and IPA base URI. To me, the
CACHEURLvariable is the location where to find the final images we install on the hosts, andIPA_BASE_URIis the location where to find the IPA image. So I don't understand why theCACHEURLis used in this script. In my case, both variables have the same value because my IPA image is stored on the same "server" as the OS images we install. - It seems that they are some mismatches for the IPA image directory name computation: sometimes the directory is computed with
${FILENAME_NO_EXT}-${ETAG}(e.g. https://github.com/metal3-io/ironic-ipa-downloader/blob/main/get-resource.sh#L75), sometimes with${FILENAME}-${ETAG}(e.g. https://github.com/metal3-io/ironic-ipa-downloader/blob/main/get-resource.sh#L91). - https://github.com/metal3-io/ironic-ipa-downloader/blob/main/get-resource.sh#L69: the
cpcommand never executes, I don't understand under which condition it could execute
Metadata
Metadata
Assignees
Labels
needs-triageIndicates an issue lacks a `triage/foo` label and requires one.Indicates an issue lacks a `triage/foo` label and requires one.