megawatcher delta is missing data (service & relation)

Bug #1585361 reported by Jeff Pihach on 2016-05-24
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju
High
Unassigned

Bug Description

Using Juju2 master as of this bug report (2.0-beta8-trusty-amd64).

To reproduce this issue:

  juju bootstrap awstest aws --upload-tools --config default-series=trusty
  juju deploy juju-gui
  juju deploy cs:~dataart-telco-practice/bundle/dataart-telco-demo-13
  juju expose juju-gui

Now wait for the GUI to come up and open it to watch the bundle come up.
After almost everything comes up ("mesos-restcom" never did come out of pending for me).
Delete Sipp in the GUI.
Commit the changes.
The Sipp service icon will turn red with a 'stop' hook error.

Switch to the CLI and run:

  juju deploy cs:~dataart-telco-practice/bundle/dataart-telco-demo-13

The bundle deploy will fail with an error:

  ERROR cannot deploy bundle: cannot expose service sipp: cannot set exposed flag for service "sipp" to true: not found or not alive

Go back to the GUI and go into the inspector for Sipp and resolve the error for the unit.
Once the service disappears off the canvas go to the CLI and run:

  juju deploy cs:~dataart-telco-practice/bundle/dataart-telco-demo-13

Wait for it to complete and open the browser console for the GUI (ctrl+shift+i).
Refresh the GUI.
You'll see an error "Units added without matching Service"

This is because the initial delta is missing the Sipp service but including one of the relations and the unit. The GUI will now become mostly unresponsive because it's expecting valid data to have been returned.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Curtis Hovey (sinzui) on 2016-08-23
affects: juju-core → juju
Changed in juju:
milestone: none → 2.1.0
Anastasia (anastasia-macmood) wrote :

Removing 2.1 milestone as we will not be addressing this issue in 2.1.

Changed in juju:
milestone: 2.1-rc2 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers