Error: pulling securityservices.packages.broadcom.com failed - AuthHub
search cancel

Error: pulling securityservices.packages.broadcom.com failed - AuthHub

book

Article ID: 260198

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

 

Running Kubernetes to pull the image    

  "securityservices.packages.broadcom.com/sample-app:1.0.3186"

then the command returns the error:

Warning  Failed 26s (x3 over 69s) kubelet Failed to pull image "securityservices.packages.broadcom.com/sample-app:1.0.3186": rpc error: code = Unknown desc = failed to pull and unpack image "securityservices.packages.broadcom.com/sample-app:1.0.3186": failed to resolve reference "securityservices.packages.broadcom.com/sample-app:1.0.3186": pulling from host securityservices.packages.broadcom.com failed with status code [manifests 1.0.3186]: 403
Warning  Failed 26s (x3 over 69s) kubelet Error: ErrImagePull

 

Cause

 

A space character in the docker-server parameter for the secret creation caused the error:

# kubectl create secret docker-registry ssp-registrypullsecret -n ${SA_NAMESPACE} --docker-server="https://securityservices.packages.broadcom.com/ "

 

Resolution

 

Remove the space character in the docker-server parameter to solve this issue.

# kubectl create secret docker-registry ssp-registrypullsecret -n ${SA_NAMESPACE} --docker-server="https://securityservices.packages.broadcom.com/"