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

tools/destroy_virtual_hardware.sh is missing some new steps #4245

Open
iliana opened this issue Oct 11, 2023 · 3 comments
Open

tools/destroy_virtual_hardware.sh is missing some new steps #4245

iliana opened this issue Oct 11, 2023 · 3 comments
Labels
development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better

Comments

@iliana
Copy link
Contributor

iliana commented Oct 11, 2023

I have an "uninstall the control plane and reinstall it with whatever is in ~/git/omicron" shell script. It is not very good but it reliably keeps me from forgetting a step when I need to set up a control plane. One thing the script does is always run pfexec ./tools/destroy_virtual_hardware.sh after omicron-package uninstall, because external networking does not appear to function for me if I don't destroy and re-create the switch zone. (This is perhaps another issue; should I not need to have to do this?)

Two recent changes have resulted in me making changes to my script that destroy_virtual_hardware.sh doesn't know about:

I think something should be doing this cleanup but I'm not sure what.

@iliana iliana added the development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better label Oct 11, 2023
@iliana
Copy link
Contributor Author

iliana commented Oct 11, 2023

related discussion: #4252

@jordanhendricks
Copy link
Contributor

Sorry for the trouble with the swap device. Does your system not use one by default? Sled agent will not configure one unless there isn't one already.

@iliana
Copy link
Contributor Author

iliana commented Oct 11, 2023

It didn't use one by default until I finally consistently hit memory limitations while compiling tests yesterday. So perhaps I have solved it for myself this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better
Projects
None yet
Development

No branches or pull requests

2 participants