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

Taking out resource version #134

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Taking out resource version #134

merged 1 commit into from
Nov 4, 2024

Conversation

paigerube14
Copy link
Contributor

I have been noticing in the node scenarios that when waiting for an "Unknown" status of the node after a node has been stopped it is waiting a very long time and then continues. I think this might be because of an issue with the wait_node_status has an improper/extra parameter. After taking the resource_version out I was properly able to run the scenario with no extra waits

Hitting the timeout even though node was already in unknown state output (timeout was 360 seconds)

2024-11-04 14:33:40,587 [INFO] Status of vm STOPPING
2024-11-04 14:33:45,740 [INFO] Status of vm STOPPING
2024-11-04 14:33:50,915 [INFO] Status of vm STOPPING
2024-11-04 14:33:56,058 [INFO] Status of vm TERMINATED
2024-11-04 14:33:56,058 [INFO] Node with instance ID: prubenda418-1-5hhsr-master-1 is in stopped state


2024-11-04 14:39:56,177 [INFO] Waiting for 10 seconds before starting the node
2024-11-04 14:40:06,180 [INFO] Starting node_start_scenario injection
2024-11-04 14:40:11,090 [INFO] Starting the node prubenda418-1-5hhsr-master-1 with instance ID: prubenda418-1-5hhsr-master-1 
2024-11-04 14:40:11,559 [INFO] vm name prubenda418-1-5hhsr-master-1 started
2024-11-04 14:40:11,699 [INFO] Status of vm TERMINATED
2024-11-04 14:40:16,847 [INFO] Status of vm STAGING
2024-11-04 14:40:21,985 [INFO] Status of vm RUNNING
2024-11-04 14:41:10,991 [INFO] Status of node prubenda418-1-5hhsr-master-1: Unknown
2024-11-04 14:41:17,845 [INFO] Node with instance ID: prubenda418-1-5hhsr-master-1 is in running state
2024-11-04 14:41:17,848 [INFO] node_start_scenario has been successfully injected!

After taking out resource version, not waiting till timeout and still properly getting updated status one node becomes ready

2024-11-04 14:46:29,231 [INFO] Status of vm STOPPING
2024-11-04 14:46:34,407 [INFO] Status of vm STOPPING
2024-11-04 14:46:39,545 [INFO] Status of vm STOPPING
2024-11-04 14:46:44,703 [INFO] Status of vm STOPPING
2024-11-04 14:46:49,865 [INFO] Status of vm STOPPING
2024-11-04 14:46:55,040 [INFO] Status of vm STOPPING
2024-11-04 14:47:00,227 [INFO] Status of vm STOPPING
2024-11-04 14:47:05,373 [INFO] Status of vm TERMINATED
2024-11-04 14:47:05,374 [INFO] Node with instance ID: prubenda418-1-5hhsr-worker-b-qpnzn is in stopped state
2024-11-04 14:47:05,553 [INFO] Waiting for 10 seconds before starting the node
2024-11-04 14:47:15,556 [INFO] Starting node_start_scenario injection
2024-11-04 14:47:17,184 [INFO] Starting the node prubenda418-1-5hhsr-worker-b-qpnzn with instance ID: prubenda418-1-5hhsr-worker-b-qpnzn 
2024-11-04 14:47:17,687 [INFO] vm name prubenda418-1-5hhsr-worker-b-qpnzn started
2024-11-04 14:47:17,839 [INFO] Status of vm TERMINATED
2024-11-04 14:47:23,003 [INFO] Status of vm STAGING
2024-11-04 14:47:28,159 [INFO] Status of vm RUNNING
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn Unknown
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn False
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn False
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn False
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn False
Status of node %s: %s prubenda418-1-5hhsr-worker-b-qpnzn False
2024-11-04 14:48:10,681 [INFO] Node with instance ID: prubenda418-1-5hhsr-worker-b-qpnzn is in running state
2024-11-04 14:48:10,681 [INFO] node_start_scenario has been successfully injected!

Signed-off-by: Paige Patton <[email protected]>
@chaitanyaenr chaitanyaenr merged commit 4286ab6 into main Nov 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants