-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade from 3.3.18 to 3.4.3 panic #11405
Labels
Comments
wrfly
changed the title
update from 3.3.18 to 3.4.3 panic
upgrade from 3.3.18 to 3.4.3 panic
Nov 28, 2019
version: '2'
services:
etcd1:
image: gcr.io/etcd-development/etcd:v3.4.3
restart: always
ports:
- 23791:2379
- 23801:2380
network_mode: etcd_3313
volumes:
- etcd1:/data
- ./cert:/cert
environment:
ETCD_NAME: infra1
ETCD_DEBUG: "true"
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://172.30.0.1:23801
ETCD_INITIAL_CLUSTER: infra3=http://172.30.0.1:23803,infra1=http://172.30.0.1:23801,infra2=http://172.30.0.1:23802
ETCD_INITIAL_CLUSTER_STATE: new
ETCD_DATA_DIR: /data
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_ADVERTISE_CLIENT_URLS: http://172.30.0.1:23791
ETCD_AUTH_TOKEN: jwt,pub-key=/cert/jwt_RS256.pub,priv-key=/cert/jwt_RS256,sign-method=RS256
etcd2:
image: gcr.io/etcd-development/etcd:v3.4.3
restart: always
ports:
- 23792:2379
- 23802:2380
network_mode: etcd_3313
volumes:
- etcd2:/data
- ./cert:/cert
environment:
ETCD_NAME: infra2
ETCD_DEBUG: "true"
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://172.30.0.1:23802
ETCD_INITIAL_CLUSTER: infra3=http://172.30.0.1:23803,infra1=http://172.30.0.1:23801,infra2=http://172.30.0.1:23802
ETCD_INITIAL_CLUSTER_STATE: new
ETCD_DATA_DIR: /data
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_ADVERTISE_CLIENT_URLS: http://172.30.0.1:23792
ETCD_AUTH_TOKEN: jwt,pub-key=/cert/jwt_RS256.pub,priv-key=/cert/jwt_RS256,sign-method=RS256
etcd3:
image: gcr.io/etcd-development/etcd:v3.4.3
restart: always
ports:
- 23793:2379
- 23803:2380
network_mode: etcd_3313
volumes:
- etcd3:/data
- ./cert:/cert
environment:
ETCD_NAME: infra3
ETCD_DEBUG: "true"
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://172.30.0.1:23803
ETCD_INITIAL_CLUSTER: infra3=http://172.30.0.1:23803,infra1=http://172.30.0.1:23801,infra2=http://172.30.0.1:23802
ETCD_INITIAL_CLUSTER_STATE: new
ETCD_DATA_DIR: /data
ETCD_LOGGER: zap
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_ADVERTISE_CLIENT_URLS: http://172.30.0.1:23793
ETCD_AUTH_TOKEN: jwt,pub-key=/cert/jwt_RS256.pub,priv-key=/cert/jwt_RS256,sign-method=RS256
volumes:
etcd1:
etcd2:
etcd3: |
creating user and role with: etcd-local is an alias for etcdctl --endpoints localhost:23791,localhost:23792,localhost:23793
etcd-local user add root:toor
etcd-local user add user:pass
etcd-local role add rw
etcd-local role grant-permission --prefix=true rw readwrite /
etcd-local user grant-role user rw |
This is a bug. We should fix in master branch and backport to 3.4. @YoyinZyc Do you want to give a try? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a docker-compose with etcd 3.3.18, when I trying to replace the image version to 3.4.3, cannot auth the user I created under 3.3.18 and the etcd server paniced.
The text was updated successfully, but these errors were encountered: