Top level `series` not respected in bundle with local charms
Bug #1812237 reported by
Joseph Borg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
Low
|
Achilleas Anagnostopoulos |
Bug Description
Example bundle is attached.
When deploying a bundle with `series` set at the top level, the series is not respected by locally sourced charms. This means that, if you've set multiple series in the charm's `metadata.yaml`, you're likely to get a failure such as
`ERROR cannot deploy bundle: cannot add relation between "flannel:cni" and "kubernetes-
The only ways I can get around this is by either only setting 1 series in the `metadata.yaml` or by setting the series of local applications (at the application level) explicitly in the bundle yaml.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
assignee: | nobody → Achilleas Anagnostopoulos (achilleasa) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Incomplete |
To post a comment you must log in.
Is this still an issue? I haven't been able to reproduce it.
Here is what I have tried so far:
pulled kubernetes-master locally and set series to:
```
- xenial
- bionic
- qantal
```
I then tried deploying the following bundle (based off the attached cdk.yaml file):
``` flannel- 351 master: /charms/ kubernetes- master master: cni
description: A test bundle
series: bionic
services:
flannel:
charm: cs:~containers/
kubernetes-
charm: /home/achilleas
num_units: 1
relations:
- - flannel:cni
- kubernetes-
```
and I get the following output:
``` flannel- 351 flannel- 351 for series bionic flannel- 351 /charms/ kubernetes- master for series bionic /charms/ kubernetes- master -manager master: cni
Resolving charm: cs:~containers/
Executing changes:
- upload charm cs:~containers/
- deploy application flannel on bionic using cs:~containers/
added resource flannel-amd64
added resource flannel-arm64
added resource flannel-s390x
- upload charm /home/achilleas
- deploy application kubernetes-master on bionic using /home/achilleas
added resource cdk-addons
added resource kube-apiserver
added resource kube-controller
added resource kube-proxy
added resource kube-scheduler
added resource kubectl
- add relation flannel:cni - kubernetes-
- add unit kubernetes-master/0 to new machine 7
Deploy of bundle completed.
```