Devel state server switches to devel streams even when they are not useful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Christian Muirhead | ||
juju-core |
Won't Fix
|
Medium
|
Unassigned | ||
1.25 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The true cause is that juju automatically uses devel streams for devel jujus.
When you upgrade a state server from release to devel, and it was previously using released streams, it switches to devel streams. Those devel streams may not contain the agent for that release. If they do not, the remaining juju agents will be unable to upgrade.
Note that it is legitimate for released streams to contain devel agents. Our "devel" URL works that way:
http://
http://
One way to avoid this issue would be a "fall back" approach. Instead of using devel streams only, devel jujus could fall back to devel streams if the released streams did not contain the desired agent.
ORIGINAL DESCRIPTION
As seen here:
http://
This test was performed with very small streams, containing just the source and target agents, but since the state-server was able to upgrade, it seems unlikely that the streams were at fault. Perhaps the small size revealed a timing issue.
ure
The stream releases file is here:
https:/
The machine log shows that the uniter contains "upgrade requested from 1.20.11-
... ERROR ... "upgrader": no matching tools available"
This does not always happen; an earlier run with the 1.25 branch showed success:
http://
summary: |
- Only state-server upgrades 1.20 to master + Only state-server upgrades from 1.20 |
summary: |
- Only state-server upgrades from 1.20 + Devel state server switches to devel streams even when they are not + useful |
description: | updated |
Changed in juju-core: | |
importance: | High → Medium |
milestone: | 1.26.0 → none |
tags: | added: streams |
tags: | added: simplestreams |
affects: | juju-core → juju |
Changed in juju-core: | |
importance: | Undecided → Medium |
status: | New → Won't Fix |
Changed in juju: | |
assignee: | nobody → Christian Muirhead (2-xtian) |
status: | Triaged → In Progress |
milestone: | none → 2.3-beta2 |
Changed in juju: | |
milestone: | 2.3-beta2 → none |
This is resolved by falling back across devel, proposed and released streams as suggested.
https:/ /github. com/juju/ juju/pull/ 8092