export-bundle does not export charmhub charms appropriately, leading to an unusable bundle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Simon Richardson |
Bug Description
juju export-bundle exports the revision of a CharmHub charm, where it should export the channel instead.
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
default tuesday localhost/localhost 2.9-rc6.1 unsupported 16:39:57Z
App Version Status Scale Charm Store Rev OS Message
nrpe blocked 2 nrpe charmhub 70 ubuntu Nagios server not configured or related
ntp 4.2.8p4+dfsg active 2 ntp charmhub 45 ubuntu ntp: Ready, time sync disabled in container
ubuntu 16.04 active 2 ubuntu charmhub 18 ubuntu ready
Unit Workload Agent Machine Public address Ports Message
ubuntu/0* active idle 0 10.74.147.22 ready
nrpe/6 blocked idle 10.74.147.22 icmp,5666/tcp Nagios server not configured or related
ntp/0* active idle 10.74.147.22 123/udp ntp: Ready, time sync disabled in container
ubuntu/1 active idle 1 10.74.147.76 ready
nrpe/4* blocked idle 10.74.147.76 icmp,5666/tcp Nagios server not configured or related
ntp/1 active idle 10.74.147.76 123/udp ntp: Ready, time sync disabled in container
Machine State DNS Inst id Series AZ Message
0 started 10.74.147.22 juju-0a1d54-0 xenial Running
1 started 10.74.147.76 juju-0a1d54-1 xenial Running
$ juju export-bundle
applications:
nrpe:
charm: ch:amd64/
series: bionic
ntp:
charm: ch:amd64/
series: bionic
ubuntu:
charm: ch:amd64/
series: xenial
num_units: 2
to:
- "0"
- "1"
constraints: arch=amd64
machines:
"0":
constraints: arch=amd64
series: xenial
"1":
constraints: arch=amd64
series: xenial
relations:
- - ntp:juju-info
- ubuntu:juju-info
- - nrpe:general-info
- ubuntu:juju-info
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 12638