diff-bundle does not support cross-model relations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Unassigned |
Bug Description
On a model that contains cross-model relations:
$ juju export-bundle > /tmp/exported-
$ juju diff-bundle --debug /tmp/exported-
22:04:02 INFO juju.cmd supercommand.go:57 running juju [2.6.8 gc go1.10.4]
22:04:02 DEBUG juju.cmd supercommand.go:58 args: []string{
22:04:02 INFO juju.juju api.go:67 connecting to API addresses: [<REDACTED>]
22:04:02 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
22:04:02 INFO juju.api apiclient.go:624 connection established to "wss://
22:04:02 INFO juju.juju api.go:303 API endpoints changed from [<REDACTED>] to [<REDACTED>]
22:04:02 DEBUG juju.api monitor.go:35 RPC connection died
ERROR the provided bundle has the following errors:
relation ["nagios:monitors" "nrpe-controlle
relation ["prometheus:
relation ["graylog:beats" "filebeat-
relation ["landscape-
22:04:02 DEBUG cmd supercommand.go:496 error stack:
/build/
relation ["nagios:monitors" "nrpe-controlle
relation ["prometheus:
relation ["graylog:beats" "filebeat-
relation ["landscape-
/build/
If I manually remove the cross-model relations from the exported bundle, the diff completes successfully.
Changed in juju: | |
status: | Fix Committed → Fix Released |
This is supported in 2.7 with the cross model relation support added to the bundles syntax and commands.