juju2.0beta10: websockets API usability Application Deploy failure to inform of required addCharm pre-requisite
Bug #1597941 reported by
Chad Smith
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
High
|
Unassigned |
Bug Description
In beta10 we broke websockets API consumers by requiring that Client AddCharm be called before Application Deploy. Beta9 took care of this under the hood and now our api call chains have to discover why application deploy errors out with the following message:
{u'error': {u'message': u'charm "cs:trusty/
When we break api contracts, is there a possibility that we can add slightly more informational error messages which might point api consumers to the "missing" AddCharm method call that they might need to call?
tags: | removed: kanban-cross-team |
Changed in juju-core: | |
milestone: | none → 2.0-beta12 |
importance: | Undecided → Critical |
status: | New → Triaged |
tags: | added: 2.0 |
Changed in juju-core: | |
importance: | Critical → High |
milestone: | 2.0-beta12 → 2.0-beta13 |
Changed in juju-core: | |
milestone: | 2.0-beta13 → 2.0-beta14 |
Changed in juju-core: | |
milestone: | 2.0-beta14 → none |
To post a comment you must log in.
Also keep in mind that if you do not perform the Resources. AddPendingResou rces prior to deploying your charm those resources will not be made available during deployment. So both of those should highlighted in the error message if possible