Skip to content
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

Etcd cluster upgrade not working? #10

Open
ryanj opened this issue Jun 4, 2019 · 1 comment
Open

Etcd cluster upgrade not working? #10

ryanj opened this issue Jun 4, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ryanj
Copy link
Member

ryanj commented Jun 4, 2019

In the "Scale the Etcd Cluster" section, there is a step that instructs the user to update the spec.version setting to upgrade the datastore from release v3.1.10 to v3.2.13:

oc patch etcdcluster example-etcd-cluster --type='json' -p '[{"op": "replace", "path": "/spec/version", "value":3.2.13}]'

Expected: The following text is provided for the user: "This will take a while, but we will see pods being stopped and created as the version of the cluster is being upgraded."

Observed: The cluster kept running version v3.1.10. I didn't see any of the pods being stopped or restarted by the operator in order to perform the upgrade to v3.2.13

@ryanj ryanj added the help wanted Extra attention is needed label Jun 6, 2019
@madorn
Copy link
Contributor

madorn commented Jun 9, 2019

I can't replicate this issue...

When I patch the CR, the pods update to 3.2.13:

example-etcd-cluster-9dhk8rxp7v   1/1       Running   0         11m
example-etcd-cluster-9dhk8rxp7v   0/1       Running   1         11m
example-etcd-cluster-b26tpqj7zt   1/1       Running   0         10m
example-etcd-cluster-b26tpqj7zt   0/1       Running   1         10m
example-etcd-cluster-9dhk8rxp7v   1/1       Running   1         11m
example-etcd-cluster-b26tpqj7zt   1/1       Running   1         10m
example-etcd-cluster-c4w24r9v4j   1/1       Running   0         10m
example-etcd-cluster-c4w24r9v4j   0/1       Running   1         10m
example-etcd-cluster-c4w24r9v4j   1/1       Running   1         11m
example-etcd-cluster-hb9pqgcwr9   1/1       Running   0         11m
example-etcd-cluster-hb9pqgcwr9   0/1       Running   1         11m
example-etcd-cluster-hb9pqgcwr9   1/1       Running   1         11m
example-etcd-cluster-w2xsrgq9bw   1/1       Running   0         10m
example-etcd-cluster-w2xsrgq9bw   0/1       Running   1         10m
$ oc get pod -l etcd_cluster=example-etcd-cluster -o yaml | grep "image: quay.io"
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13
      image: quay.io/coreos/etcd:v3.2.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants