Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Removing unit which cannot be removed shows no error #3912

Open
mdavis-xyz opened this issue Apr 9, 2019 · 3 comments
Open

Removing unit which cannot be removed shows no error #3912

mdavis-xyz opened this issue Apr 9, 2019 · 3 comments

Comments

@mdavis-xyz
Copy link

mdavis-xyz commented Apr 9, 2019

Steps to reproduce

  1. Add a model such that one unit is the subordinate of another (e.g. ntp and ubuntu)
  2. Try to remove that subordinate unit with a command juju remove-unit ntp/0.
  3. It says: removing unit ntp/3 failed: unit "ntp/3" is a subordinate
  4. Try to remove that unit in the GUI

Expected behavior

The webui should throw an error message saying that the unit cannot be removed because it is a subordinate.
This should appear when you click commit (or before)

Actual behavior

Nothing happens. The flow is the same as a successful removal.
Nothing is shown to the user to make them suspect that the removal was not successful, other than the fact that the unit is still there.

@hatched
Copy link
Contributor

hatched commented Apr 15, 2019

Dev investigation needed

This notification used to exists, did it get removed or is it just broken?

@clagom
Copy link

clagom commented Jul 2, 2019

@hatched did we discover if it was removed or broken?

@hatched
Copy link
Contributor

hatched commented Jul 2, 2019

Nope

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants