Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 208631 Details for
Bug 309261
update to the most current version of the fence_bullpap agent
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to update to the current version
fence_bullpap.diff (text/plain), 1.39 KB, created by
Ryan McCabe
on 2007-09-27 16:35:10 UTC
(
hide
)
Description:
patch to update to the current version
Filename:
MIME Type:
Creator:
Ryan McCabe
Created:
2007-09-27 16:35:10 UTC
Size:
1.39 KB
patch
obsolete
>diff -ur -x Makefile -x CVS cluster-RHEL4/fence/agents/bullpap/fence_bullpap.pl cluster-RHEL51/fence/agents/bullpap/fence_bullpap.pl >--- cluster-RHEL4/fence/agents/bullpap/fence_bullpap.pl 2007-02-12 15:29:43.000000000 -0500 >+++ cluster-RHEL51/fence/agents/bullpap/fence_bullpap.pl 2007-06-27 11:38:17.000000000 -0400 >@@ -323,27 +323,24 @@ > my $timeout = 60; # 60 seconds for "off" for 32-way bull machines > > set_power_state $host,$domain,"off",$login,$passwd; >- if ( $? == 0 ) >- { >+ do { >+ sleep 5; >+ $state=get_power_state $host,$domain,$login,$passwd; >+ $timeout -= 5; >+ } while ($timeout > 0 && $state != 0); >+ >+ if ($timeout <= 0) { >+ $success = 0; >+ } else { >+ $timeout = 120; # 120 seconds for on, for 32-way bull machines >+ set_power_state $host,$domain,"on",$login,$passwd; > do { > sleep 5; > $state=get_power_state $host,$domain,$login,$passwd; > $timeout -= 5; >- } while ($timeout > 0 && !($state =~ /^off$/i)); >+ } while ($timeout > 0 && $state != 0); > >- if ($timeout > 0) { >- $timeout = 120; # 120 seconds for on, for 32-way bull machines >- set_power_state $host,$domain,"on",$login,$passwd; >- if ( $? == 0 ) >- { >- do { >- sleep 5; >- $state=get_power_state $host,$domain,$login,$passwd; >- $timeout -= 5; >- } while ($timeout > 0 && !($state =~ /^on$/i)); >- $success = 1 if ($state =~ /^on$/i); >- } >- } >+ $success = 1 if ($state == 0); > } > } > elsif (/status/)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 309261
: 208631