Added wait_for_node_to_be_ready to starting stopped storage nodes #29
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testlib#29
Loading…
Reference in a new issue
No description provided.
Delete branch "ylukoyan/frostfs-testlib:fixture_start_storage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -90,6 +91,7 @@ class ClusterStateController:
def start_stopped_storage_services(self):
for node in self.stopped_storage_nodes:
node.start_service()
wait_for_node_to_be_ready(node)
This is potentially bad change.
Let say you have 4 services turned off.
You start first one and wait for READY status.
Since other 3 services are still down - this one will also never be ready.
If you want to wait for it to be ready, you should use
wait_all_storage_nodes_returned(self.shell, self.cluster)
after all services were started.
6e0d4ed9a1
tofa87303867