Local charm has channel specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
When deploying a juju bundle to a model with the bundle already deployed (to apply config changes), I get the following error:
```
ERROR cannot deploy bundle: application "filebeat": upgrades not supported across channels (existing: "stable", resolved: ""); use --force to override
```
Juju version: 2.9.27
Cloud: openstack
This is a mojo-controlled deployment with a collect phase, so all charms are deployed from local storage, however, they appear to be marked as coming from the stable channel:
```
(...)
filebeat:
charm: local:xenial/
series: xenial
os: ubuntu
charm-origin: local
charm-name: filebeat
charm-rev: 1
charm-channel: stable
(...)
```
The bundle itself does not specify the channel:
```
(...)
filebeat:
charm: {{ build_dir }}/../charms/{{ series }}/filebeat
options:
(...)
```
Changed in juju: | |
assignee: | nobody → Heather Lanigan (hmlanigan) |
milestone: | 2.9.30 → 2.9.31 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.9.30 → 2.9.31 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
It seems wrong to me that local charms are having the channel set.