Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkdebug Theia anubis-authz unautheticated error #475

Open
levelupsec opened this issue Feb 3, 2025 · 1 comment
Open

mkdebug Theia anubis-authz unautheticated error #475

levelupsec opened this issue Feb 3, 2025 · 1 comment

Comments

@levelupsec
Copy link

Describe the bug
Get an authentication error when trying to build a Theia IDE

To Reproduce
Steps to reproduce the behavior:

  1. Build k8s debug environment with make mkdebug
  2. Create superuser or professor token
  3. Go to Anubis Cloud IDE page and create an Admin IDE
  4. Stuck in state "Waiting for ID"

Expected behavior
Should build an Admin IDE

Screenshots
Pod Logs

2025-02-03 01:42:21,448 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

time="2025-02-03T01:42:23.448088662Z" level=warning msg="Unable to locate plugin: anubis-authz, retrying in 4s"

2025-02-03 01:42:23,448 DEBG 'dockerd' stdout output:

time="2025-02-03T01:42:23.448088662Z" level=warning msg="Unable to locate plugin: anubis-authz, retrying in 4s"


Pod describe

Events:

  Type     Reason     Age                     From               Message

  ----     ------     ----                    ----               -------

  Normal   Scheduled  8m43s                   default-scheduler  Successfully assigned anubis/theia-superuser-4073a460-f26e-4fc2-9053-47242ece841f to minikube

  Normal   Pulled     8m40s                   kubelet            Container image "registry.digitalocean.com/anubis/theia-init" already present on machine

  Normal   Created    8m39s                   kubelet            Created container theia-init

  Normal   Started    8m38s                   kubelet            Started container theia-init

  Normal   Pulled     8m38s                   kubelet            Container image "registry.digitalocean.com/anubis/theia-dockerd" already present on machine

  Normal   Created    8m36s                   kubelet            Created container dockerd

  Normal   Started    8m36s                   kubelet            Started container dockerd

  Normal   Pulling    8m35s                   kubelet            Pulling image "registry.digitalocean.com/anubis/theia-admin:latest"

  Warning  Failed     8m35s                   kubelet            Error: ErrImagePull

  Warning  Failed     8m35s                   kubelet            Failed to pull image "registry.digitalocean.com/anubis/theia-admin:latest": rpc error: code = Unknown desc = Error response from daemon: Head "https://registry.digitalocean.com/v2/anubis/theia-admin/manifests/latest": unauthorized: authentication required

  Warning  Failed     8m35s                   kubelet            Error: ErrImagePull

  Normal   Pulled     8m35s                   kubelet            Container image "registry.digitalocean.com/anubis/theia-autosave" already present on machine

  Normal   Created    8m33s                   kubelet            Created container autosave

  Normal   Started    8m33s                   kubelet            Started container autosave

  Warning  Failed     8m31s (x2 over 8m32s)   kubelet            Error: ImagePullBackOff

  Normal   BackOff    8m31s (x2 over 8m32s)   kubelet            Back-off pulling image "registry.digitalocean.com/anubis/theia-admin:latest"

  Warning  Failed     8m31s (x2 over 8m32s)   kubelet            Error: ImagePullBackOff

  Warning  Failed     8m19s (x2 over 8m35s)   kubelet            Failed to pull image "registry.digitalocean.com/anubis/anubis-authz": rpc error: code = Unknown desc = Error response from daemon: Head "https://registry.digitalocean.com/v2/anubis/anubis-authz/manifests/latest": unauthorized: authentication required

  Normal   Pulling    8m19s (x2 over 8m36s)   kubelet            Pulling image "registry.digitalocean.com/anubis/anubis-authz"

  Normal   BackOff    3m34s (x20 over 8m32s)  kubelet            Back-off pulling image "registry.digitalocean.com/anubis/anubis-authz"

Desktop (please complete the following information):

  • OS: Ubuntu
  • Firefox
  • Latest version
Copy link

github-actions bot commented Feb 3, 2025

Thank you for submitting an issue to Anubis! Please make sure that your issue is consistent with our contribution guidelines.

@levelupsec levelupsec changed the title mkdebug Unauthorized error mkdebug Theia anubis-authz unautheticated error Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant