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 1877762 - New web UI - create a "resource create" wizard
Summary: New web UI - create a "resource create" wizard
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.4
Assignee: Ivan Devat
QA Contact: cluster-qe@redhat.com
Steven J. Levine
URL:
Whiteboard:
Depends On:
Blocks: 1552470 1996067 1999014
TreeView+ depends on / blocked
 
Reported: 2020-09-10 12:00 UTC by Ivan Devat
Modified: 2021-08-30 09:10 UTC (History)
10 users (show)

Fixed In Version: pcs-0.10.8-1.el8
Doc Type: Technology Preview
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:12:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ivan Devat 2020-09-10 12:00:03 UTC
Create a "resource create" wizard.

This is related to bz1845470.

This feature requires creation of urls in `pcsd` to run commands in `pcs` library.

Comment 6 Michal Mazourek 2021-02-10 17:03:08 UTC
AFTER:
======

[root@virt-058 ~]# rpm -q pcs
pcs-0.10.8-1.el8.x86_64


## New 'resource create' wizard

- Open the web ui, for this case: https://virt-058.cluster-qe.lab.eng.brq.redhat.com:2224/ui/
- Log in
- Add existing cluster via specifying one of the cluster nodes
- Click on the cluster name in the dashboard
- Click on 'Resources' in the cluster menu
- Click on 'Create Resource'
- 4-step Wizard appears:
New resource
Create new resource wizard


1. Name and type
- Resource name ('r1' for this test case)
- Resource type - all resource types are listed. It is possible to use search (ocf:heartbeat:IPaddr2 for this test case)
- Both fields are required, the wizard shall not let you pass, if you omit any:
Please provide the new resource name
Please select resource agent
- Click 'Next'


2. Instance attributes:
- Here you specify all required resource attributes and optionally some other
- Required attributes are shown by default, you can additionally add to filter 'Optional' and 'Advanced' attributes
- There is also a search field, that dynamically shows you desired attributes as you typing
- All attributes have description, e.g. ip:
IPv4 or IPv6 address
The IPv4 (dotted quad notation) or IPv6 address (colon hexadecimal notation) example IPv4 "192.168.1.1". example IPv6 "2001:db8:DC28:0:0:FC57:D4C8:1FFF".

- For this test case, Setting up ip attribute (required):
ip: 192.168.1.58

- There is info, if you choose a resource type, that doesn't have any required attributes (e.g. ocf:heartbeat:Dummy):
Info alert:No instance attribute is required. Other available attributes can be added.


3. Settings
- Specify these setting to specific resource:
Multiple instances
Group
Start automatically

- With Multiple instances, 'Clone' can be ticked, if it is, another option will be shown: 'Promotable'
- With Group, 'Use group' can be ticked, it can't be ticked if the resource is 'Clone'. Then you can select, if the resource will be part of existing group from the list of cluster groups, or if you create new group, where you define its name.
- With Start automatically, 'Disabled' can be ticked

> All of the options above and its combinations were tried for this test case, only 'Disabled' option works at this moment. New bz was created for this issue: bz1927384


4. Review new resource configuration
- review of the entered settings for the new resource, e.g.:
Resource name
    r1
Resource type
    ocf:heartbeat:IPaddr2
Instance attributes
    ip
        192.168.1.58
Clone
    no
Group
    no
Disabled
    no

- Click 'Finish'
(in every step of the creation, you can jump between other steps depending on fulfillment of required fields, or you can Cancel the wizard)

- If everything is ok:
Resource "r1" created successfully

- If resource can't be created (for example unique required value is not unique across resources), the message from backend will be shown and you are offered alternative options:
Create resource "r1" failed
Create resource failed in the backend (see messages below). You can return back, correct values and try to create resource again. The messages will be kept in the wizard.
Button: Back to first step
Button: Cancel
Messages:
Danger alert:Value '192.168.1.58' of option 'ip' is not unique across 'ocf:heartbeat:IPaddr2' resources. Following resources are configured with the same value of the instance attribute: 'r5'


Result:
=======
There is an issue with the following cases:
1. Resource is not cloned if 'Clone' option was ticked 
2. Resource is nor promotable or clone, if 'Promotable' option was ticked
3. Resource is not in already existing group, if 'Use group' with 'Select existing group' is selected
4. Resource is not in newly created group, if 'Use group' with 'Create new group' is selected


Marking as VERIFIED for pcs-0.10.8-1.el8 with new bz created, solving the issues described above: bz1927384

Comment 8 errata-xmlrpc 2021-05-18 15:12:08 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 (pcs bug fix and enhancement update), 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-2021:1737


Note You need to log in before you can comment on or make changes to this bug.