crowbar/barclamp-test — pull request #40 by cloudedge (2013-07-23 14:14:05+00:00)
Title: Annealer cycle runs from UI [2/2]

This pull fixes a few bugs that were blocking the annealer from running
1) %x incorrect for test barclamp
2) not deleting nodes correctly
3) added cycle method for snapshot

There are currently TWO paths for the annealer > node_role and snapshot.
We should resolve this shortly. For now, the real action is not in that code.

My testing includes creating nodes using the erlang simulator: dev:pop()

This command (in erlang) will setup a 5 node system with the default roles.

To run the annealer,
1) go to your deployment and select the committed snapshot
2) click the "to do actions" button
3) that puts one node-role into transistioning
4) click back to snapshot to admire the grid UI
5) go back to "to do actions"
6) click "run cycle" to execute the annealer (the first action Script jig and slow)
7) repeat and profit

We have not yet added code that transitions the snapshot to active when all
node-roles are ready. That is next.

.../barclamp_test/app/models/barclamp_test/jig.rb | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: 1a38f4d27d34d3bee8783ac800982da3e56dbadc

Crowbar-Release: development