Bug 1380119 - "pcs resource list" shows "hidden" providers
Summary: "pcs resource list" shows "hidden" providers
Keywords:
Status: CLOSED DUPLICATE of bug 1262001
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.3
Hardware: All
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-28 17:30 UTC by Ken Gaillot
Modified: 2016-09-29 11:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 11:44:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ken Gaillot 2016-09-28 17:30:14 UTC
Description of problem: Pacemaker >= 1.1.13 ships a resource agent, ocf:.isolation:docker-wrapper, that is not intended for use by end users. The dot in front of the provider name conveniently hides the agent from "crm_resource --list-agents", but "pcs resource list" shows it.


Steps to Reproduce: run "pcs resource list"

Actual results: The output includes "ocf:.isolation:docker-wrapper"

Expected results: If any component of the resource agent specifier starts with a dot, pcs hides it from the list results.

Additional info: I'll propose that this convention be explicitly included in the next version of the OCF standard.

Comment 2 Tomas Jelinek 2016-09-29 11:44:17 UTC
Thanks for pointing this out. I have been already working on it while fixing bz1262001. Pcs will get list of available agents from pacemaker. As long as pacemaker hides agents starting with dot, which it does, pcs will hide them as well.

Closing as a duplicate.

*** This bug has been marked as a duplicate of bug 1262001 ***


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