| Summary: | rgmanager with central processing behaves differently depending on the order in which services appear in cluster.conf | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Julio Entrena Perez <jentrena> | ||||||
| Component: | rgmanager | Assignee: | Lon Hohberger <lhh> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Cluster QE <mspqa-list> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.6 | CC: | cluster-maint, edamato, jentrena | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-06-21 13:43: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
Julio Entrena Perez
2011-06-20 12:10:28 UTC
Created attachment 505600 [details]
cluster.conf file that shows the RIND event taking place when expected
# diff cluster.conf.works cluster.conf.doesntwork 2c2 < <cluster config_version="123" name="cl55ase"> --- > <cluster config_version="124" name="cl55ase"> 54a55,62 > <service autostart="0" domain="fd_n1" exclusive="0" name="IWR_db_p1" nfslock="1" recovery="relocate"> > <fs ref="fs_share"> > <nfsexport ref="nfs_share"> > <nfsclient ref="nfsc_share"/> > </nfsexport> > </fs> > <ip ref="10.33.1.250"/> > </service> 63,70d70 < <service autostart="0" domain="fd_n1" exclusive="0" name="IWR_db_p1" nfslock="1" recovery="relocate"> < <fs ref="fs_share"> < <nfsexport ref="nfs_share"> < <nfsclient ref="nfsc_share"/> < </nfsexport> < </fs> < <ip ref="10.33.1.250"/> < </service> I forgot to mention that the behaviour is the same regardless of which node is the RG-master and which one is the RG-worker. The way the event processing works is very configuration-order dependent; that is:
<service name="a" depend="b"/>
<service name="b" />
When a node comes online, you will see the following:
[node 1 online]
start service a (can't; dependency not met)
start service b
[service b started]
dependency met, start service a
[service a started]
If you change the order:
<service name="b" />
<service name="a" depend="b"/>
You will see:
[node 1 online]
start service b
start service a
[service b started]
[service a started]
You can create specific priority ordering for node events by adding the 'priority' attribute to services:
<service name="a" depend="b" priority="2" />
<service name="b" priority="1" />
... or by reordering them in cluster.conf.
*** This bug has been marked as a duplicate of bug 492828 ***
|