Juju 2.x support does not transition status correctly.

Bug #1639840 reported by Eric Snow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fake Juju
Triaged
Medium
Unassigned

Bug Description

In 2.0.0/fake-juju.go, there is code (toward the bottom) that transitions the agent status for machines and units, as well as workload status for units. It does this in response to deltas coming from a watcher. The code makes calls to unit.SetStatus() and unit.SetAgentStatus(). The effective state transitions, presumably simulating what happens in the respective agents, are not working.

A number of things have changed in Juju 2.x (from 1.x). In this case, either fake-juju isn't making the correct transitions or Juju is reporting deltas in a different way that we're expecting.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

I'm attaching logs the demonstrate the state transitions.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
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.