cpu-power constraint conflicts with with instance-type when trying to launch a t2.medium

Bug #1489142 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Katherine Cox-Buday
juju-core
Fix Released
High
Katherine Cox-Buday
1.24
Fix Released
Critical
Katherine Cox-Buday
1.25
Fix Released
High
Katherine Cox-Buday

Bug Description

We're trying to launch a t2.medium on AWS and running into some weirdness:

    $ juju deploy cassandra --constraints="instance-type=t2.medium" -n 3
     juju status --format yaml cassandra
    environment: aws-west-2
    machines:
      "9":
        agent-state-info: no instance types in us-west-2 matching constraints "cpu-power=100
        instance-type=t2.medium"
        instance-id: pending
        series: trusty
      "10":
        agent-state-info: no instance types in us-west-2 matching constraints "cpu-power=100
        instance-type=t2.medium"
        instance-id: pending
        series: trusty
      "11":
         agent-state-info: no instance types in us-west-2 matching constraints "cpu-power=100
         instance-type=t2.medium"
         instance-id: pending
        series: trusty

Ok so weird, it thinks we want something with cpu-power=100 and that doesn't match, so let's be explicit:

    $ juju deploy cassandra --constraints="cpu-power=0 instance-type=t2.medium" -n 3
    Added charm "cs:trusty/cassandra-3" to the environment.
    ERROR ambiguous constraints: "cpu-power" overlaps with "instance-type"

How do we launch a t2.medium?

Tags: constraints
Jorge Castro (jorge)
summary: - cpu-power constraint conflicts with with instance-type
+ cpu-power constraint conflicts with with instance-type when trying to
+ launch a t2.medium
Curtis Hovey (sinzui)
tags: added: constraints
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.25-beta1
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

Currently under review.

PR is here: https://github.com/juju/juju/pull/3259
Review is here: http://reviews.vapour.ws/r/2638/diff/#

Changed in juju-core:
milestone: 1.25-beta1 → 1.26.0
assignee: nobody → Katherine Cox-Buday (cox-katherine-e)
status: Triaged → In Progress
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

Forward ports currently under review (reviews have links to PR):
1.25:
- http://reviews.vapour.ws/r/2715/

master:
- http://reviews.vapour.ws/r/2716/

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Changed in juju-core:
milestone: 1.26.0 → 2.0-alpha1
affects: juju-core → juju
Changed in juju:
milestone: 2.0-alpha1 → none
milestone: none → 2.0-alpha1
Changed in juju-core:
assignee: nobody → Katherine Cox-Buday (cox-katherine-e)
importance: Undecided → High
status: New → Fix Released
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.