workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

[Bug] - Can not resume containers once they are paused.

Open bruman opened this issue 5 months ago • 0 comments

Existing Resources

  • [Yes] Please search the existing issues for related problems
  • [Yes] Consult the product documentation : Docs
  • [Yes] Consult the FAQ : FAQ
  • [Yes] Consult the Troubleshooting Guide : Guide
  • [Yes] Reviewed existing training videos: Youtube

Describe the bug KASM workspaces are unable to start after a period of time

To Reproduce Steps to reproduce the behavior:

  1. happens with multiple workspaces, Jammy, and Kali linux.
  2. start the session, come back the next day or so, click on resume,
  3. Fails to start with the error message kasm not running.
  4. When i look at the docker container i see
0bb1a9928825   kasmweb/kali-rolling-desktop:1.15.0           "/dockerstartup/kasm…"   7 days ago     Up 9 minutes (Paused)   4901/tcp, 5901/tcp, 6901/tcp                                                   ian_718a5e36

What appears to be happing the container is paused. I have tried manually unpausing, and I can then get into the host with

sudo docker exec -it ian_718a5e36 /bin/bash

but when i connect via the web UI it pauses again.

Idle_disconnect is 60 session_time_limt is 0 allow_kasm_pause enabled allow_kasm_stop enabled keepalive_expiration = 3600 keepalive_expiration_action = pause.

Expected behavior I should be able to restart a container and connect.

Screenshots If applicable, add screenshots to help explain your problem.

Workspaces Version 1.15.0.577587

Workspaces Installation Method Single Server

Client Browser (please complete the following information): Chrome 128

Workspace Server Information (please provide the output of the following commands):

  • uname -a
  • Linux 5.14.0-427.28.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 15:28:35 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • cat /etc/os-release NAME="Rocky Linux" VERSION="9.4 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.4" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.4 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2032-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9" ROCKY_SUPPORT_PRODUCT_VERSION="9.4" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.4"
  • sudo docker info NAME="Rocky Linux" VERSION="9.4 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.4" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.4 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2032-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9" ROCKY_SUPPORT_PRODUCT_VERSION="9.4" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.4" [ism@aberdeen ~]$ sudo docker info [sudo] password for ism: Client: Docker Engine - Community Version: 27.1.1 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.16.1 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.29.1 Path: /usr/libexec/docker/cli-plugins/docker-compose

Server: Containers: 48 Running: 23 Paused: 1 Stopped: 24 Images: 124 Server Version: 27.1.1 Storage Driver: overlay2 Backing Filesystem: xfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: runc io.containerd.runc.v2 Default Runtime: runc Init Binary: docker-init containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc version: v1.1.13-0-g58aa920 init version: de40ad0 Security Options: seccomp Profile: builtin cgroupns Kernel Version: 5.14.0-427.28.1.el9_4.x86_64 Operating System: Rocky Linux 9.4 (Blue Onyx) OSType: linux Architecture: x86_64 CPUs: 24 Total Memory: 62.32GiB Name: aberdeen.iwasdot.com ID: e9748166-8f74-4bff-90d0-fbb07002e75f Docker Root Dir: /mnt/docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

  • sudo docker ps | grep kasm

b4c51cedba6a kasmweb/ubuntu-jammy-desktop:1.15.0-rolling "/dockerstartup/kasm…" 3 hours ago Up 3 hours 4901/tcp, 5901/tcp, 6901/tcp ian_af308252 0bb1a9928825 kasmweb/kali-rolling-desktop:1.15.0 "/dockerstartup/kasm…" 7 days ago Up 19 minutes (Paused) 4901/tcp, 5901/tcp, 6901/tcp ian_718a5e36 a3ee77cfadc0 kasmweb/nginx:1.25.3 "/docker-entrypoint.…" 2 months ago Up 3 hours 80/tcp, 0.0.0.0:4443->4443/tcp, :::4443->4443/tcp kasm_proxy cb6700cd1645 kasmweb/agent:1.15.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 3 hours (healthy) 4444/tcp kasm_agent c0e2f45940e1 kasmweb/share:1.15.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 3 hours (healthy) 8182/tcp kasm_share 43ecbb2282ae kasmweb/manager:1.15.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 3 hours (healthy) 8181/tcp kasm_manager 58630e7102c0 kasmweb/api:1.15.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 3 hours (healthy) 8080/tcp kasm_api 0f30594e8c67 postgres:12-alpine "docker-entrypoint.s…" 2 months ago Up 3 hours (healthy) 5432/tcp kasm_db 89a8c76b4de4 redis:5-alpine "docker-entrypoint.s…" 2 months ago Up 3 hours 6379/tcp kasm_redis ada6b9836076 kasmweb/kasm-guac:1.15.0 "/dockerentrypoint.sh" 2 months ago Up 3 hours (healthy) kasm_guac Additional context

bruman avatar Sep 20 '24 19:09 bruman