Doc: fix flannel etcd key
In flanneld version 0.5.4(on fedora-atomic-23 iamge), the default flannel etcd key changed from /coreos.com/network to /atomic.io/network. Use $FLANNEL_ETCD_KEY in /etc/sysconfig/flanneld for debugging. Change-Id: I13e26061b7a6b33878f90834eacde9c4bc6e72d7
This commit is contained in:
parent
98139f0ef3
commit
d688b94cd5
|
@ -507,7 +507,8 @@ Check the following:
|
||||||
Magnum also loads this configuration into etcd, therefore, verify
|
Magnum also loads this configuration into etcd, therefore, verify
|
||||||
the configuration in etcd by running *etcdctl* on the master nodes::
|
the configuration in etcd by running *etcdctl* on the master nodes::
|
||||||
|
|
||||||
etcdctl get /coreos.com/network/config
|
. /etc/sysconfig/flanneld
|
||||||
|
etcdctl get $FLANNEL_ETCD_KEY/config
|
||||||
|
|
||||||
- Each node is allocated a segment of the network space. Check
|
- Each node is allocated a segment of the network space. Check
|
||||||
for this segment on each node by::
|
for this segment on each node by::
|
||||||
|
@ -519,17 +520,18 @@ Check the following:
|
||||||
*etcdctl* on the master node to query the network segment associated
|
*etcdctl* on the master node to query the network segment associated
|
||||||
with each node::
|
with each node::
|
||||||
|
|
||||||
for s in `etcdctl ls /coreos.com/network/subnets`
|
. /etc/sysconfig/flanneld
|
||||||
|
for s in `etcdctl ls $FLANNEL_ETCD_KEY/subnets`
|
||||||
do
|
do
|
||||||
echo $s
|
echo $s
|
||||||
etcdctl get $s
|
etcdctl get $s
|
||||||
done
|
done
|
||||||
|
|
||||||
/coreos.com/network/subnets/10.100.14.0-24
|
/atomic.io/network/subnets/10.100.14.0-24
|
||||||
{"PublicIP":"10.0.0.5"}
|
{"PublicIP":"10.0.0.5"}
|
||||||
/coreos.com/network/subnets/10.100.61.0-24
|
/atomic.io/network/subnets/10.100.61.0-24
|
||||||
{"PublicIP":"10.0.0.6"}
|
{"PublicIP":"10.0.0.6"}
|
||||||
/coreos.com/network/subnets/10.100.92.0-24
|
/atomic.io/network/subnets/10.100.92.0-24
|
||||||
{"PublicIP":"10.0.0.7"}
|
{"PublicIP":"10.0.0.7"}
|
||||||
|
|
||||||
Alternatively, you can read the full record in ectd by::
|
Alternatively, you can read the full record in ectd by::
|
||||||
|
|
Loading…
Reference in New Issue