constraints should be validated

Bug #1237626 reported by Kapil Thangavelu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth

Bug Description

Generic constraints map to an instance type, an unsolved instance type should result in an error at deploy/constraint set time. This problem only increases as we get to parity around constraints (instance-type, zone, etc). In all of these cases the provider vocabulary for the constraint is either introspectable or static in the code, and should be validated against the provider vocabulary when the constraint is set rather than resulting in a pending forever instance. In some cases constraints are dynamic so the async feedback mechanism (status collection) will need to be utilized for runtime provider vocabulary changes.

Related branches

Curtis Hovey (sinzui)
affects: juju → juju-core
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Low
Curtis Hovey (sinzui)
tags: added: constraints tech-debt
Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
importance: Low → High
milestone: none → 1.20.0
Ian Booth (wallyworld)
Changed in juju-core:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
milestone: 1.20.0 → 1.19.1
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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