Bug 1493974
| Summary: | Special characters in the output message does not work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.7.0 | CC: | aos-bugs, aos-storage-staff, jsafrane |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:08:59 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: | |||
|
Description
Chao Yang
2017-09-21 09:04:18 UTC
This is going to be fixed as side effect of bug #60490 / https://bugzilla.redhat.com/show_bug.cgi?id=1548628. It removes fmt.Errorf("error listing AWS volumes: %q", awserror) and thus it won't escape weird characters by %q. Example: $ oc create -f pv.yaml Error from server (Forbidden): error when creating "pv.yaml": persistentvolumes "ebs1" is forbidden: error querying AWS EBS volume aws://us-east-1d/vol-08b303e28fb08a014: InvalidVolume.NotFound: The volume 'vol-08b303e28fb08a014' does not exist. status code: 400, request id: b5986f7b-c3ac-430d-8866-f313f82c933c (In reply to Jan Safranek from comment #1) > This is going to be fixed as side effect of bug #60490 Sorry, bug #1548628, not sure where 60490 came from :-( It is passed on openshift v3.10.0-0.46.0 kubernetes v1.10.0+b81c8f8 The error message is as below: Error from server (Forbidden): error when creating "pv.yaml": persistentvolumes "ebs1" is forbidden: error querying AWS EBS volume aws://us-east-1d/vol-08b303e28fb08a014: InvalidVolume.NotFound: The volume 'vol-08b303e28fb08a014' does not exist. status code: 400, request id: 424c8ab2-e909-4071-82a9-396d0cf99ff1 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 |