deploy incompatible charm using --to should error earlier
Bug #1524527 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
Deploying a multi-series charm supporting say trusty and precise to a wily machine using the --to parameter:
$ juju deploy cs:mysql --to 1
The command runs ok, but then status shows an error for the unit:
cannot assign unit "mysql/0" to machine 1: series does not match
This is too late. The deploy command should exist with an error in the first place (unless --force is used).
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | 2.0-alpha2 → 1.26-alpha3 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: 2.0-count |
To post a comment you must log in.