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

Multiple restarts when running systemctl restart on golemsp.service #5

Closed
stan7123 opened this issue Nov 6, 2023 · 3 comments
Closed

Comments

@stan7123
Copy link
Collaborator

stan7123 commented Nov 6, 2023

It looks in the logs that when running systemctl restart golemsp.service it tries to start yagna many times before stabilizing with the following error:

lis 06 16:15:19 golem-provider golemsp[2586]: [2023-11-06 16:15:19.176662 +00:00] ERROR [exe-unit/src/bin.rs:357] Invalid offer template [/usr/lib/yagna/plugins/ya-runtime-vm/ya-runtime-vm]: Error("trailing characters", line: 1, column: 894)
lis 06 16:15:19 golem-provider golemsp[2502]: Error: EOF while parsing a value at line 1 column 0
lis 06 16:15:19 golem-provider golemsp[2429]: [2023-11-06T16:15:19Z ERROR golemsp::service] child provider exited too early: Ok(ExitStatus(unix_wait_status(256)))
lis 06 16:15:19 golem-provider golemsp[2429]: [2023-11-06T16:15:19Z WARN  golemsp::service] provider exited with: Custom { kind: Other, error: "process exited too early" }
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::server] SIGTERM received; starting graceful shutdown
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::accept] accept thread stopped
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::server] SIGTERM received; starting graceful shutdown
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] shutting down idle worker
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] shutting down idle worker
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] shutting down idle worker
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] graceful worker shutdown; finishing 1 connections
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] graceful worker shutdown; finishing 1 connections
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] shutting down idle worker
lis 06 16:15:19 golem-provider golemsp[2433]: [2023-11-06T16:15:19.246+0000 INFO  actix_server::worker] shutting down idle worker
lis 06 16:15:19 golem-provider systemd[1]: golemsp.service: Main process exited, code=exited, status=11/n/a

My configuration in golemsp.service is:

...
golemsp run --payment-network testnet --subnet gpu-test
Environment=GOERLI_GETH_ADDR=https://rpc.ankr.com/eth_goerli 
...
@stan7123
Copy link
Collaborator Author

It's still happening on https://mirror.notset.fr/golem/golem-gpu-live-231119T160322Z.img.xz image.
Is this being worked on?

@marmarek
Copy link
Collaborator

This should be fixed by golemfactory/yagna#2769, but it wasn't available together with GPU support (golemfactory/yagna#2753) until yesterday (and I don't think there is any (pre)release with that fix yet). Anyway, @nieznanysprawiciel confirmed this issue is independent of Live USB implementation, so it is out of scope for this repository.

@nieznanysprawiciel
Copy link
Collaborator

There is new RC that should include fix to this problem:
https://github.com/golemfactory/yagna/releases/tag/pre-rel-v0.14.0-rc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants