Bug 2090135
Summary: | [upstream] Operator-sdk run bundle offer the wrong error message | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Fan Jia <jfan> |
Component: | Operator SDK | Assignee: | Rashmi Gottipati <rgottipa> |
Status: | CLOSED ERRATA | QA Contact: | Fan Jia <jfan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.11 | CC: | cchantse, dageoffr, rgottipa |
Target Milestone: | --- | ||
Target Release: | 4.12.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-17 19:49:26 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
Fan Jia
2022-05-25 08:36:12 UTC
I've tried to reproduce this issue by running the below: $operator-sdk run bundle quay.io/xxxxx/k8sstatus-bundle:v4.10 --index-image quay.io/kakatest/kkkkk:test (the bundle image and index image that you provided). Here is the error message I got: FATA[0001] Failed to run bundle: pull bundle image: error pulling image quay.io/xxxxx/k8sstatus-bundle:v4.10: error resolving name : unexpected status code [manifests v4.10]: 401 UNAUTHORIZED This is the actual and expected result when we try to install an operator bundle with an index that does not exist/or is unauthorized. However, in your description, I do notice that the actual result is different to what I'm seeing when I run it. Are you trying to run this locally or a specific OCP version? Also, I'm not sure why this a blocker, since it may be related to improved error logging for run bundle feature. Could you please clarify? Looking forward to your clarifications. Thanks! Created PR https://github.com/operator-framework/operator-sdk/pull/5893 to fix this bug. Please do verify the fix. Thanks Jia! 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399 |