Bug 1577797
| Summary: | Should update the k8s apiserver lib of ASB | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | Service Broker | Assignee: | Jesus M. Rodriguez <jesusr> |
| Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.10.0 | CC: | aos-bugs, chezhang, jmatthew, zhsun, zitang |
| Target Milestone: | --- | ||
| Target Release: | 3.11.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-10-11 07:20:00 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
Jian Zhang
2018-05-14 07:14:47 UTC
Issue relates to 2 different flag parsing libraries being used. I'm not aware of any impacts to functional behavior and am aligning this BZ to later release to re-examine as the impact right now looks to just be a misleading log message. John, Yes, you're right. It's just a misleading log message. But, I think it's better to fix it soon. before the change: time="2018-08-02T17:09:55Z" level=debug msg="Creating k8s apiserver" time="2018-08-02T17:09:55Z" level=info msg="Listening on https://[::]:1338" time="2018-08-02T17:09:55Z" level=info msg="Ansible Service Broker Starting" ERROR: logging before flag.Parse: I0802 17:09:55.506008 1 serve.go:89] Serving securely on [::]:1338 time="2018-08-02T17:12:25Z" level=debug msg="Unable to find originating origin header" time="2018-08-02T17:12:25Z" level=info msg="Request: \"GET /automation-broker/v2/catalog HTTP/1.1\\r\\nHost: automation-broker.automation-broker.svc:1338\\r\\nAccept-Encoding: gzip\\r\\nUser-Agent: Go-http-client/1.1\\r\\nX-Broker-Api-Version: 2.13\\r\\n\\r\\n\"" time="2018-08-02T17:12:25Z" level=info msg="AnsibleBroker::Catalog" after the change: time="2018-08-02T20:19:41Z" level=debug msg="Creating k8s apiserver" time="2018-08-02T20:19:41Z" level=info msg="Listening on https://[::]:1338" time="2018-08-02T20:19:41Z" level=info msg="Ansible Service Broker Starting" time="2018-08-02T20:22:08Z" level=debug msg="Unable to find originating origin header" time="2018-08-02T20:22:08Z" level=info msg="Request: \"GET /automation-broker/v2/catalog HTTP/1.1\\r\\nHost: automation-broker.automation-broker.svc:1338\\r\\nAccept-Encoding: gzip\\r\\nUser-Agent: Go-http-client/1.1\\r\\nX-Broker-Api-Version: 2.13\\r\\n\\r\\n\"" Notice how it no longer prints: ERROR: logging before flag.Parse: I0802 17:09:55.506008 1 serve.go:89] Serving securely on [::]:1338 Verify it, LGTM, I don't see the "Error" logs anymore, thanks! The ASB version: 1.3.7 Running the `asbd` and parse the args correctly. [root@qe-jiazha-round2master-etcd-1 ~]# oc rsh asb-3-nsz92 sh-4.2$ asbd ============================================================ == Creating Ansible Service Broker... == ============================================================ INFO[0000] Ansible Service Broker Version: 1.3.7 INFO[0000] Initializing clients... DEBU[0000] Connecting to Cluster ... sh-4.2$ asbd --help Usage: asbd [OPTIONS] Application Options: -c, --config= Config File (default: /etc/ansible-service-broker/config.yaml) -v, --version Print version information Help Options: -h, --help Show this help message 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:2652 |