errors can be misleading when environments are specified incorrectly
Bug #813831 reported by
William Reade
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
William Reade |
Bug Description
If you have (say) an orchestra environment specified, but missing a required field, the error raised during schema validation will complain about an invalid ec2 environment (because ec2 happens to be the first one specified in ensemble.
This is bad because, if someone has clearly specified an orchestra environment, they will be notably unimpressed to see an error complaining that their ec2 environment has not specified a control-bucket.
Related branches
lp://staging/~fwereade/pyjuju/config-selectdict
- Gustavo Niemeyer: Approve
- Kapil Thangavelu (community): Approve
-
Diff: 286 lines (+85/-29)4 files modifiedensemble/environment/config.py (+20/-26)
ensemble/environment/tests/test_config.py (+1/-1)
ensemble/lib/schema.py (+24/-0)
ensemble/lib/tests/test_schema.py (+40/-2)
Changed in ensemble: | |
status: | New → In Progress |
assignee: | nobody → William Reade (fwereade) |
milestone: | none → dublin |
Changed in ensemble: | |
importance: | Undecided → Medium |
Changed in ensemble: | |
status: | In Progress → Fix Committed |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.