Dstack-TEE / Dstack-TEE/dstack

CVM keeps exiting and booting when started from the Dstack dashboard

Abierto
#334 6 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
544
Forks
96
Merge medio
17 h 57 min
PR fusionados (30 d)
117

Descripción

I tried following the instructions in the README but can't get a working CVM from the Dstack dashboard. My understanding is that I don't really need a KMS+Gateway in a simple dev environment. Specially because I would need to setup a domain AFAICT. If this isn't supposed to work without a KMS+Gateway, then please let me know if there is any docs on how this domains are used so that I can do some setup locally that could work.

## Current config
- Ubuntu 24.04.3 LTS
- INTEL(R) XEON(R) GOLD 5515+ / 256G of RAM
- TDX is enabled in the BIOS, and I ran a CVM following canonical/tdx

## To reproduce
- clone the repo (v0.5.3)
- run the following from dtack repo
```bash
mkdir build
cd build
../build.sh hostcfg
../build.sh hostcfg
../build.sh dl 0.5.3
```
- changed `address` and `cvm.port_mapping.address` to `0.0.0.0` (this is a dev server) and ran `./dstack-vmm -c vmm.toml`
- On the website, I deployed a new cvm (didn't change much of the default) with
```yaml
version: '3.8'
services:
nginx:
image: nginx:latest
ports:
- "8080:80"
restart: always
```

Image

(Note the "Compose Hash: 0xError calculating hash" error message)

Then the CVM keeps going from the booting to exited status and back to booting

I see this error in the logs:
```bash
[ 2.026193] dstack-prepare.sh[229]: Syncing system time...
[ 2.037770] dstack-prepare.sh[245]: 200 OK
[ 2.042779] dstack-prepare.sh[229]: Preparing dstack system...
[ 2.158823] dstack-prepare.sh[247]: 2025-09-15T09:33:29.127568Z INFO cmd_lib::builtins: Mounting host-shared
[ 2.167417] dstack-prepare.sh[247]: 2025-09-15T09:33:29.135874Z INFO cmd_lib::builtins: Copying host-shared files
[ 2.185335] dstack-prepare.sh[247]: 2025-09-15T09:33:29.154273Z INFO cmd_lib::builtins: Unmounting host-shared
[ 2.204061] dstack-prepare.sh[247]: 2025-09-15T09:33:29.172948Z INFO dstack_util::system_setup: System time will be synchronized by chronyd in background
[ 2.215256] dstack-prepare.sh[247]: 2025-09-15T09:33:29.183570Z INFO dstack_util::system_setup: No key provider is enabled, generating temporary app keys
[ 2.243090] dstack-prepare.sh[247]: Error: Failed to generate app keys
[FAILED] Failed to start DStack Guest Preparation Service.
[ 2.247257] dstack-prepare.sh[247]: Caused by:
See 'systemctl status dstack-prepare.service' for details.
[ 2.250387] dstack-prepare.sh[247]: 0: Failed to get quote
```

And this single line in the stderr
```bash
qemu-system-x86_64: cpus are not resettable, terminating
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.