From: Todd Malsbary Date: Wed, 2 Mar 2022 22:11:28 +0000 (-0800) Subject: Add vagrant destroy note to troubleshooting X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F4707%2F1;hp=b0c23b54b074a501aabbea30a876e6e3211e7cc7;p=icn.git Add vagrant destroy note to troubleshooting Signed-off-by: Todd Malsbary Change-Id: I675e35a13cec6b5ee6ebf383e7c43cce9df43936 --- diff --git a/doc/troubleshooting.md b/doc/troubleshooting.md index dbc089b..1981186 100644 --- a/doc/troubleshooting.md +++ b/doc/troubleshooting.md @@ -123,3 +123,14 @@ process is. A description of the BareMetalHost states can be found in the [Bare Metal Operator documentation](https://github.com/metal3-io/baremetal-operator/blob/main/docs/baremetalhost-states.md). + +## Vagrant destroy fails with `cannot undefine domain with nvram` + +The fix is to destroy each machine individually. For the default ICN +virtual machine deployment: + + vagrant destroy -f jump + virsh -c qemu:///system destroy vm-machine-1 + virsh -c qemu:///system undefine --nvram --remove-all-storage vm-machine-1 + virsh -c qemu:///system destroy vm-machine-2 + virsh -c qemu:///system undefine --nvram --remove-all-storage vm-machine-2