Description of problem: [svcat] `svcat describe class ` with optional flags `--traverse` result of plans are duplicated Version-Release number of selected component (if applicable): svcat: client: v3.10.0-0.27.0;Upstream:v0.1.13 server: v1.10.0+b81c8f8 How reproducible: Always Steps to Reproduce: 1. Deploy service-catalog and ASB in OCP cluster. 2. #svcat describe class -h 3. #svcat describe class rh-postgresql-apb --traverse Actual results: The help information show " -t, --traverse Whether or not to traverse from plan -> class -> broker" In fact, the result is class -> broker >plan and the plan part included in class part already. $ svcat describe class rh-postgresql-apb --traverse Name: rh-postgresql-apb Description: SCL PostgreSQL apb implementation UUID: d5915e05b253df421efe6e41fb6a66ba Status: Active Tags: database, postgresql Broker: ansible-service-broker Plans: NAME DESCRIPTION +------+--------------------------------+ prod A single DB server with persistent storage dev A single DB server with no storage Broker: Name: ansible-service-broker Status: Ready Plans: NAME DESCRIPTION +------+--------------------------------+ prod A single DB server with persistent storage dev A single DB server with no storage Expected results: the result should keep in order with the help information and no duplication. Additional info:
fixed upstream with https://github.com/kubernetes-incubator/service-catalog/pull/2026 Please note that --traverse has been removed. Plans will always be shown when you do svcat describe class XX This is in v0.1.19 of upstream service catalog and will be picked up with OpenShift builds done AFTER May 18 17:00 US Eastern. I believe this will be 3.10.0-0.48.0 or newer
image is ready, change it to ON-QA
Verified. [root@ip-172-18-12-36 ~]# svcat version client: v3.10.0-0.50.0;Upstream:v0.1.19 server: v1.10.0+b81c8f8 [root@ip-172-18-12-36 ~]# svcat describe class -h Show details of a specific class Usage: svcat describe class NAME [flags] Aliases: class, classes, cl Examples: svcat describe class mysqldb svcat describe class -uuid 997b8372-8dac-40ac-ae65-758b4a5075a5 Flags: -u, --uuid Whether or not to get the class by UUID (the default is by name) Global Flags: --context string name of the kubeconfig context to use. --kubeconfig string path to kubeconfig file. Overrides $KUBECONFIG --logtostderr log to standard error instead of files (default false) -v, --v Level log level for V logs [root@ip-172-18-12-36 ~]# svcat describe class rh-mysql-apb Name: rh-mysql-apb Description: Software Collections MySQL APB UUID: 73ead67495322cc462794387fa9884f5 Status: Active Tags: database, mysql Broker: ansible-service-broker Plans: NAME DESCRIPTION +------+--------------------------------+ prod A MySQL server with persistent storage dev A MySQL server with ephemeral storage
fixed by https://github.com/kubernetes-incubator/service-catalog/pull/2026 included in OpenShift by https://github.com/openshift/service-catalog/pull/8
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/RHBA-2018:1816