GithubHelp home page GithubHelp logo

Error reading manifest 1.0.0-SNAPSHOT-2020-03-12-18-56-25 in quay.io/open-cluster-management/multiclusterhub-operator-index: unauthorized: access to the requested resource is not authorized about deploy HOT 6 CLOSED

stolostron avatar stolostron commented on May 31, 2024
Error reading manifest 1.0.0-SNAPSHOT-2020-03-12-18-56-25 in quay.io/open-cluster-management/multiclusterhub-operator-index: unauthorized: access to the requested resource is not authorized

from deploy.

Comments (6)

tpouyer avatar tpouyer commented on May 31, 2024

Does this pull secret exist?

https://github.com/open-cluster-management/deploy/blob/414d994397912c0993c96936b793115f2573b1e5/multiclusterhub-operator/deployment.yaml#L22

from deploy.

achuzhoy avatar achuzhoy commented on May 31, 2024

[kni@provisionhost-0 multiclusterhub-operator]$ oc get secret -A|grep multiclust
open-cluster-management multiclusterhub-operator-pull-secret kubernetes.io/dockerconfigjson 1 17m
[kni@provisionhost-0 multiclusterhub-operator]$

from deploy.

tpouyer avatar tpouyer commented on May 31, 2024

is the pull-secret on the pod?

oc get pod open-cluster-management-registry-7bf489f7fd-p2fzx -o yaml

Can you pull the image from your terminal:

docker login quay.io
docker pull quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25

from deploy.

achuzhoy avatar achuzhoy commented on May 31, 2024

Unable to pull the image with my user:
[kni@provisionhost-0 multiclusterhub-operator]$ podman login quay.io
Username: achuzhoy
Password:
Login Succeeded!

[kni@provisionhost-0 multiclusterhub-operator]$ podman pull quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25
Trying to pull quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25...ERRO[0000] Error pulling image ref //quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25: Error initializing source docker://quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25: Error reading manifest 1.0.0-SNAPSHOT-2020-03-12-18-56-25 in quay.io/open-cluster-management/multiclusterhub-operator-index: manifest unknown: manifest unknown

oc get pod open-cluster-management-registry-7bf489f7fd-8k8bf -o yaml -n open-cluster-management
apiVersion: v1
kind: Pod
metadata:
annotations:
k8s.v1.cni.cncf.io/networks-status: |-
[{
"name": "openshift-sdn",
"interface": "eth0",
"ips": [
"10.131.0.6"
],
"dns": {},
"default-route": [
"10.131.0.1"
]
}]
openshift.io/scc: restricted
creationTimestamp: "2020-03-17T00:04:01Z"
generateName: open-cluster-management-registry-7bf489f7fd-
labels:
app: open-cluster-management-registry
pod-template-hash: 7bf489f7fd
name: open-cluster-management-registry-7bf489f7fd-8k8bf
namespace: open-cluster-management
ownerReferences:

  • apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: open-cluster-management-registry-7bf489f7fd
    uid: 82f4629a-414b-4208-bc9d-c5f90ce86846
    resourceVersion: "242219"
    selfLink: /api/v1/namespaces/open-cluster-management/pods/open-cluster-management-registry-7bf489f7fd-8k8bf
    uid: b211b793-2d2a-44e3-93e0-bfb43776301d
    spec:
    containers:
  • image: quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25
    imagePullPolicy: IfNotPresent
    name: multiclusterhub-operator-index
    ports:
    • containerPort: 50051
      protocol: TCP
      resources: {}
      securityContext:
      capabilities:
      drop:
      • KILL
      • MKNOD
      • SETGID
      • SETUID
        runAsUser: 1000660000
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
    • mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-m69fl
      readOnly: true
      dnsPolicy: ClusterFirst
      enableServiceLinks: true
      imagePullSecrets:
  • name: multiclusterhub-operator-pull-secret
    nodeName: worker-0
    priority: 0
    restartPolicy: Always
    schedulerName: default-scheduler
    securityContext:
    fsGroup: 1000660000
    seLinuxOptions:
    level: s0:c26,c5
    serviceAccount: default
    serviceAccountName: default
    terminationGracePeriodSeconds: 30
    tolerations:
  • effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  • effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
    volumes:
  • name: default-token-m69fl
    secret:
    defaultMode: 420
    secretName: default-token-m69fl
    status:
    conditions:
  • lastProbeTime: null
    lastTransitionTime: "2020-03-17T00:04:01Z"
    status: "True"
    type: Initialized
  • lastProbeTime: null
    lastTransitionTime: "2020-03-17T00:04:01Z"
    message: 'containers with unready status: [multiclusterhub-operator-index]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  • lastProbeTime: null
    lastTransitionTime: "2020-03-17T00:04:01Z"
    message: 'containers with unready status: [multiclusterhub-operator-index]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  • lastProbeTime: null
    lastTransitionTime: "2020-03-17T00:04:01Z"
    status: "True"
    type: PodScheduled
    containerStatuses:
  • image: quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25
    imageID: ""
    lastState: {}
    name: multiclusterhub-operator-index
    ready: false
    restartCount: 0
    started: false
    state:
    waiting:
    message: Back-off pulling image "quay.io/open-cluster-management/multiclusterhub-operator-index:1.0.0-SNAPSHOT-2020-03-12-18-56-25"
    reason: ImagePullBackOff
    hostIP: 192.168.123.126
    phase: Pending
    podIP: 10.131.0.6
    podIPs:
  • ip: 10.131.0.6
    qosClass: BestEffort
    startTime: "2020-03-17T00:04:01Z"

from deploy.

tpouyer avatar tpouyer commented on May 31, 2024

That snapshot doesn't exist...

Pick a snapshot from the top of this page and try again: https://quay.io/repository/open-cluster-management/multiclusterhub-operator-index?tab=tags

from deploy.

achuzhoy avatar achuzhoy commented on May 31, 2024

Thanks a lot.
Was able to pass this step with another snapshot referenced.

from deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.