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

Add a timeout flag for the network command destroy subcommand #815

Closed
5 tasks done
Tracked by #47
jeromy-cannon opened this issue Nov 8, 2024 · 2 comments · Fixed by #821
Closed
5 tasks done
Tracked by #47

Add a timeout flag for the network command destroy subcommand #815

jeromy-cannon opened this issue Nov 8, 2024 · 2 comments · Fixed by #821
Assignees
Labels
P0 An issue impacting production environments or impacting multiple releases or multiple individuals. Requested by Stakeholder Requested by an individual or team that uses Solo

Comments

@jeromy-cannon
Copy link
Contributor

jeromy-cannon commented Nov 8, 2024

Per Alex Kuzmin, when there are pods currently in Pending state, then the following command:

solo network destroy --namespace "${SOLO_NAMESPACE}" --delete-pvcs --delete-secrets --force

will run/hang indefinitely.

Note: he is using the taskfile.yaml clean target in the examples folder. So we should update the [solo:network:destroy](https://github.com/hashgraph/solo/blob/ec63a659ae325ab1631409a76e6894deccdb0ed4/examples/custom-network-config/Taskfile.yml#L110-L110) target with the recommended timeout also. examples/custom-network-config/Taskfile.yml

Tasks

Preview Give feedback
@jeromy-cannon jeromy-cannon added P0 An issue impacting production environments or impacting multiple releases or multiple individuals. Requested by Stakeholder Requested by an individual or team that uses Solo labels Nov 8, 2024
@alex-kuzmin-hg

This comment was marked as off-topic.

@JeffreyDallas
Copy link
Contributor

JeffreyDallas commented Nov 13, 2024

So it starts hanging at node stop step, before node destroy step ?

Can you attach ~/.solo/logs/solo.log and also use k9s to check what are status of network pods ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 An issue impacting production environments or impacting multiple releases or multiple individuals. Requested by Stakeholder Requested by an individual or team that uses Solo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants