juju-gui icon indicating copy to clipboard operation
juju-gui copied to clipboard

deploying to a container of nonexistent machine breaks the GUI

Open frankban opened this issue 8 years ago • 2 comments

Copied from https://bugs.launchpad.net/juju/+bug/1640499

When you run juju deploy application --to lxd:1 when lxd:1 doesn't exist gives very strange behavior.

What I expect: Either Juju throws an error, or it creates machine 1 for me.

What I get: Unit has broken "waiting for machine" state. Unit stays in that state even after creating machine 1 manually. When committing changes in the gui, regardless of what the changes are, the gui keeps on adding machines to the changelist until you click "deploy". This caused the model to request 164 machines from our maas cluster.

There are two when you have a model in this state:

  1. destroy the model from the gui
  2. destroy the application using the commandline

Juju version 2.0.1

frankban avatar Nov 10 '16 16:11 frankban

Is this still relevant?

clagom avatar Jul 02 '19 10:07 clagom

Investigation will be needed, however this issue is pretty narrow and wouldn't exist with the new GUI.

hatched avatar Jul 02 '19 16:07 hatched