AnubisLMS / AnubisLMS/Anubis

mkdebug Theia anubis-authz unautheticated error

Open
#475 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
381
Forks
53
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.