Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Sometimes when getting the status of a power outlet using the fence_apc fencing agent, the command will fail with "Connection timed out."
Turning on verbose shows:
^M------- Outlet Control/Configuration ------------------------------------------
1- north-console ON
2- north-01 ON
3- north-02 ON
4- north-03 ON
5- north-04 ON
6- north-05 OFF
7- north-06 OFF
8- Outlet 8 ON
9- north-07 OFF
10- north-08 OFF
11- north-09 OFF
12- north-10 OFF
13- north-11 OFF
14- north-12 OFF
15- north-13 OFF
16- Outlet 16 ON
17- north-14 OFF
18- north-16 OFF
19- north-15 OFF
20- nsew ON
21- north-fc ON
22- north-storage1 ON
^M Press <ENTER>
Sent:
Received: to continue...^M ^M 23- north-storage2 ON
24- Outlet 24 ON
25- Master Control/Configuration
<ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
>
Sent:
Sent: ^C
Connection timed out
The ^C to get back to the top menu isn't being seen by the APC at the right time. The top menu doesn't get displayed and the fence agent sits there waiting until the time out expires.
If I wait for the command prompt after the loop, the fence agent doesn't time out there.
if exp_result != 0:
break
+ conn.log_expect(options, options["--command-prompt"], int(options["--shell-timeout"]))
conn.send(chr(03))
conn.log_expect(options, "- Logout", int(options["--shell-timeout"]))
Version-Release number of selected component (if applicable):
fence-agents-apc-4.0.11-27.el7.x86_64
How reproducible:
Easily
Steps to Reproduce:
1. Turn an outlet on and off in a loop
2.
3.
Actual results:
Expected results:
Additional info:
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/RHBA-2016-2373.html
Description of problem: Sometimes when getting the status of a power outlet using the fence_apc fencing agent, the command will fail with "Connection timed out." Turning on verbose shows: ^M------- Outlet Control/Configuration ------------------------------------------ 1- north-console ON 2- north-01 ON 3- north-02 ON 4- north-03 ON 5- north-04 ON 6- north-05 OFF 7- north-06 OFF 8- Outlet 8 ON 9- north-07 OFF 10- north-08 OFF 11- north-09 OFF 12- north-10 OFF 13- north-11 OFF 14- north-12 OFF 15- north-13 OFF 16- Outlet 16 ON 17- north-14 OFF 18- north-16 OFF 19- north-15 OFF 20- nsew ON 21- north-fc ON 22- north-storage1 ON ^M Press <ENTER> Sent: Received: to continue...^M ^M 23- north-storage2 ON 24- Outlet 24 ON 25- Master Control/Configuration <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log > Sent: Sent: ^C Connection timed out The ^C to get back to the top menu isn't being seen by the APC at the right time. The top menu doesn't get displayed and the fence agent sits there waiting until the time out expires. If I wait for the command prompt after the loop, the fence agent doesn't time out there. if exp_result != 0: break + conn.log_expect(options, options["--command-prompt"], int(options["--shell-timeout"])) conn.send(chr(03)) conn.log_expect(options, "- Logout", int(options["--shell-timeout"])) Version-Release number of selected component (if applicable): fence-agents-apc-4.0.11-27.el7.x86_64 How reproducible: Easily Steps to Reproduce: 1. Turn an outlet on and off in a loop 2. 3. Actual results: Expected results: Additional info: