bootstrapping juju installs 'core' but 'juju-db' depends on 'core18'
Bug #1920033 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Simon Richardson | ||
2.9 |
Fix Released
|
High
|
Simon Richardson | ||
3.0 |
Fix Released
|
High
|
Simon Richardson |
Bug Description
I was debugging time to 'snap install juju-db' in fresh containers, and I was surprised that 'snap install juju-db' was faster than 'snap install core; snap install juju-db'.
This is because in Focal images, 'core18' is there by default, and juju-db itself doesn't depend on 'core' but only depends on 'core18'.
So we are wasting a significant amount of disk space and download time installing the 'core' snap that isn't even needed.
We should either only target 'juju-db' in which case it will pull down whatever base it needs, or update our code to install core18 rather than core.
Changed in juju: | |
milestone: | none → 2.8.11 |
assignee: | nobody → Simon Richardson (simonrichardson) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'll tackle this when refactoring snap install retries and remove core from the install commands.