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

Failure in PartitionMovementTest.test_availability_when_one_node_down (ECONNREFUSED) #5695

Closed
ajfabbri opened this issue Jul 28, 2022 · 2 comments · Fixed by #5727
Closed
Assignees

Comments

@ajfabbri
Copy link
Contributor

PartitionMovementTest.test_availability_when_one_node_down fails with ECONNREFUSED trying to query the partitions/kafka/<topic>/0/replicas endpoint, which is very similar to #5189. Same error, same query, same test class, but different test case--thus the new bug instead of reopening #5189.

PartitionMovementTest.test_availability_when_one_node_down (3/9 runs) 
failure at 2022-07-27T21:40:32.761Z: ConnectionError(MaxRetryError("HTTPConnectionPool(host='docker-rp-7', port=9644):
Max retries exceeded with url: /v1/partitions/kafka/topic-ezddcdbxtc/0/replicas (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6d6d258280>:
Failed to establish a new connection: [Errno 111] Connection refused'))")) 

from build 13204

@ztlpn
Copy link
Contributor

ztlpn commented Jul 28, 2022

Yes, looks very similar to 5189, and the fix should be the same (i.e. this is a test problem).

@jcsp jcsp changed the title PartitionMovementTest.test_availability_when_one_node_down fails with ECONNREFUSED Failure in PartitionMovementTest.test_availability_when_one_node_down (ECONNREFUSED) Jul 28, 2022
@VadimPlh
Copy link
Contributor

mmaslankaprv added a commit to mmaslankaprv/redpanda that referenced this issue Jul 29, 2022
We need to wait for the new controller to be elected if the stopped node
was the one before. Retry policy in admin client would fail as all the
requested nodes would redirect request to old controller which is
unavailable.

Fixes: redpanda-data#5695

Signed-off-by: Michal Maslanka <michal@redpanda.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants