DIB_UBUNTU_MIRROR doesn't override the default archive server
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
charm-octavia-diskimage-retrofit | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Undecided
|
Unassigned | |||
snap-octavia-diskimage-retrofit |
Fix Committed
|
High
|
Unassigned |
Bug Description
In the retrofitting process, we can specify DIB_UBUNTU_MIRROR by `-m` switch but it doesn't override the default archive server.
As we can see in the following file it's *adding* the mirror instead of replacing the default server.
https:/
What happens in an environment with an archive mirror is that `apt update` inside the retrofitting process uses both archive.ubuntu.com and DIB_UBUNTU_MIRROR and it's blocked unnecessarily for waiting DNS timeout of querying archive.ubuntu.com and such. In the end, the whole process takes more than an hour easily.
Changed in snap-octavia-diskimage-retrofit: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snap-octavia-diskimage-retrofit: | |
status: | Triaged → Fix Committed |
no longer affects: | charm-octavia-diskimage-retrofit/2023.1 |
https:/ /github. com/openstack- charmers/ octavia- diskimage- retrofit/ pull/33