Bug 1072415

Summary: pcs GUI should support creating dual-ring clusters (RRP)
Product: Red Hat Enterprise Linux 7 Reporter: Radek Steiger <rsteiger>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: cluster-maint, djansa, fdinitto, jkortus, rsteiger, slevine, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.9.130-1.el7 Doc Type: Bug Fix
Doc Text:
Cause: User tries to create a cluster with Redundant Ring Protocol (RRP) using pcsd GUI. Consequence: GUI provides no way to create a cluster with RRP. Fix: Add RRP options to the 'Create cluster' dialog and 'Add node' dialog. Result: User is able to create a cluster with RRP and add / remove nodes using pcsd GUI.
Story Points: ---
Clone Of: 915894
: 1129867 (view as bug list) Environment:
Last Closed: 2015-03-05 09:19:03 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:    
Bug Blocks: 1129867    
Attachments:
Description Flags
proposed fix 1/2
none
proposed fix 2/2
none
proposed fix 3 - defaults in Create Cluster dialog none

Comment 3 Tomas Jelinek 2014-09-09 13:10:03 UTC
Created attachment 935688 [details]
proposed fix 1/2

Comment 4 Tomas Jelinek 2014-09-09 13:10:27 UTC
Created attachment 935689 [details]
proposed fix 2/2

Comment 5 Tomas Jelinek 2014-09-09 13:12:14 UTC
test

A. RRP with udpu transport
1. Open the 'Create Cluster' dialog. Specify 'Cluster Name' and nodes. Show 'Advanced Options'. Select 'Transport' = 'UDPU'. Verify that the dialog provides fields for ring 1 addresses. Fill in the ring 1 addresses. Submit the form.
2. Show the created cluster in GUI verifying the cluster has been created.
3. Add a node to the cluster using GUI. Verify that the dialog provides a field for the ring 1 address. Specify the ring 1 address when adding the node.
4. Using GUI verify that the node has been added to the cluster.
5. Connect to any node of the cluster using ssh. Display the /etc/corosync/corosync.conf file. Verify there are ring 1 addresses for the nodes as were specified in the dialogs.

B. RRP with udp transport
1. Open the 'Create Cluster' dialog. Specify 'Cluster Name' and nodes. Show 'Advanced Options'. Select 'Transport' = 'UDP'. Verify that the dialog provides fields for ring 0 and ring 1 settings. Fill in the ring 0 and ring 1 settings. Submit the form.
2. Show the created cluster in GUI verifying the cluster has been created.
3. Add a node to the cluster using GUI. Verify that there is no field for a ring 1 address in the dialog.
4. Using GUI verify that the node has been added to the cluster.
5. Connect to any node of the cluster using ssh. Display the /etc/corosync/corosync.conf file. Verify there are ring 0 and ring 1 settings as were specified in the dialogs.

Comment 6 Tomas Jelinek 2014-09-15 08:45:48 UTC
Before Fix:
[root@rh70-node1 ~]# rpm -q pcs
pcs-0.9.115-32.el7.x86_64

Open 'Create Cluster' dialog in GUI. No RRP options available.


After Fix:
[root@rh70-node1 ~]# rpm -q pcs
pcs-0.9.127-1.el7.x86_64

Open 'Create Cluster' dialog in GUI. RRP options are available for both UDPU and UDP transport in 'Advanced Options' part of the dialog.

Comment 8 Tomas Jelinek 2014-09-24 11:31:32 UTC
Created attachment 940740 [details]
proposed fix 3 - defaults in Create Cluster dialog

Comment 9 Tomas Jelinek 2014-09-26 14:45:43 UTC
Before Fix:
[root@rh70-node1 ~]# rpm -q pcs
pcs-0.9.127-1.el7.x86_64

Navigate to the "Manage Clusters" page in GUI. Open the "Create Cluster" dialog, open "Advanced Options". Inputs (token settings, last man standing, RRP settings) are pre-filled with default values. Fill in the cluster name and nodes and create the cluster. Default values from the inputs have been saved into /etc/corosync/corosync.conf file.


After Fix:
[root@rh70-node1:~]# rpm -q pcs
pcs-0.9.130-1.el7.x86_64

Navigate to the "Manage Clusters" page in GUI. Open the "Create Cluster" dialog, open "Advanced Options". Inputs are not pre-filled with default values. Fill in the cluster name and nodes and create the cluster. The /etc/corosync/corosync.conf file does not contain values of token settings, last man standing, RRP settings unless they were specified in the dialog.

Comment 13 errata-xmlrpc 2015-03-05 09:19:03 UTC
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-2015-0415.html