deploy incompatible charm using --to should error earlier

Bug #1524527 reported by Ian Booth
6
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).

Tags: 2.0-count
Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-alpha2 → 1.26-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.