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

[robustness] kubernetes traffic is unable to send List request #19292

Closed
4 tasks
fuweid opened this issue Jan 27, 2025 · 2 comments · Fixed by #19319
Closed
4 tasks

[robustness] kubernetes traffic is unable to send List request #19292

fuweid opened this issue Jan 27, 2025 · 2 comments · Fixed by #19319

Comments

@fuweid
Copy link
Member

fuweid commented Jan 27, 2025

Bug report criteria

What happened?

Since #19137, the kubernetes traffic is unable to send list request because end field is reset.

func (c *RecordingClient) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) {
revision := clientv3.OpGet(key, opts...).Rev()
return c.Range(ctx, key, "", revision, 0)

What did you expect to happen?

kubernetes traffic api should send list request during robustness test

How can we reproduce it (as minimally and precisely as possible)?

Run any robustness tests with kubernetes traffic

Anything else we need to know?

client/v3 package doesn't export limit so it's hard to get all the information from Op provided by kubernetes.List.

Etcd version (please run commands below)

$ etcd --version
# paste output here

$ etcdctl version
# paste output here

Etcd configuration (command line flags or environment variables)

paste your configuration here

Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

@serathius
Copy link
Member

cc @AwesomePatrol

@serathius
Copy link
Member

@AwesomePatrol Can you take a look and confirm if this is an issue?

aladesawe pushed a commit to aladesawe/etcd that referenced this issue Feb 5, 2025
Since etcd-io#19137, kubernetes traffic profile is unable to send List request
with page size, because limit in option is not accessable. To fix it,
this fix is to introduce Limit() interface.

Fixes: etcd-io#19292

Signed-off-by: Wei Fu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants