Can't deploy bundle when existing model has subordinates without relations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey |
Bug Description
Juju 2.3-rc2-
When I try to deploy a bundle with --map-machines=
+ juju deploy ./bundle.yaml --map-machines=
ERROR cannot deploy bundle: getting application constraints: constraints do not apply to subordinate applications
The bundle contains several applications, relating them to telegraf:
series: xenial
services:
haproxy:
...
telegraf:
charm: "./charms/telegraf"
series: xenial
expose: true
relations:
- [livepatch-health, haproxy]
- ["livepatch-
- ["telegraf:
- ["telegraf:
- ["telegraf:
- [livepatch-health, "prometheus:
machines:
"0":
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.3.1 |
Changed in juju: | |
milestone: | 2.3.1 → none |
Changed in juju: | |
milestone: | none → 2.3.2 |
summary: |
- Can't deploy bundle when existing model has subordinates on controller - <= 2.2.6 + Can't deploy bundle when existing model has subordinates without + relations |
Changed in juju: | |
assignee: | nobody → Tim Penhey (thumper) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
tags: | added: canonical-bootstack |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Controller info:
ubuntu@ deployer: ~/livepatch$ juju controllers
Use --refresh flag with this command to see the latest information.
Controller Model User Access Cloud/Region Models Machines HA Version
manual* default admin superuser manual 2 1 none 2.2.6