Zun

Docker: The endpoint is probably not valid etcd cluster endpoint

Bug #2009557 reported by Dmitriy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
New
Undecided
Unassigned

Bug Description

Hello. After fresh install I have problem with create container. (Centos 9, Zed)

zun.common.exception.DockerError: Docker internal error: 500 Server Error for http+docker://localhost/v1.26/networks/create: Internal Server Error ("failed to update store for object type *libnetwork.endpointCnt: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.").#033[00m

Dmitriy (vinew)
description: updated
Revision history for this message
hanxiao (xiao0) wrote :

You can try etcd enable v2 to accept etcd V2 client requests.

* Edit /usr/lib/systemd/system/etcd.service
```
[Service]
# ...
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd --enable-v2=true"
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.