Removing a relation from the environment fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Invalid
|
Critical
|
Unassigned |
Bug Description
To dupe:
get trunk as of revno 208. Connect to trunk rapi-delta looking at the sample.json file. In the environment view, click on any of the relationship names. Confirm that you want to delete the relationship.
What happens:
The relation line turns orange. Then you see a notification in the notification area saying that the removal failed. The relation never returns to being black until the environment fully redraws. Rapidelta logs report the following error:
2012-10-28 20:22:31,604 juju.rapi.ws:INFO Process message {"op":"
2012-10-28 20:22:31,604 juju.rapi.ws:INFO Invoking method <bound method APIContext.
2012-10-28 20:22:31,605 juju.rapi.ws:INFO Returning results {u'endpoint_a': u'wordpress:db', u'endpoint_b': u'mysql:db', 'log': [], 'err': True, 'failure': 'Traceback (most recent call last):\n File "/home/
What should happen:
- If there is a server error, the relationship line should turn black again when we hear about it.
- We should really not see a server error here, of course. It seems we are specifying the relationship endpoints incorrectly.
I'm marking this critical because it potentially affects our user testing.
description: | updated |
Changed in juju-gui: | |
status: | Triaged → Invalid |
I'm unable to reproduce this, but I may be doing it wrong. Trunk looks to be at 208, not 210. Is there a different branch where I can try this?