kasmtech / workspaces-issues

18 stars 3 forks source link

[Bug] - Kasm config overwrites and displays wrong storage. #537

Open MrTronMan opened 3 months ago

MrTronMan commented 3 months ago

Existing Resources

Describe the bug I nearly ran out of storage and Kasm was experiencing gateway errors with the proxy and nginx, I am 95% sure this is because of storage being nearly empty. Before uninstalling Kasm I exported a config. I then deleted all Kasm containers and followed the uninstall process, added space, and then followed the reinstall process. In doing so, my storage was updated (in Workspace Registry) to my new "storage remaining". I tested and sessions were created with no issues. I then imported the config into Kasm. My storage was then reading back to what it was originally (1.2 GB) and I am back to having issues.

To Reproduce Steps are practically listed in the description.

Expected behavior Kasm to import all of my settings and read a proper storage output.

Screenshots Custom Install:  Fresh Install (untouched)

Workspaces Version 1.15.0

Workspaces Installation Method Single Server

Client Browser (please complete the following information):

Workspace Server Information (please provide the output of the following commands): This is from Kasm WITH the "broken config" on it.

Server: Containers: 8 Running: 8 Paused: 0 Stopped: 0 Images: 16 Server Version: 24.0.6 Storage Driver: overlay2 Backing Filesystem: extfs 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 logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 8165feabfdfe38c65b599c4993d227328c231fca runc version: v1.1.8-0-g82f18fe init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 5.15.0-101-generic Operating System: Ubuntu 22.04.2 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 7.751GiB Name: tmc-workspaces ID: b0e809ef-91ab-43b4-8cf6-9348cbe148d3 Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

MrTronMan commented 3 months ago

I went through the exported json and located the storage values and noticed they are fixed, if I remove them and still import will it break? Also, it might just be easier for me to reconfigure everything.