Bug 1768469

Summary: [CNV-2.2 Deployment] cluster-network-addons-operator failing to pull image - unauthorized
Product: Container Native Virtualization (CNV) Reporter: Lukas Bednar <lbednar>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Irina Gulina <igulina>
Severity: high Docs Contact:
Priority: urgent    
Version: 2.2.0CC: cnv-qe-bugs, fdeutsch, ncredi, phoracek, rhallise, stirabos
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry:v2.2.0-8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-30 16:27:30 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 Lukas Bednar 2019-11-04 14:08:46 UTC
Description of problem:

openshift-cnv                                           cluster-network-addons-operator-5f8f8d6797-jpbdr                  0/1     ImagePullBackOff   0          16m


Events:
  Type     Reason     Age                   From                       Message
  ----     ------     ----                  ----                       -------
  Normal   Scheduled  <unknown>             default-scheduler          Successfully assigned openshift-cnv/cluster-network-addons-operator-5f8f8d6797-jpbdr to host-172-16-0-17
  Normal   Pulling    15m (x4 over 16m)     kubelet, host-172-16-0-17  Pulling image "registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator:v2.2.0-2"
  Warning  Failed     15m (x4 over 16m)     kubelet, host-172-16-0-17  Failed to pull image "registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator:v2.2.0-2": rpc error: code = Unknown desc = Error reading manifest v2.2.0-2 in registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator: unauthorized: access to the requested resource is not authorized
  Warning  Failed     15m (x4 over 16m)     kubelet, host-172-16-0-17  Error: ErrImagePull
  Warning  Failed     6m25s (x42 over 16m)  kubelet, host-172-16-0-17  Error: ImagePullBackOff
  Normal   BackOff    90s (x64 over 16m)    kubelet, host-172-16-0-17  Back-off pulling image "registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator:v2.2.0-2"


Version-Release number of selected component (if applicable):
registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator:v2.2.0-2
OCP-4.3


Steps to Reproduce:
1. Deploy CNV-2.2 using qe-testing.sh script
2.
3.

Actual results: Failing to pull registry-proxy.engineering.redhat.com/rh-osbs/cluster-network-addons-operator:v2.2.0-2


Expected results: Successful CNV-2.2 deployment.


Additional info:

Comment 1 Lukas Bednar 2019-11-04 14:18:21 UTC
My guess is that container name is missing `container-native-virtualization-`

Comment 2 Ryan Hallisey 2019-11-04 14:29:20 UTC
cc Simone

Comment 3 Petr Horáček 2019-11-04 16:29:01 UTC
IIUIC this should be fixed in CSV building scripts. Assigning to Simone, feel free to move it to me if I'm wrong.

Comment 4 Irina Gulina 2019-12-09 11:55:41 UTC
It has been fixed as per logs attached in BZ 1774446#c14.

Comment 6 errata-xmlrpc 2020-01-30 16:27:30 UTC
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/RHEA-2020:0307