crowbar/barclamp-provisioner — pull request #96 by aabes (2013-01-30 01:05:13+00:00)
Title: (fred)move capturing the boot_ip_hex into the deployer [2/2]

The symtom this pull-req fixes is nodes that are not transitioning correctly from discovering to intsalled/ready, but rather keep circling back to discovering.
Core case: chef-client on the admin node was failing to update the boot_ip information on other nodes (on rhel), causing boot configuration to not be updated for nodes correctly.
This change moves updating the boot_ip_hex info to the point where the admin ip address is assigned to the node (in the deployer barclamp).
This value can then stay on the node for the duration that the node has the same admin network IP address (in the current code, resetting will keep the admin ip address for the node)

chef/cookbooks/provisioner/recipes/update_nodes.rb | 13 ++++++-------
.../app/models/provisioner_service.rb | 2 +-
2 files changed, 7 insertions(+), 8 deletions(-)

Crowbar-Pull-ID: 04d958da1e53e1dc56430e8a610019a133559664

Crowbar-Release: fred