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

bug?: Raise Auth error when run a env after build #1492

Open
Zheaoli opened this issue Feb 20, 2023 · 2 comments
Open

bug?: Raise Auth error when run a env after build #1492

Zheaoli opened this issue Feb 20, 2023 · 2 comments

Comments

@Zheaoli
Copy link
Member

Zheaoli commented Feb 20, 2023

Description

Raise Auth error when run a env after build

Reproduction

envdlib = include("https://github.com/tensorchord/envdlib")
def build():
    base(os="ubuntu20.04", language="python3.7")
    install.apt_packages(name=["gcc","make","automake", "g++"])
    install.python_packages(
        requirements="./requirements.txt"
    )
    shell("zsh")
    envdlib.jupyter_lab(host_port=12345)
  1. build a image with the content above by using command envd build --tag manjusaka:dev,
  2. run by using the command envd run --image manjusaka:dev --name test
  3. An error message has been raised from https://github.com/tensorchord/envd/blob/main/pkg/home/auth.go#L85

Additional Info

Docker Info Command Result

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.8.2)
  compose: Docker Compose (Docker Inc., v2.5.0)

Server:
 Containers: 3
  Running: 2
  Paused: 0
  Stopped: 1
 Images: 116
 Server Version: 20.10.17
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
 runc version: 
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.15.0-1028-aws
 Operating System: Ubuntu Core 18
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 124.4GiB
 Name: production-optimus-2
 ID: J7JT:NEC4:K6LD:NWGG:XVMQ:BCXR:LXFB:ONIV:MU6Q:3464:CUJB:3TVQ
 Docker Root Dir: /var/snap/docker/common/var-lib-docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Envd Version Command results

envd: v0.3.13
  BuildDate: 2023-02-20T01:50:05Z
  GitCommit: 0f21639612f0c438bcd57f07de273858f5a70d81
  GitTreeState: clean
  GitTag: v0.3.13
  GoVersion: go1.18.10
  Compiler: gc
  Platform: linux/amd64

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@gaocegege
Copy link
Member

Are you using envd-server?

@Zheaoli
Copy link
Member Author

Zheaoli commented Feb 20, 2023

Are you using envd-server?

No, standard envd local environment

@Zheaoli Zheaoli closed this as completed Feb 20, 2023
@Zheaoli Zheaoli reopened this Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants