Add vagrant destroy note to troubleshooting 07/4707/1
authorTodd Malsbary <todd.malsbary@intel.com>
Wed, 2 Mar 2022 22:11:28 +0000 (14:11 -0800)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 2 Mar 2022 23:32:53 +0000 (15:32 -0800)
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I675e35a13cec6b5ee6ebf383e7c43cce9df43936

doc/troubleshooting.md

index dbc089b..1981186 100644 (file)
@@ -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