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

[v22.1.x] backport #4390 #4480

Merged
merged 10 commits into from
Apr 28, 2022
Merged

[v22.1.x] backport #4390 #4480

merged 10 commits into from
Apr 28, 2022

Conversation

dotnwat
Copy link
Member

@dotnwat dotnwat commented Apr 28, 2022

Backport PR: #4390
Fixes: #4435

An older broker will not include this field in the returned json and the
field pointer will be nil.

Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit c185eae)
Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit 029b0cc)
Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit c6117c9)
The --wait option can be used to block until the cluster
reports that draining is complete for a broker that has
been put into maintenance mode.

Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit b194a21)
Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit 2348187)
This uses rpk cluster maintenance status to augment existing
checks that depend on the raw admin api for querying status.
The version of the tests require that both interfaces agree
on the status.

Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit 3bb7f06)
Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit a7909d1)
Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit bc33517)
Prior to this change ducktape wait_until was used to create a barrier
to wait on maintenance mode and a node being drained. having this
built-in to rpk is useful for cases like manually running an upgrade
where waiting on draining to complete is interactive, or added into a
script.

Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit 9df7079)
  struct field tag `json:"version` not compatible with
  reflect.StructTag.Get: bad syntax for struct tag value

Signed-off-by: Noah Watkins <noah@redpanda.com>
(cherry picked from commit bc4b155)
@dotnwat dotnwat merged commit e45e5cc into redpanda-data:v22.1.x Apr 28, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants