Bug 998883
Summary: | Provide for reload of corosync.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Christine Caulfield <ccaulfie> |
Component: | pcs | Assignee: | Chris Feist <cfeist> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Cluster QE <mspqa-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | ccaulfie, cfeist, cluster-maint, fdinitto, rsteiger |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.9.96-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 998882 | Environment: | |
Last Closed: | 2014-06-13 10:02:51 UTC | Type: | Bug |
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: | 998882, 1031832 | ||
Bug Blocks: |
Description
Christine Caulfield
2013-08-20 09:44:41 UTC
Once corosync has support for reloading the config this should be relatively easy to add to pcs/pcsd. The code is now in corosync, once the new corosync.conf is installed on all cluster nodes the command corosync-cfgtool -R will cause it to be reloaded. The flag config.reload_in_progress can be used by applications to detect this. See the man cmap_keys(5) for information. A command has been added to pcs to specifically reload corosync [cfeist@gold pcs]$ ./pcs cluster reload -h Usage: pcs cluster reload... reload corosync Reload the corosync configuration on the current node (In reply to Christine Caulfield from comment #3) > The code is now in corosync, once the new corosync.conf is installed on all > cluster nodes the command corosync-cfgtool -R will cause it to be reloaded. > > The flag config.reload_in_progress can be used by applications to detect > this. See the man cmap_keys(5) for information. Chrissie, does corosync-cfgtool -R triggers a cluster wide reload or only local? If so, then we need to change output in pcs help text. If not, does it make sense at all to reload on one node at a time? We should probably mask the operation to be cluster wide (or at least all active cluster nodes) The text needs changing. corosync-cfgtool reloads corosync.conf on ALL nodes, so it's important to make sure that the file is up-to-date on all of them before issuing the command. 1031832 is ON_QA now. Chris, do you need to change your code to handle a return code or another testing round is enough? We should be set with another round of testing, marking this as modified. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |