From d688b94cd5935754ba6e53a38d8f7a9e82bc12e4 Mon Sep 17 00:00:00 2001 From: Eli Qiao Date: Thu, 7 Apr 2016 16:05:17 +0800 Subject: [PATCH] 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 --- doc/source/troubleshooting-guide.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/source/troubleshooting-guide.rst b/doc/source/troubleshooting-guide.rst index 45846436b1..31bd7dc892 100644 --- a/doc/source/troubleshooting-guide.rst +++ b/doc/source/troubleshooting-guide.rst @@ -507,7 +507,8 @@ Check the following: Magnum also loads this configuration into etcd, therefore, verify 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 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 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 echo $s etcdctl get $s done - /coreos.com/network/subnets/10.100.14.0-24 + /atomic.io/network/subnets/10.100.14.0-24 {"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"} - /coreos.com/network/subnets/10.100.92.0-24 + /atomic.io/network/subnets/10.100.92.0-24 {"PublicIP":"10.0.0.7"} Alternatively, you can read the full record in ectd by::