-
Bug
-
Resolution: Done
-
Medium
-
None
While on Pod 20 when doing a `make install` after PXE boot the node 1 server being provisioned gets stuck in a loop. While inspecting `/opt/ironic/html/images` there is no ironic-python-agent.kernel or headers in that directory. When looking at the docker logs of the `ipa-downloader` I can see that curl can't connect to download the image.
The following command fails to run and is where the container is trying to pull the image. That link is no longer valid..
curl -g --verbose --dump-header ironic-python-agent.tar.headers -O https://images.rdoproject.org/master/rdo_trunk/current-tripleo//ironic-python-agent.tar
You can get around this by editing `env/metal3/03_launch_prereq.sh` and at line 167 adding the following which is a link to what appears to be the latest `ironic-python-agent.tar` file
IPA_BASEURI=[https://images.rdoproject.org/train/rdo_trunk/current-tripleo
]
On a side not the original non working rdo URL is hardcoded in the `env/ubuntu/bootloader-env/01_bootloader_package_req.sh` script at Line 104.
01_bootloader_package_req.sh
99 function download_build_packages {
100 check_curl
101 pushd $BUILD_DIR
102 if [ ! -f ironic-python-agent.initramfs ]; then
{{103 curl --insecure --compressed }}
104 -L https://images.rdoproject.org/master/rdo_trunk/current-tripleo-rdo/ironic-python-agent.tar | tar -xf -
105 fi
106
107 if [[ "$BM_IMAGE_URL" && "$BM_IMAGE" ]]; then
108 curl -o ${BM_IMAGE} --insecure --compressed -O -L ${BM_IMAGE_URL}