Bug 1116962

Summary: luci catch-up: timeout options for brocade fence agents
Product: Red Hat Enterprise Linux 6 Reporter: Jan Pokorný [poki] <jpokorny>
Component: luciAssignee: Ryan McCabe <rmccabe>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 6.6CC: cluster-maint, djansa, edamato, fdinitto, jruemker, mgrac, mjuricek, mspqa-list, salmy, slevine
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 641632 Environment:
Last Closed: 2014-07-08 15:11:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 641632, 1055424, 1117398    
Bug Blocks:    

Description Jan Pokorný [poki] 2014-07-07 18:02:27 UTC
Luci is missing in its luci/templates/fence_devices.html a (common) block:

> <tr>
>   <td>Power Wait (seconds)</td>
>   <td>
>     <input type="text" class="text" name="power_wait"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('power_wait')} or {}"/>
>   </td>
> </tr>
> <tr>
>   <td>Delay (seconds)</td>
>   <td>
>     <input name="delay" type="text" class="text"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('delay')}"/>
>   </td>
> </tr>
> <tr>
>   <td>Power Timeout (seconds)</td>
>   <td>
>     <input type="text" class="text" name="power_timeout"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('power_timeout')} or {}"/>
>   </td>
> </tr>
> <tr>
>   <td>Shell Timeout (seconds)</td>
>   <td>
>     <input type="text" class="text" name="shell_timeout"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('shell_timeout')} or {}"/>
>   </td>
> </tr>
> <tr>
>   <td>Login Timeout (seconds)</td>
>   <td>
>     <input type="text" class="text" name="login_timeout"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('login_timeout')} or {}"/>
>   </td>
> </tr>
> <tr>
>   <td>Times to Retry Power On Operation</td>
>   <td>
>     <input type="text" class="text" name="retry_on"
>       py:attrs="cur_fencedev and {'value': cur_fencedev.getAttribute('retry_on')} or {}"/>
>   </td>
> </tr>

to reflect the recent (6.6) fence-agents update as per below:


+++ This bug was initially created as a clone of Bug #641631 +++

Fence agent for Brocade switches is not based on fencing library. It can't
provide timeout features, delay option, ... Fence agent should be ported to
fence library

--- Additional comment from Martin Juricek on 2014-06-30 14:04:08 CEST ---

# fence_brocade -h | grep -E 'delay|timeout'
   --power-timeout <seconds>      Test X seconds for status change after ON/OFF
   --shell-timeout <seconds>      Wait X seconds for cmd prompt after issuing command
   --login-timeout <seconds>      Wait X seconds for cmd prompt after login
   --delay <seconds>              Wait X seconds before fencing is started

Comment 1 Jan Pokorný [poki] 2014-07-08 15:11:18 UTC

*** This bug has been marked as a duplicate of bug 1117398 ***