When launching Netmaker it fails at setting iptables forwards policy, leading to a crash.
[netmaker] 2022-02-21 18:56:53 database successfully connected
[netmaker] 2022-02-21 18:56:54 no OAuth provider found or not configured, continuing without OAuth
[netmaker] 2022-02-21 18:56:54 setting iptables forward policy
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/gravitl/netmaker/serverctl.portForwardServices()
/app/serverctl/iptables.go:56 +0x1d2
github.com/gravitl/netmaker/serverctl.InitIPTables()
/app/serverctl/iptables.go:29 +0x8a
main.initialize()
/app/main.go:82 +0x3bd
main.main()
/app/main.go:35 +0xaa
netmaker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
netmaker.service: Failed with result 'exit-code'.
I'm launching Netmaker via a systemd unit, replicating what can be found at the 'contained' docker-compose:
Hello!
Netmaker version: 0.10.0 Host: Fedora CoreOS 35
When launching Netmaker it fails at setting iptables forwards policy, leading to a crash.
I'm launching Netmaker via a systemd unit, replicating what can be found at the 'contained' docker-compose:
My env file is also the same as the one found in the quick start example:
I'm able to successfully launch 0.9.4, but not 0.10.0 . I'm not sure what I'm missing. Any help would be appreciated!
Thanks