Add --trust arg to refresh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
When an active charm that was deployed without --trust is upgraded with a version that needs it, the install hook may fail with something like:
unit-avalanche-
Reason: Forbidden
HTTP response headers: HTTPHeaderDict(
HTTP response body: {"kind"
Currently, `refresh` does not support it:
ERROR option provided but not defined: --trust
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 3.1.1 → 3.1.2 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This seems reasonable. We'd also want to look at adding a --trust=false or --revoke-trust option.