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

renterd failing to start after #1435 #1473

Closed
artur9010 opened this issue Aug 22, 2024 · 2 comments · Fixed by #1477
Closed

renterd failing to start after #1435 #1473

artur9010 opened this issue Aug 22, 2024 · 2 comments · Fixed by #1477
Assignees
Labels
bug Something isn't working

Comments

@artur9010
Copy link

Current Behavior

Running docker container on k3s kubernetes cluster. ARM64 nodes. Current dev (b377f76)

Using RENTERD_NETWORK environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_DB_URI environment variable
Using RENTERD_DB_USER environment variable
Using RENTERD_DB_PASSWORD environment variable
Using RENTERD_DB_NAME environment variable
Using RENTERD_DB_METRICS_NAME environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
Using RENTERD_LOG_FILE_ENABLED environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
2024-08-22T18:34:28Z	INFO	renterd	{"version": "b377f76", "network": "zen", "commit": "b377f76", "buildDate": "2024-08-22T08:35:54Z"}
2024-08-22T18:34:28Z	INFO	sql	Using MySQL version 8.4.2
2024-08-22T18:34:29Z	INFO	api: Listening on [::]:9980
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa4de90]
goroutine 1 [running]:
main.(*node).Run(0x4000460008)
	/renterd/cmd/renterd/node.go:411 +0x210
main.main()
	/renterd/cmd/renterd/main.go:72 +0x3d8

same issue for 8a169ab, b2ff8d2, 82c7ad0 and some random builds from latest to 4ada222

Using RENTERD_NETWORK environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_DB_URI environment variable
Using RENTERD_DB_USER environment variable
Using RENTERD_DB_PASSWORD environment variable
Using RENTERD_DB_NAME environment variable
Using RENTERD_DB_METRICS_NAME environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
Using RENTERD_LOG_FILE_ENABLED environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
2024-08-22T18:48:50Z	INFO	renterd	{"version": "4ada222", "network": "zen", "commit": "4ada222", "buildDate": "2024-08-15T15:16:54Z"}
2024-08-22T18:48:51Z	INFO	sql	Using MySQL version 8.4.2
2024-08-22T18:48:51Z	INFO	api: Listening on [::]:9980
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa235c4]
goroutine 1 [running]:
main.(*node).Run(0x4000438008)
	/renterd/cmd/renterd/node.go:411 +0x214
main.main()
	/renterd/cmd/renterd/main.go:72 +0x3d8

a bit older a945624 starts without any issue

Expected Behavior

work

Steps to Reproduce

  1. Start renterd on docker arm64

Version

anything between 4ada222 and b377f76

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

debian 11, kubernetes

Autopilot Config

x

Bus Config

x

Contract Set Contracts

x

Anything else?

No response

@artur9010 artur9010 added the bug Something isn't working label Aug 22, 2024
@artur9010 artur9010 changed the title renterd failing to start renterd failing to start after #1435 Aug 22, 2024
ChrisSchinnerl added a commit that referenced this issue Aug 26, 2024
Refactoring the node setup it looks like I made `autopilot.Run`
blocking. This prevents S3 setup from successfully completing.

Fixes #1473
@peterjan
Copy link
Member

@artur9010 thank you for reporting, please let me know if you experience any issues with node setup after this bug fix, we don't test it out on k8s setups internally so getting a headsup on these issues is really useful to us!

@artur9010
Copy link
Author

Tested with e2ce38a, starts without any issue. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants