downloader: unexpected error if the repomgr.stx_mirror_strategy=upstream
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Jackie Huang |
Bug Description
Brief Description
-----------------
Setting repomgr.
NameError: name 'urstx_mirror' is not defined
Severity
--------
Minor
Steps to Reproduce
------------------
(1)
stx config --add repomgr.
stx config --upgrade
(2) Check stx.conf
grep stx_mirror_strategy stx.conf
(3) Run download in builder pod
downloader
Expected Behavior
------------------
downloader run successfully
Actual Behavior
----------------
Traceback (most recent call last):
File "/localdisk/
binary_
File "/localdisk/
self.
File "/localdisk/
self.
File "/localdisk/
ret = self.download(
File "/localdisk/
(dl_url, alt_dl_url) = utils.get_
File "/localdisk/
rt_url = urstx_mirror
NameError: name 'urstx_mirror' is not defined
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2023-11-28
Last Pass
---------
N/A
Timestamp/Logs
--------------
N/A
Test Activity
-------------
N/A
Workaround
----------
N/A
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 |
Changed in starlingx: | |
assignee: | nobody → Jackie Huang (jackie-huang) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /903132
Review: https:/