Juju isn't protected from new versions of LXD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-release-tools |
Fix Released
|
High
|
Nicholas Skaggs | ||
juju-core (Ubuntu) |
Fix Released
|
Undecided
|
Nicholas Skaggs | ||
Xenial |
Fix Released
|
Undecided
|
Nicholas Skaggs | ||
Yakkety |
Fix Released
|
Undecided
|
Nicholas Skaggs |
Bug Description
Juju's autopkgtests don't execute when a new version of LXD is uploaded. This means a breaking change uploaded into LXD isn't caught before LXD lands.
This is because juju 2.0 doesn't depend on LXD directly, but instead lists it as a recommends. The juju-1 package, juju-local, depends on lxc directly and therefore the autopkgtests run during each new lxc upload. However, we are vulnerable for 2.0. Juju's autopkgtests do cover LXD and would provide protection if they were run.
To fix, we could list LXD as a depends on a package juju-core source package creates. This would run our tests and block incompatible LXD changes. Alternatively, we can explore ideas about checking proposed ourselves; however, the upload will not be blocked apart from a failing autopkgtest.
[SRU Information]
[Impact]
The addition of a dependency of LXD ensure juju binaries can only be built on platforms that also can build LXD and publish a package.
[Verification]
The debian control field lists LXD as a dependency. We should also see new adt runs of juju when LXD is uploaded.
[Regression Potential]
None.
[Other]
This should have no impact on end users of the package; the verification can be done by viewing juju-core source upload.
no longer affects: | juju-core-1 (Ubuntu) |
no longer affects: | juju-core |
Changed in juju-release-tools: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-release-tools: | |
status: | Triaged → In Progress |
Changed in juju-core (Ubuntu): | |
status: | New → In Progress |
Changed in juju-release-tools: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in juju-core (Ubuntu): | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in juju-release-tools: | |
status: | In Progress → Fix Released |
Changed in juju-core (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in juju-core (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in juju-core (Ubuntu Yakkety): | |
status: | New → In Progress |
Changed in juju-core (Ubuntu Yakkety): | |
status: | In Progress → Fix Released |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in juju-core (Ubuntu Xenial): | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
description: | updated |
As part of the fix for https:/ /bugs.launchpad .net/juju/ +bug/1614559, Juju now checks for LXD versions and will reject newer versions that it is not compatible with.