Bug 1380119

Summary: "pcs resource list" shows "hidden" providers
Product: Red Hat Enterprise Linux 7 Reporter: Ken Gaillot <kgaillot>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: cfeist, cluster-maint, idevat, omular, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 11:44:17 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:

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 ***