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 1264360 - pcs Web UI doesn't indicate unmanaged resources
Summary: pcs Web UI doesn't indicate unmanaged resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.2
Hardware: x86_64
OS: Linux
high
unspecified
Target Milestone: rc
: ---
Assignee: Ondrej Mular
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-18 09:46 UTC by Miroslav Lisik
Modified: 2016-11-03 20:55 UTC (History)
7 users (show)

Fixed In Version: pcs-0.9.152-8.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 20:55:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2596 0 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2016-11-03 12:11:34 UTC

Description Miroslav Lisik 2015-09-18 09:46:48 UTC
Description of problem:
You can't see whether resource is unamanged from Web UI.

Version-Release number of selected component (if applicable):
pcs-0.9.143-9.el7.x86_64

How reproducible:
always


Steps to Reproduce:
1. Create resource with meta attribute "is-managed" set to "false".
[root@virt-028 ~]# pcs resource create dummy Dummy meta is-managed=false

2. Look at the Web UI dashboard page or resources page.


Actual results:
You don't see difference between managed and unmanaged resources.

Expected results:
Somehow indicate that resource is not managed.

Comment 2 Radek Steiger 2015-10-05 11:50:50 UTC
Just a related observation - when deleting a running unmanaged from within the GUI, the resource is only switched to disabled but stays in place. This is because pcs tries to stop it first, which obviously fails, but there's no indication what happened and why.

Comment 3 Ondrej Mular 2016-08-04 01:15:43 UTC
proposed fix:
https://github.com/ClusterLabs/pcs/commit/08b0d1e307f804e7fcac82cb8091dc4e2d5d

Test:
Unamanaged resources are shown correctly with status 'unamanaged'. Also there are new buttons for manage/unmanage resource.

Comment 4 Ivan Devat 2016-08-05 15:09:27 UTC
Before Fix:
[vm-rhel72-1 ~] $ rpm -q pcs
pcs-0.9.152-5.el7.x86_64

Look of unmanaged resources do not differ from managed.

After Fix:
[vm-rhel72-1 ~] $ rpm -q pcs
pcs-0.9.152-6.el7.x86_64

Unamanaged resources are shown correctly with status 'unamanaged'. Also there are new buttons for manage/unmanage resource.

Comment 7 Ondrej Mular 2016-08-24 12:44:58 UTC
additional fix:
https://github.com/ClusterLabs/pcs/commit/28c79e44207ca36c520b6aae0348982c29f

Information that resource is unmanaged is displayed independently of its status.

Test:
Create dummy resource and make it unmanaged. Displayed status will be: "running (unmanaged)" in orange color.

Comment 8 Ivan Devat 2016-08-31 16:14:53 UTC
Before Fix:

[vm-rhel72-1 ~] $ rpm -q pcs
pcs-0.9.152-7.el7.x86_64

Create dummy resource and make it unmanaged. Displayed status will be: "unmanaged" in orange color.


After Fix:
[vm-rhel72-1 ~] $ rpm -q pcs
pcs-0.9.152-8.el7.x86_64

Create dummy resource and make it unmanaged. Displayed status will be: "running (unmanaged)" in orange color.

Comment 13 errata-xmlrpc 2016-11-03 20:55:16 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/RHSA-2016-2596.html


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