| Summary: | Under some circumstances the cluster fail to relocate Apache Httpd and the service become unavailable. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Luca Visconti <l.visconti> | ||||
| Component: | resource-agents | Assignee: | David Vossel <dvossel> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.3 | CC: | agk, cfeist, cluster-maint, edamato, fdinitto, lhh, lnovich, l.visconti, mgrac, mnovacek, tlavigne | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 6.4 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-07-17 19:40:05 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Luca Visconti
2011-05-13 16:23:39 UTC
@Luca: Thanks, for reporting bug. Yours objection is correct and such scenario can occur. But I'm not sure about deleting all PID files. If user will run instance of application independetly of resource manager then we can cause a data corruption (e.g in database server). What do you think about adding another condition where we will check if /proc/PID/cmdline contains given string (e.g. httpd)? @Marek Mine was a quick and dirt solution only for my own problem: I think that your suggestion is much better. Thank you. Created attachment 623377 [details]
Proposed patch
Proposed patch that changes library and resource agent for httpd. But we will very likely need to change all agents.
Please test if it is possible
This patch shouldn't be necessary. I don't understand how this issue could be possible. These pidfiles should be placed in /var/run/cluster and that directory is cleaned out on startup. Hi David, the proble was exactly this: the PID files were not deleted. When reporting the problem I suggested : "In my opinion will be nice to delete all pid file when cman startup." It's possibile that the dir /var/run/cluster has been cleaned out only in recent version ? The bug was reported two years ago. (In reply to Luca Visconti from comment #9) > Hi David, > the proble was exactly this: the PID files were not deleted. > When reporting the problem I suggested : "In my opinion will be nice to > delete all pid file when cman startup." > > It's possibile that the dir /var/run/cluster has been cleaned out only in > recent version ? The bug was reported two years ago. Yep, my guess is in rhel5 the /var/run directory was not cleaned out, but that behavior was introduced in rhel6. Nothing should be required now that this bug is targeting rhel 6. -- Vossel Luca, Can you confirm this issue is not present in rhel6? If so we can close the issue. -- Vossel (In reply to David Vossel from comment #11) > Luca, Can you confirm this issue is not present in rhel6? If so we can close > the issue. > > -- Vossel Hi David, I can't do that: I've no enviroment with this type of installation and RHEL6. |