wasmCloud: [BUG] wash app deploy succeeds but does not deploy neither on Fedora nor on Ubuntu

Affected project(s)

  • documentation
  • examples
  • wasmCloud host
  • wasmCloud CLI (wash)
  • wasmCloud dashboard UI (washboard)
  • capability providers
  • provider bindgen
  • control interface client
  • other / not sure

Describe the bug

According to my tests, wash app deploy completes but does not properly deploy apps on Fedora Linux

For example, with the Tinygo Hello World example:

$ wash new component hello --template-name hello-world-tinygo
๐Ÿ”ง   Cloning template from repo wasmCloud/wasmCloud subfolder examples/golang/components/http-hello-world...
๐Ÿ”ง   Using template subfolder examples/golang/components/http-hello-world...
๐Ÿ”ง   Generating template...
[ 1/63]   Done: .gitignore                                                                                                             [ 2/63]   Done: README.md                                                                                                              [ 3/63]   Done: go.mod                                                                                                                 [ 4/63]   Done: hello.go                                                                                                               [ 5/63]   Skipped: project-generate.toml                                                                                               [ 6/63]   Done: wadm.yaml                                                                                                              [ 7/63]   Done: wasmcloud.toml                                                                                                         [ 8/63]   Done: wit/deps/cli/command.wit                                                                                               [ 9/63]   Done: wit/deps/cli/environment.wit                                                                                           [10/63]   Done: wit/deps/cli/exit.wit                                                                                                  [11/63]   Done: wit/deps/cli/imports.wit                                                                                               [12/63]   Done: wit/deps/cli/run.wit                                                                                                   [13/63]   Done: wit/deps/cli/stdio.wit                                                                                                 [14/63]   Done: wit/deps/cli/terminal.wit                                                                                              [16/63]   Done: wit/deps/clocks/monotonic-clock.wit                                                                                    [17/63]   Done: wit/deps/clocks/wall-clock.wit                                                                                         [18/63]   Done: wit/deps/clocks/world.wit                                                                                              [20/63]   Done: wit/deps/filesystem/preopens.wit                                                                                       [21/63]   Done: wit/deps/filesystem/types.wit                                                                                          โœจ   Done! New project created /home/horacio/git/wasmcloud/hello

Project generated and is located at: /home/horacio/git/wasmcloud/hello

$ wash build
Actor built and signed and can be found at "/home/horacio/git/wasmcloud/hello/build/http_hello_world_s.wasm"

$ wash app deploy wadm.yaml 
Successfully deployed model tinygo-http-hello-world v0.0.1

$ wash app list                                                                                                                                                                                                        
  Name                      Latest Version   Deployed Version   Deploy Status   Description                                                                                                             
  tinygo-http-hello-world   v0.0.1           v0.0.1                Undeployed   HTTP hello world demo in Golang (TinyGo), using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)  

Steps to reproduce

  1. wash app deploy your-app.yaml
  2. wash app list
  3. Notice that the app list says that your app is undeployed

Expected behavior

The application should have been successfully deployed

Environment

  • OS: Fedora Linux
  • Shell: bash
  • wasmcloud Version: latest

Screenshots / Logs / Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Comments: 20 (15 by maintainers)

Most upvoted comments

@brooksmtownsend new issue reported here No problem, I appreciate your active participation ๐Ÿ˜ƒ

Oh boy, Internal storage error. @sunny-g would you mind opening up another issue with any errors you can see from ~/.wash/downloads/wasmcloud.log and ~/.wash/downloads/wadm.log? I really appreciate your patience here, I have a feeling theres a bug that we can fix when it comes to migrating from 0.82 to 1.0 to make it smoother for folks. Just suggesting a new issue so we can approach it fresh ๐Ÿ˜„

@LostInBrittany is this still an issue that youโ€™re reproducing on a fresh machine?

We donโ€™t currently have the functionality to drain all outstanding claims (we have planned to do it in #1740, actually)

What you can do in the meantime is clear out the NATS Jetstream directory, which will do it ๐Ÿ˜„ This is basically the functionality weโ€™d implement in a wash drain nats type of command.

> cat ~/.wash/downloads/nats.log|grep Store
[77685] 2024/04/17 10:34:01.447656 [INF]   Store Directory: "/var/folders/rf/kgpfv4t9437cj3h3c77vglrr0000gn/T/wash-jetstream-4222/jetstream"

> rm -rf /var/folders/rf/kgpfv4t9437cj3h3c77vglrr0000gn/T/wash-jetstream-4222/jetstream

edit: we specify this in the NATS config as well:

~/.wash/downloads/nats.conf

jetstream {
    domain=core
    store_dir="/var/folders/rf/kgpfv4t9437cj3h3c77vglrr0000gn/T/wash-jetstream-4222"
}

websocket {
    port: 4223
    no_tls: true
}