Bug 1987257
| Summary: | Go-http-client user-agent being used for oc adm mirror requests | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Timothy Rees <trees> | ||||
| Component: | oc | Assignee: | Maciej Szulik <maszulik> | ||||
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> | ||||
| Status: | CLOSED ERRATA | Docs Contact: | |||||
| Severity: | medium | ||||||
| Priority: | unspecified | CC: | aos-bugs, mfojtik, trees | ||||
| Version: | 4.8 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.10.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause: User agent string incorrect in some mirror requests
Consequence: The default Go user agent string is used instead of the user agent string for oc
Fix: Set the correct user agent string for all mirror requests
Result: The expected oc user agent string is now sent to registries
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-03-11 18:15:11 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: | |||||||
| Attachments: |
|
||||||
|
Description
Timothy Rees
2021-07-29 10:54:24 UTC
Ross I did some initial changes in https://github.com/openshift/oc/pull/841 but Tim claims there's one more edge case not covered. *** Bug 1987260 has been marked as a duplicate of this bug. *** |