Bug 1571726
| Summary: | [svcat] `svcat describe class ` with optional flags `--traverse` result of plans are duplicated | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | sunzhaohua <zhsun> |
| Component: | Service Catalog | Assignee: | Jay Boyd <jaboyd> |
| Status: | CLOSED ERRATA | QA Contact: | sunzhaohua <zhsun> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.10.0 | CC: | chezhang, jaboyd, jiazha, zitang |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
closed in current release
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:13:48 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: | |
| Embargoed: | |||
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 |
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: