guiserver reports second bundle as failing after the first fails

Bug #1252301 reported by Richard Harding
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-deployer
Fix Released
Undecided
Francesco Banconi
juju-gui (Juju Charms Collection)
Fix Released
High
Francesco Banconi

Bug Description

When QA'ing the UI notices to the user it was brought up that if you schedule two bundles in a row, when the first fails, it will report the second as an error as well even though it continues and succeeds.

Steps to reproduce (in lxc or ec2)

Deploy the gui
Deploy the discource bundle[1]
Deploy the jenkins bundle[2]

Wait for the discourse bundle to error out (20+min)
Notice the failure message for the discourse deployment
Then the jenkins deployment will be reported as in Error as well.

The jenkins deployment continues on and completes without any further notifications.

In tracing the websocket frames, the Error field was empty and it was in fact for both deployment ids 0 and 1.

[1] https://jujucharms.com/fullscreen/search/bundle/~jorge/discourse/5/discourse-simple/?text=jorge
[2] https://jujucharms.com/fullscreen/search/bundle/~jorge/jenkins/5/jenkins-scalable/?text=jorge

Related branches

Revision history for this message
Francesco Banconi (frankban) wrote :

The deployer does not allow bundle deployments if a unit in the environment is in an error state.
In this case, an exception without a message is returned by the deployer, and that's why the error field was empty: now it should be "no further details available" or similar.

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

two bugs here per se.. one is deployments should only be considered in isolation, if there is violation of that isolation it should be a pre/validation check. so only the set of units that are part of the deployment to be considered.

second bug is unrelated, but report/reminder per irc, that the gui wants to continue on in the face of unit errors and that should be an option for embedded gui server use.

Revision history for this message
Antonio Rosales (arosales) wrote :

>second bug is unrelated, but report/reminder per irc, that the gui wants to continue on in the face of unit errors and that should >be an option for embedded gui server use.

+1 for being able to pass an option to continue deploying in spite of unit errors. Perhaps this could be the default with utilizing the deployer with bundles.

-thanks,
Antonio

Revision history for this message
Jorge Castro (jorge) wrote :

Kapil's "second bug" has been reported here: https://bugs.launchpad.net/juju-deployer/+bug/1279075

Changed in juju-deployer:
status: New → In Progress
Changed in juju-gui (Juju Charms Collection):
status: Triaged → In Progress
assignee: nobody → Francesco Banconi (frankban)
Changed in juju-deployer:
assignee: nobody → Francesco Banconi (frankban)
Changed in juju-deployer:
milestone: none → 0.3.2
Changed in juju-deployer:
status: In Progress → Fix Released
Changed in juju-gui (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in juju-gui (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.