crowbar/barclamp-crowbar — pull request #703 by VictorLowther (2013-09-24 15:30:11+00:00)
Title: IPV6, node availability, sledgehammer bootstrapping, delayed_jobs, oh my! [1/9]

Lots of changes in this pull request series:

* IPv6. All nodes on the admin network get a free shiny IPv6 address,
and the core services have been modified to work equally well over
IPv6 and IPv4 to the extent testable so far. By default, we create
an RFC4193 address range for the network, and synthesize the host
part of the address based on the node name.
* Delayed_jobs. Each individual jig run for a node role happens has a
delayed job. The annealer has been modified to ensure that we only
ever run 1 job per node at a time to ensure that we do not violate
ordering constraints, and we will run up to 10 jobs in parallel.
The converge API is gone -- the crowbar_converge command
demonstrates how to use anneal to drive a cluster towards a
converged state.
* Node aliveness and availability. Nodes have seperate notions of
aliveness (the node is reachable and is capable of running things)
and availability (the node is being managed by Crowbar.) Nodes must
be alive and available for the annealer to do anything with them.
* Sledgehammer bootstrapping. The annealer will attempt to run jobs
against nodes operating in Sledgehammer.

bin/barclamp_lib.rb | 7 +-
bin/crowbar_converge | 23 +-
bin/dev_mode.sh | 10 +-
crowbar.yml | 6 +-
crowbar_framework/Gemfile | 6 +-
.../app/controllers/application_controller.rb | 5 +-
.../app/controllers/node_roles_controller.rb | 40 +-
.../app/controllers/nodes_controller.rb | 11 +-
.../app/models/barclamp_crowbar/jig.rb | 151 ++--
crowbar_framework/app/models/chef_object.old | 64 --
crowbar_framework/app/models/client_object.old | 46 -
crowbar_framework/app/models/crowbar_service.old | 248 ------
crowbar_framework/app/models/node.rb | 34 +-
crowbar_framework/app/models/node_object.old | 897 --------------------
crowbar_framework/app/models/node_role.rb | 43 +-
crowbar_framework/app/models/role.rb | 6 +-
crowbar_framework/app/models/service_object.old | 484 -----------
.../app/views/deployments/_buttons.html.haml | 2 +-
crowbar_framework/app/views/nodes/_show.html.haml | 7 +-
.../app/views/support/bootstrap.html.haml | 4 +-
.../config/environments/production.rb | 2 +-
crowbar_framework/config/locales/crowbar/en.old | 571 -------------
crowbar_framework/config/locales/crowbar/en.yml | 3 +
crowbar_framework/config/routes.rb | 1 -
crowbar_framework/crowbar.pill | 13 -
.../db/migrate/20120731225516_create_nodes.rb | 3 +
crowbar_framework/lib/ip.rb | 34 +-
crowbar_framework/puma.cfg | 2 +-
.../test/unit/barclamp_attrib_model_test.old | 114 ---
etc/init.d/crowbar | 70 +-
setup/01-crowbar-rake-tasks.install | 3 +-
31 files changed, 260 insertions(+), 2650 deletions(-)

Crowbar-Pull-ID: fda77fb192c9c1d39e5891586544cf031c6d65bf

Crowbar-Release: development