[ICN-490] The ironic-python-agent.tar link on http://images.rdoproject.com is gone which breaks bare metal deploy Created: 28/Oct/20  Updated: 17/Dec/20  Resolved: 11/Nov/20

Status: Done
Project: Integrated Cloud Native NFV
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Eric Adams Assignee: Todd Malsbary
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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}

 



 Comments   
Comment by Todd Malsbary [ 03/Nov/20 ]

https://gerrit.akraino.org/r/c/icn/+/3869

Generated at Sat Feb 10 06:00:23 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.