When deploying a subordinate charm, it simply ignores a series explicitly being set in bundle (and machine of primary charm, as well). I have a locally stored bundle [1], and while deploying it, I'm getting a following error while trying to establish a relation:
ERROR cannot deploy bundle: cannot add relation between "nova-compute:neutron-plugin" and "neutron-openvswitch:neutron-plugin": cannot add relation "nova-compute:neutron-plugin neutron-openvswitch:neutron-plugin": principal and subordinate applications' series must match
It looks like Juju ignores an original series of primary charm and takes just first one from subordinate's metadata [2]; if I manually swap a "xenial" with "bionic" in metadata, redeploy a subordinate and try to establish relation - all is fine: [3] (also, if try to deploy Xenial machines - all is fine too, this reproduces on Bionic machines)
Expected behaviour:
Subordinate charm should take its series from primary machine series, or, at least, respect a bundle "series: ..." settings.
Problem statement:
When deploying a subordinate charm, it simply ignores a series explicitly being set in bundle (and machine of primary charm, as well). I have a locally stored bundle [1], and while deploying it, I'm getting a following error while trying to establish a relation:
ERROR cannot deploy bundle: cannot add relation between "nova-compute: neutron- plugin" and "neutron- openvswitch: neutron- plugin" : cannot add relation "nova-compute: neutron- plugin neutron- openvswitch: neutron- plugin" : principal and subordinate applications' series must match
It looks like Juju ignores an original series of primary charm and takes just first one from subordinate's metadata [2]; if I manually swap a "xenial" with "bionic" in metadata, redeploy a subordinate and try to establish relation - all is fine: [3] (also, if try to deploy Xenial machines - all is fine too, this reproduces on Bionic machines)
Expected behaviour:
Subordinate charm should take its series from primary machine series, or, at least, respect a bundle "series: ..." settings.
[1] https:/ /paste. ubuntu. com/p/KR3Cyt8qn 2/ /paste. ubuntu. com/p/KNzhrxVVN r/ /paste. ubuntu. com/p/G9tHKyqPz k/
[2] https:/
[3] https:/
Environment: /paste. ubuntu. com/p/vgrGVvgCT p/
Juju macOS 2.4.3-mojave-amd64 (same on Ubuntu 2.4.3-bionic-amd64)
Controller: https:/