Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1687965

Summary: [GUI] submitting of 'create cluster' form get stuck when full domain names are used
Product: Red Hat Enterprise Linux 8 Reporter: Miroslav Lisik <mlisik>
Component: pcsAssignee: Ivan Devat <idevat>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.0CC: cfeist, cluster-maint, idevat, mmazoure, omular, tojeline, toneata
Target Milestone: rcKeywords: ZStream
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.10.1-6.el8 Doc Type: Bug Fix
Doc Text:
Cause: WebUI code contained error that didn't allow to setup cluster when full domanin names were used. Consequence: A user could not setup cluster when full domanin names were used. Fix: The error in webUI was fixed. Result: A user can setup cluster when full domanin names are used.
Story Points: ---
Clone Of:
: 1690304 (view as bug list) Environment:
Last Closed: 2019-11-05 20:40:02 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: 1682129    
Bug Blocks: 1690304    
Attachments:
Description Flags
proposed fix none

Description Miroslav Lisik 2019-03-12 18:51:20 UTC
Description of problem:
Submitting of "create cluster" form get stuck when full domain names are used.

Version-Release number of selected component (if applicable):
pcs-0.10.1-4.el8

How reproducible:
always

Steps to Reproduce:

1. click on "Create New" on the manage page
2. fill the cluster name and 2 node names with full domain names

Cluster Name: HAcluster
Node1: virt-151.cluster-qe.lab.eng.brq.redhat.com
Node2: virt-152.cluster-qe.lab.eng.brq.redhat.com
 
3. click on "Go to advanced settings"
4. click on "Add link".
5. click Back.
6. click "Go to advanced settings"
7. click "Create cluster"



Actual results:


Submitting of "create cluster" form get stuck.

Javascript exception from a console:

Uncaught Error: Syntax error, unrecognized expression: [data-transport-addr-host=virt-151.cluster-qe.lab.eng.brq.redhat.com]
    at Function.st.error (jquery-1.9.1.min.js:4)
    at ft (jquery-1.9.1.min.js:4)
    at Function.st [as find] (jquery-1.9.1.min.js:4)
    at init.find (jquery-1.9.1.min.js:4)
    at cluster-setup.js:85
    at Array.map (<anonymous>)
    at Object.clusterSetup.link.detail.refreshNodesNames (cluster-setup.js:83)
    at HTMLDivElement.<anonymous> (cluster-setup.js:514)
    at Function.each (jquery-1.9.1.min.js:3)
    at init.each (jquery-1.9.1.min.js:3)

Expected results:

A "create cluster" form is successfully submitted and cluster is created.

Additional info:

Comment 2 Ivan Devat 2019-03-21 14:41:01 UTC
Created attachment 1546535 [details]
proposed fix

Comment 3 Ivan Devat 2019-03-29 07:06:50 UTC
Reverting last changes (wrong bz).

Comment 4 Ondrej Mular 2019-05-02 12:45:46 UTC
After fix:
[root@rhel81-node1 ~]# rpm -q pcs
pcs-0.10.1-6.el8.x86_64

> It is possible to create a cluster using web UI following steps described in comment 0

Comment 8 errata-xmlrpc 2019-11-05 20:40:02 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://access.redhat.com/errata/RHEA-2019:3311