-
Notifications
You must be signed in to change notification settings - Fork 40
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
omicron-package uninstall
leaves a bunch of networking stuff around
#1212
Comments
I'm taking a look at this now. For the most part, the bullet-list at the top is good. Those addresses and links are created by different parts of the sled agent, and we can just remove them. There's now one outlier though, which is the linklocal address created as part of the integration with Maghemite. As part of #1249, we now create a link-local address on a physical link on the system. All of the other addresses the sled agent creates are either over the etherstub VNIC (e.g., This makes it a bit harder for the uninstall process to cleanup. We can still remove
What do we do with I think it might make more sense to have the bootstrap agent use a different link. In particular, the |
Agreed, and I created the |
That's perfect, thanks John. |
Note: Remove this reference to this issue once #1352 is merged. |
Resolved by #1352 |
Propolis: Update oximeter dependency to pull in automatic producer registration (#689) Propagate ReplaceResult up; return disk status (#687) Enable clippy warnings for lossless casts Update rustls deps for CVE-2024-32650 migration: refrain from offering all pages when possible (#682) Crucible: DTrace probes for IO on/off the network (#1284) Update oximeter dep to pull in automatic producer registration (#1279) Remove `ReadResponse` in favor of `RawReadResponse` (#1212) Fix typo in DTrace upstairs_info (#1276) replace needing no work should not be an error (#1275) Add some DTrace scripts to the package. (#1274) More Pantry updates for Region replacement (#1269) Send the correct task count for reconciliations (#1271) Raw extent cleanup (#1268)
Propolis: Update oximeter dependency to pull in automatic producer registration (#689) Propagate ReplaceResult up; return disk status (#687) Enable clippy warnings for lossless casts Update rustls deps for CVE-2024-32650 migration: refrain from offering all pages when possible (#682) Crucible: DTrace probes for IO on/off the network (#1284) Update oximeter dep to pull in automatic producer registration (#1279) Remove `ReadResponse` in favor of `RawReadResponse` (#1212) Fix typo in DTrace upstairs_info (#1276) replace needing no work should not be an error (#1275) Add some DTrace scripts to the package. (#1274) More Pantry updates for Region replacement (#1269) Send the correct task count for reconciliations (#1271) Raw extent cleanup (#1268) --------- Co-authored-by: Alan Hanson <alan@oxide.computer>
Summary
While preparing for the demo on lab machine "sock" the other week, I tried tearing down the stack and building it up again to make sure that the setup stuff works as expected. With a bunch of help in chat, we found that there's nothing today that tears down a bunch of stuff, which causes other teardown scripts to fail. The summary (mostly thanks to @bnaecker) was that
omicron-package uninstall
should:net
)ox
vopteX
opteadm delete-xde
.opteadm set-xde-underlay
It makes me a little nervous to have automation automatically remove stuff by prefix, especially a generic prefix like
net
, but I don't know enough about how this state is managed to suggest a safer approach.How you know you've hit this
Most of this was found by trying to run
destroy_virtual_hardware.sh
until it succeeded. Until these issues are resolved, you'll see errors like this:Workarounds
While I was setting up the stack, I worked around these issues by:
ipadm
anddladm show-link
, respectivelynet
usingpfexec ipadm delete-if net0
pfexec dladm delete-vnic vopte0
pfexec /opt/oxide/opte/bin/opteadm delete-xde opte0
modinfo | grep xde
to find its id (first column) and thenpfexec modunload -i <id>
to unload it.note: if you leave the
pfexec
off theipadm delete-if
command, you may then run into illumos bug 14724 (since fixed, but "sock" has not been updated as of this writing).The text was updated successfully, but these errors were encountered: