Author: arkurth
Date: Wed Dec 14 16:54:34 2011
New Revision: 1214332

URL: http://svn.apache.org/viewvc?rev=1214332&view=rev
Log:
Fixed typo in new.pm. If it failed to update the public IP address it was 
displaying 'failed to update private IP address' in the log file.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/new.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/new.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/new.pm?rev=1214332&r1=1214331&r2=1214332&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/new.pm Wed Dec 14 16:54:34 2011
@@ -103,7 +103,7 @@ sub process {
        my $image_name                      = $self->data->get_image_name();
        my $imagerevision_id                = 
$self->data->get_imagerevision_id();
        my $user_standalone                 = 
$self->data->get_user_standalone();
-       
+
        #If reload state is reload and computer is part of block allocation 
confirm imagerevisionid is the production image.
        if ($request_state_name eq 'reload' && is_inblockrequest($computer_id)) 
{
                notify($ERRORS{'OK'}, 0, "request state is 
'$request_state_name', computer $computer_id is in blockrequest, making sure 
reservation is assigned production image revision");
@@ -931,7 +931,7 @@ sub reserve_computer {
        if ($computer_type =~ /blade|virtualmachine/) {
                
                if (!$self->os->update_public_ip_address()) {
-                       $self->reservation_failed("failed to update private IP 
address");
+                       $self->reservation_failed("failed to update public IP 
address");
                }
                
                insertloadlog($reservation_id, $computer_id, "info", "node 
ready adding user account");


Reply via email to