Comments (7)
OK for some reason the subnet is <nil>
in the db. I'm not sure how it would have received that. I'm going to do some debug and see if we can add some checks to prevent erroneous routes from being assigned.
from stellar.
Hmm ya everything looks OK in the config. What does ip a s
show for your network devices?
from stellar.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether 00:01:2e:78:2b:e2 brd ff:ff:ff:ff:ff:ff
3: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:01:2e:78:2b:e3 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.6/24 brd 172.16.0.255 scope global enp3s0
valid_lft forever preferred_lft forever
inet6 fe80::201:2eff:fe78:2be3/64 scope link
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:bc:c6:52:c8 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
from stellar.
I'm trying to re-create this. In the meantime I've pushed some more debug logging around the subnet allocation. Can you try the latest master to see if that can tell us anymore? Thanks!
from stellar.
new output is
DEBU[0000] service.network allocating subnet
DEBU[0000] local subnet from datastore subnet="[60 110 105 108 62]"
FATA[0000] error parsing subnet "" (): invalid CIDR address:
from stellar.
with the latest debug information the root cause was a misconfigured datastore from an initial startup where I used subnet 192.168.0.0/24 because my local LAN setup is within 172.16.0.0/16 .. I removed the local data store in /var/lib/stellar and the startup worked with the default setup but killed my routing on the box :-D
After switching to 192.168.0.0/16 stellar started and I was able to use sctl and also deploy the sample.
Must the subnet be /16 range?
from stellar.
Thanks for the update! I was looking at a way to clean up the boltdb. This is a bug :)
First, we need to detect when the Subnet
changes in the config as right now if there is a subnet (good or bad) in the db it will use that.
Second, there appears to be an issue with the subnet division. If /24 is used it does not calculate a valid route for some reason. I'm going to debug this and add some tests for various subnets.
Thanks for the debug! It helps tremendously 👍
from stellar.
Related Issues (20)
- macOS HOT 1
- Missing dependency(?) HOT 7
- Race condition in tombstone records
- Integration Tests
- Incompatible CNI versions HOT 4
- Volumes ? HOT 2
- Bind interface operation not permitted HOT 2
- Skipping local route HOT 1
- Supported arch(s)? HOT 11
- Fail-over? HOT 1
- failed to find plugin "loopback" HOT 4
- Garbage collector
- Auto update containers
- Authentication between nodes HOT 2
- How do I use the gRPC Gateway API? HOT 6
- logs management
- endpoints for UDP/TCP HOT 4
- Is there a chat room? HOT 1
- makefile package target use case
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stellar.