Bug 176913
Summary: | nanny and lvsd experiencing a segfault at start of LVS | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Kim Forsberg <kim.forsberg> | ||||||||||||
Component: | piranha | Assignee: | Stanko Kupcevic <kupcevic> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | medium | ||||||||||||||
Version: | 4 | CC: | cluster-maint, jhedstro, mikem | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | RHBA-2006-0538 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2006-08-10 21:19:12 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: | |||||||||||||||
Bug Blocks: | 180185 | ||||||||||||||
Attachments: |
|
Description
Kim Forsberg
2006-01-04 10:23:34 UTC
All available updates have been downloaded and installed from Redhat Network. Created attachment 123037 [details]
lvs.cf
LVS.CF is identical on both servers. Segfault persists even if the backup
service is disabled in this file.
Created attachment 123038 [details]
Output of lsmod
Created attachment 123039 [details]
Output of lspci-vv
Created attachment 123040 [details]
Syslog
Could you start pulse with 'pulse -nv' instead of 'service pulse start' and capture output until lvsd dies? Created attachment 123103 [details]
Output of pulse -nv
The segfaults are visible in /var/log/messages.
There is a bug in nanny that triggers a series of unfortunate events: 1. nanny segfaults if regular expression matching is enabled, and there is no âexpect stringâ to match against 2. lvsd segfaults with nanny, leaving other nannies alive 3. pulse doesn't monitor lvsd, so is unaware of problem 4. system is half configured, without failing over Quick fix: 1. Disable regular expression matching in âvirtual servers->monitoring scriptsâ if âexpectâ is blank. 2. Since âedit monitoring scriptsâ page removes escape characters on âacceptâ (a bug), no newline characters can be specified. So, replace ârnrnâ with â\r\n\r\nâ in /etc/sysconfig/ha/lvs.cf. or Recreate a virtual server, without making changes to âedit monitoring scriptsâ page. Defaults work just fine with http. Problem solved! HTTP is just for testing purposes so the defaults wouldn't have been applicable for the custom applications we are using in production. Thank you for the quick fix! /Kim Fixed in 0.8.3 Fixed nanny and lvsd segfaults To test: 1. enable regex matching and leave expect string empty; nanny shouldn't segfault 2. start lvsd and kill a nanny; lvsd should gracefully exit terminating other nannies An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0538.html |