RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1215198 - pcsd: GUI ignores timeout value in fence_xvm agent form
Summary: pcsd: GUI ignores timeout value in fence_xvm agent form
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Ondrej Mular
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-24 14:37 UTC by Radek Steiger
Modified: 2015-11-19 09:37 UTC (History)
2 users (show)

Fixed In Version: pcs-0.9.140-1.el7
Doc Type: Bug Fix
Doc Text:
Cause: User tries to set fencing timeout (in optional arguments section) for fence_xvm based fencing device in pcs GUI. Consequence: Value of fencing timeout is not propagated into cluster. Fix: Fencing timeout was listed twice (also in advance arguments section). Timeout option was removed from advanced arguments. Result: Setting value of fencing timeout is propagated into the cluster.
Clone Of:
Environment:
Last Closed: 2015-11-19 09:37:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1124120 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1203866 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHSA-2015:2290 0 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2015-11-19 09:43:53 UTC

Internal Links: 1124120 1203866

Description Radek Steiger 2015-04-24 14:37:49 UTC
> Description of problem:

Adding a custom value for fencing timeout in fence_xvm form (optional arguments section) doesn't propagate it into the cluster cib.

The json dump in pcsd.log shows the _res_paramempty_timeout value as empty although it was filled  with a numerical value (I truncated the large lines a little):

I, [2015-04-20T15:10:24.487685 #16046]  INFO -- : Updating fence device
I, [2015-04-20T15:10:24.487983 #16046]  INFO -- : {"resource_id"=>"Fencing", "resource_type"=>"fence_xvm", "_res_param ... _action"=>"", "_res_paramempty_timeout"=>"", "_res_paramne_delay"=>"10", "_res_paramem...
I, [2015-04-20T15:10:24.488407 #16046]  INFO -- :  delay=10 pcmk_host_map=virt-041 ... pcmk_host_check=static-list
I, [2015-04-20T15:10:24.488615 #16046]  INFO -- : Running: /usr/sbin/pcs stonith update Fencing delay=10 pcmk_host_map=virt-041 ... pcmk_host_check=static-list


> Version-Release number of selected component (if applicable):

pcs-0.9.137-13.el7_1.2.x86_64


> Steps to Reproduce:

1. open a fence_xvm based fencing device form in pcs GUI
2. expand Optional Arguments
3. put an integer into 'timeout' field
4. submit

Comment 5 Tomas Jelinek 2015-05-11 10:47:18 UTC
patch in upstream:
https://github.com/feist/pcs/commit/c843c4251046eef915a9f91173fe0724e5bf3cbe

Comment 6 Tomas Jelinek 2015-06-05 08:05:09 UTC
Before Fix:
[root@rh71-node1 ~]# rpm -q pcs
pcs-0.9.137-13.el7_1.2.x86_64

1. open a fence_xvm based fencing device form in pcs GUI
2. expand Optional Arguments
3. put an integer into 'timeout' field
4. submit
5. page reloads
6. expand Optional Arguments
7. the value is missing in the 'timeout' field



After Fix:
[root@rh71-node1:~]# rpm -q pcs
pcs-0.9.140-1.el7.x86_64

7. The value is present in the 'timeout' field.

Comment 10 errata-xmlrpc 2015-11-19 09:37:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2290.html


Note You need to log in before you can comment on or make changes to this bug.