[package] Destroy datasets as a part of uninstallation#1890
Conversation
Major changes: - Uninstallation now collects all Zpool and Zone based datasets, prompts the user, and destroys them during the uninstall process. - Adds a "-f / --force" option to "omicron-package", allowing callers to skip the new confirmation prompt. - Adds a "deactivate" command to "omicron-package". This allows callers to remove Zones and disable services, but does not delete durable configurations and storage. A caller should be able to call "deactivate" -> "activate" -> "deactivate" repeatedly without losing durable state. Minor changes: - Updates documentation for omicron-package - Improves handling of addresses deleted from `cleanup_networking_resources`, especially in cases of duplicates - Rename "filesystem" to "dataset" in functions where it's more appropriate to be generic in the context of ZFS. Fixes #1884 Part of #1119 Part of #1313
|
I would like the ability to re-install omicron but not delete durable configurations and storage (I.e. like a developer iterating on the control plane). Does this preclude that ability? I don't see a way to do that any longer. |
This might be a little hidden, but: Setting the environment variable |
Ah, yeah. I did not check the help. I saw the unpack -> uninstall dependency and that was why I asked. |
Major changes:
Minor changes:
cleanup_networking_resources, especially in cases of duplicatesFixes #1884
Part of #1119 Part of #1313