Discussion:
GCE Flannel Documentation
Osman Ali
2018-07-04 05:01:00 UTC
Permalink
Is the current documentation available here up to date?

https://coreos.com/flannel/docs/latest/gce-backend.html

Seems to result in error when using the following:

CoreOS stable 1745.7.0

I run the following to start etcd:

sudo systemctl enable /usr/lib/systemd/system/etcd-member.service
sudo systemctl start etcd-member

Running

etcdctl version

Shows:

etcdctl version: 3.3.3
API version: 3.3


Running

sudo rkt list

Shows:

5c46887b etcd quay.io/coreos/etcd:v3.3.3 running 28 minutes
ago 28 minutes ago

However, when I run:

etcd --advertise-client-urls http://$INTERNAL_IP:2379 --listen-client-urls
http://0.0.0.0:2379

I receive:

etcd: command not found

Running:

etcdctl set /coreos.com/network/config '{"Network":"10.40.0.0/16",
"Backend": {"Type": "gce"}}'

I receive:

Error: unknown command "set" for "etcdctl"
Did you mean this?
get
put
del
user

Run 'etcdctl --help' for usage.
Error: unknown command "set" for "etcdctl"

Did you mean this?
get
put
del
user
Luca BRUNO
2018-07-04 07:57:44 UTC
Permalink
Post by Osman Ali
Is the current documentation available here up to date?
https://coreos.com/flannel/docs/latest/gce-backend.html
I think that such document still refers to etcd2 and should be updated
for etcd3.
The source for flannel documentation lives here:
https://github.com/coreos/flannel/tree/master/Documentation
Would you mind reporting your findings as a bug report there?
Post by Osman Ali
etcd --advertise-client-urls http://$INTERNAL_IP:2379 --listen-client-urls
http://0.0.0.0:2379
etcd: command not found
ContainerLinux ships etcd3 as a containerized service, see
https://coreos.com/etcd/docs/latest/os-faq.html#where-do-i-find-etcd-v3-in-container-linux
Post by Osman Ali
etcdctl set /coreos.com/network/config '{"Network":"10.40.0.0/16",
"Backend": {"Type": "gce"}}'
Error: unknown command "set" for "etcdctl"
For etcd3, the subcommand is `etcdctl put`.

Ciao, Luca
--
"If you build a wall, think of what you leave outside it" - Italo Calvino
Osman Ali
2018-07-05 01:01:48 UTC
Permalink
Will do. Thanks.
Post by Luca BRUNO
Post by Osman Ali
Is the current documentation available here up to date?
https://coreos.com/flannel/docs/latest/gce-backend.html
I think that such document still refers to etcd2 and should be updated
for etcd3.
https://github.com/coreos/flannel/tree/master/Documentation
Would you mind reporting your findings as a bug report there?
Post by Osman Ali
etcd --advertise-client-urls http://$INTERNAL_IP:2379
--listen-client-urls
Post by Osman Ali
http://0.0.0.0:2379
etcd: command not found
ContainerLinux ships etcd3 as a containerized service, see
https://coreos.com/etcd/docs/latest/os-faq.html#where-do-i-find-etcd-v3-in-container-linux
Post by Osman Ali
etcdctl set /coreos.com/network/config '{"Network":"10.40.0.0/16",
"Backend": {"Type": "gce"}}'
Error: unknown command "set" for "etcdctl"
For etcd3, the subcommand is `etcdctl put`.
Ciao, Luca
--
"If you build a wall, think of what you leave outside it" - Italo Calvino
Osman Ali
2018-07-12 07:24:27 UTC
Permalink
https://github.com/coreos/flannel/issues/1015
Post by Luca BRUNO
Post by Osman Ali
Is the current documentation available here up to date?
https://coreos.com/flannel/docs/latest/gce-backend.html
I think that such document still refers to etcd2 and should be updated
for etcd3.
https://github.com/coreos/flannel/tree/master/Documentation
Would you mind reporting your findings as a bug report there?
Post by Osman Ali
etcd --advertise-client-urls http://$INTERNAL_IP:2379
--listen-client-urls
Post by Osman Ali
http://0.0.0.0:2379
etcd: command not found
ContainerLinux ships etcd3 as a containerized service, see
https://coreos.com/etcd/docs/latest/os-faq.html#where-do-i-find-etcd-v3-in-container-linux
Post by Osman Ali
etcdctl set /coreos.com/network/config '{"Network":"10.40.0.0/16",
"Backend": {"Type": "gce"}}'
Error: unknown command "set" for "etcdctl"
For etcd3, the subcommand is `etcdctl put`.
Ciao, Luca
--
"If you build a wall, think of what you leave outside it" - Italo Calvino
Loading...