Author: fapeeler
Date: Wed Aug 4 16:49:40 2010
New Revision: 982327
URL: http://svn.apache.org/viewvc?rev=982327&view=rev
Log:
VCL-364
removed call to set vmhostid to null
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=982327&r1=982326&r2=982327&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/new.pm Wed Aug 4 16:49:40 2010
@@ -147,19 +147,15 @@ sub process {
notify($ERRORS{'OK'}, 0, "$computer_short_name set to
maintenance");
}
- # Set vmhostid to null
- if (switch_vmhost_id($computer_id, 'NULL')) {
- notify($ERRORS{'OK'}, 0, "$computer_short_name vmhostid
removed");
-
- if ($self->provisioner->can("post_maintenance_action"))
{
- if
($self->provisioner->post_maintenance_action()) {
- notify($ERRORS{'OK'}, 0, "post action
completed $computer_short_name");
- }
- }
- else {
- notify($ERRORS{'OK'}, 0, "post action skipped,
post_maintenance_action not implemented by " . ref($self->provisioner) . ",
assuming no steps required");
+
+ if ($self->provisioner->can("post_maintenance_action")) {
+ if ($self->provisioner->post_maintenance_action()) {
+ notify($ERRORS{'OK'}, 0, "post action completed
$computer_short_name");
}
- } ## end if (switch_vmhost_id($computer_id, 'NULL'))
+ }
+ else {
+ notify($ERRORS{'OK'}, 0, "post action skipped,
post_maintenance_action not implemented by " . ref($self->provisioner) . ",
assuming no steps required");
+ }
notify($ERRORS{'OK'}, 0, "exiting");
exit;