Skip to content

[BUG] can not run demo Deploying AMQ Broker on MicroShift #945

@WangFengtu1996

Description

@WangFengtu1996

What happened?

  • when I try the demo, I can not access the amqp service in order to execute demo for providing producer and consumer.
  • The pod named amq-broker is not running status. It's status is ImagePullBackOff.
  • The more detail log
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  59m                    default-scheduler  Successfully assigned amq-broker/amq-broker-9c78cb94-2p4sh to fedora
  Normal   Pulling    58m (x4 over 59m)      kubelet            Pulling image "registry.redhat.io/amq7/amq-broker:7.8"
  Warning  Failed     58m (x4 over 59m)      kubelet            Failed to pull image "registry.redhat.io/amq7/amq-broker:7.8": rpc error: code = Unknown desc = unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
  Warning  Failed     58m (x4 over 59m)      kubelet            Error: ErrImagePull
  Warning  Failed     58m (x6 over 59m)      kubelet            Error: ImagePullBackOff
  Normal   BackOff    4m45s (x233 over 59m)  kubelet            Back-off pulling image "registry.redhat.io/amq7/amq-broker:7.8"
  • But I pull manually image podman pull registry.redhat.io/amq7/amq-broker:7.8 after login is right.
[user@fedora ~]$ podman images
REPOSITORY                          TAG         IMAGE ID      CREATED      SIZE
registry.redhat.io/amq7/amq-broker  7.8         69cd146bb6a8  2 weeks ago  680 MB
  • I follow the doc step by step , anyone would give me some guide ?
  • Thanks for your time.

Environment

  • MicroShift version (use microshift version):
    MicroShift Version: 4.8.0-0.microshift-2022-04-20-141053
    Base OKD Version: 4.8.0-0.okd-2021-10-10-030117

  • Hardware configuration:

  • OS (e.g: cat /etc/os-release):
    fedora 36 vmware x86

  • Kernel (e.g. uname -a):
    Linux fedora 5.19.4-200.fc36.x86_64 Init #1 SMP PREEMPT_DYNAMIC Thu Aug 25 17:42:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions