name: osm
applications:
zookeeper:
charm: zookeeper-k8s
channel: latest/stable
scale: 1
storage:
data: 100M
lcm:
charm: osm-lcm
channel: latest/beta
series: jammy
scale: 1
options:
database-commonkey: osm
log-level: DEBUG
resources:
lcm-image: opensourcemano/lcm:testing-daily
Output:
juju deploy ./osm.zip --trust
Located charm "osm-lcm" in charm-hub, channel beta
Located charm "zookeeper-k8s" in charm-hub, channel stable
Executing changes:
- upload charm osm-lcm from charm-hub for series jammy from channel latest/beta with architecture=amd64
- deploy application lcm from charm-hub on jammy with latest/beta using osm-lcm
added resource lcm-image
- upload charm zookeeper-k8s from charm-hub from channel latest/stable with architecture=amd64
- deploy application zookeeper from charm-hub with latest/stable using zookeeper-k8s
added resource zookeeper-image
- add unit lcm/0 to new machine 0
ERROR cannot deploy bundle: cannot add unit for application "lcm": adding units to a container-based model not supported (not supported)
Here, tried again with the following contents:
charm metadata.yaml
assumes:
- any_of:
- juju >= 2.9
- k8s-api
In bundle.yaml:
name: osm commonkey: osm lcm:testing- daily
applications:
zookeeper:
charm: zookeeper-k8s
channel: latest/stable
scale: 1
storage:
data: 100M
lcm:
charm: osm-lcm
channel: latest/beta
series: jammy
scale: 1
options:
database-
log-level: DEBUG
resources:
lcm-image: opensourcemano/
Output:
juju deploy ./osm.zip --trust
Located charm "osm-lcm" in charm-hub, channel beta
Located charm "zookeeper-k8s" in charm-hub, channel stable
Executing changes:
- upload charm osm-lcm from charm-hub for series jammy from channel latest/beta with architecture=amd64
- deploy application lcm from charm-hub on jammy with latest/beta using osm-lcm
added resource lcm-image
- upload charm zookeeper-k8s from charm-hub from channel latest/stable with architecture=amd64
- deploy application zookeeper from charm-hub with latest/stable using zookeeper-k8s
added resource zookeeper-image
- add unit lcm/0 to new machine 0
ERROR cannot deploy bundle: cannot add unit for application "lcm": adding units to a container-based model not supported (not supported)