$ juju deploy --force ./kinetic-mysql.yaml
Located charm "mysql-innodb-cluster" in charm-hub, channel 8.0/stable
Executing changes:
- upload charm mysql-innodb-cluster from charm-hub for series kinetic from channel edge with architecture=amd64
- deploy application mysql-innodb-cluster from charm-hub on kinetic with edge
added resource mysql-shell
- add unit mysql-innodb-cluster/0 to new machine 0
- add unit mysql-innodb-cluster/1 to new machine 1
- add unit mysql-innodb-cluster/2 to new machine 2
Deploy of bundle completed.
$ juju deploy --force ./kinetic-mysql.yaml
Located charm "mysql-innodb-cluster" in charm-hub, channel 8.0/stable
Executing changes:
- upload charm mysql-innodb-cluster from charm-hub for series kinetic from channel edge with architecture=amd64
- deploy application mysql-innodb-cluster from charm-hub on kinetic with edge
added resource mysql-shell
- add new machine 0
- add new machine 1
- add new machine 2
- add unit mysql-innodb-cluster/0 to new machine 0
ERROR cannot deploy bundle: cannot add unit for application "mysql-innodb-cluster": acquiring machine to host unit "mysql-innodb-cluster/0": canno
t assign unit "mysql-innodb-cluster/0" to machine 0: series does not match
Hi,
Unfortunately using edge isn't working with --force on kinetic.
I have a simple bundle that can be deployed against the local provider in 2 scenarios to recreate this:
1) deployed applications result in jammy instances being deployed for edge channels
$ cat kinetic-mysql.yaml innodb- cluster: innodb- cluster
series: kinetic
applications:
mysql-
charm: ch:mysql-
num_units: 3
channel: edge
$ juju deploy --force ./kinetic- mysql.yaml innodb- cluster" in charm-hub, channel 8.0/stable cluster from charm-hub for series kinetic from channel edge with architecture=amd64 cluster from charm-hub on kinetic with edge cluster/ 0 to new machine 0 cluster/ 1 to new machine 1 cluster/ 2 to new machine 2
Located charm "mysql-
Executing changes:
- upload charm mysql-innodb-
- deploy application mysql-innodb-
added resource mysql-shell
- add unit mysql-innodb-
- add unit mysql-innodb-
- add unit mysql-innodb-
Deploy of bundle completed.
$ juju status --format=yaml|grep jammy
series: jammy
series: jammy
series: jammy
series: jammy
2) deploy kinetic machines first, then deploy applications to the machines
$ cat bundle.yaml innodb- cluster: innodb- cluster
series: kinetic
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
applications:
mysql-
charm: ch:mysql-
num_units: 3
to:
- '0'
- '1'
- '2'
channel: edge
$ juju deploy --force ./kinetic- mysql.yaml innodb- cluster" in charm-hub, channel 8.0/stable cluster from charm-hub for series kinetic from channel edge with architecture=amd64 cluster from charm-hub on kinetic with edge cluster/ 0 to new machine 0 innodb- cluster" : acquiring machine to host unit "mysql- innodb- cluster/ 0": canno innodb- cluster/ 0" to machine 0: series does not match
Located charm "mysql-
Executing changes:
- upload charm mysql-innodb-
- deploy application mysql-innodb-
added resource mysql-shell
- add new machine 0
- add new machine 1
- add new machine 2
- add unit mysql-innodb-
ERROR cannot deploy bundle: cannot add unit for application "mysql-
t assign unit "mysql-