You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the current nodeSet from masterdata to other
Check that the configuration has been updated
Rename other back to masterdata
It means that the nodeSet is renamed for a vey short moment.
When test is failing the resources are:
NAME HEALTH NODES VERSION PHASE AGE
elasticsearch.elasticsearch.k8s.elastic.co/test-sset-rename-reversal-nr6k green 1 7.9.1 Ready 25m
NAME READY AGE CONTAINERS IMAGES
statefulset.apps/test-sset-rename-reversal-nr6k-es-masterdata 1/1 25m elasticsearch docker.elastic.co/elasticsearch/elasticsearch:7.9.1
statefulset.apps/test-sset-rename-reversal-nr6k-es-other 0/1 23m elasticsearch docker.elastic.co/elasticsearch/elasticsearch:7.9.1
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
pod/test-sset-rename-reversal-nr6k-es-masterdata-0 1/1 Running 0 25m 10.0.129.77 gke-michael-dev-2-default-pool-add12a04-223g <none> <none>
pod/test-sset-rename-reversal-nr6k-es-other-0 0/1 Init:0/1 0 23m 10.0.128.77 gke-michael-dev-2-default-pool-ce5974a4-4jt0 <none> <none>
NAME TYPE DATA AGE
[..]
secret/test-sset-rename-reversal-nr6k-es-masterdata-es-transport-certs Opaque 3 25m
secret/test-sset-rename-reversal-nr6k-es-other-es-transport-certs Opaque 1 23m
test-sset-rename-reversal-nr6k-es-other-0 can't start because the transport certificate is not generated (there's only ca.crt in test-sset-rename-reversal-nr6k-es-other-es-transport-certs), which seems to be expected knowing that the nodeSetother does not exist anymore in the Elasticsearch spec.
The Pod is not deleted because of the reason: Cannot remove the last running master node. checkDownscaleInvariants is assuming that there is only one master running (which is true, the other one will never start), but hence refuse to delete test-sset-rename-reversal-nr6k-es-other-0 which is also a master according to its labels. (even if it has never really been the case because it never started).
The text was updated successfully, but these errors were encountered:
The steps of this test are:
nodeSet
frommasterdata
toother
other
back tomasterdata
It means that the
nodeSet
is renamed for a vey short moment.When test is failing the resources are:
test-sset-rename-reversal-nr6k-es-other-0
can't start because the transport certificate is not generated (there's onlyca.crt
intest-sset-rename-reversal-nr6k-es-other-es-transport-certs
), which seems to be expected knowing that thenodeSet
other
does not exist anymore in the Elasticsearch spec.The Pod is not deleted because of the reason:
Cannot remove the last running master node
.checkDownscaleInvariants
is assuming that there is only one master running (which is true, the other one will never start), but hence refuse to deletetest-sset-rename-reversal-nr6k-es-other-0
which is also a master according to its labels. (even if it has never really been the case because it never started).The text was updated successfully, but these errors were encountered: