簡體   English   中英

PalletOps-VirtualBox無法注銷機器

[英]PalletOps-VirtualBox Cannot unregister the machine

我正在努力使PalletOps與vbox 4.3一起工作。 他們以前的化學很好。

當我整理腳本時,出現以下消息: 無法注銷機器錯誤,

$ VBoxManage setproperty websrvauthlibrary null
$ vboxwebsrv -t0
$ lein pallet up --roles local --phases update-shared,install,configure,build,deploy 

Sep 06, 2014 6:31:42 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: Connecting to VirtualBox via Web Services
Sep 06, 2014 6:31:58 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: No :default-bridged-interface defined. Will chose from these options: eth0
Sep 06, 2014 6:32:13 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: create-machine: Creating machine local-web-0-0 in /home/prayagupd/.vmfest/nodes/vmfest/local-web-0-0/local-web-0-0.vbox,  overwriting previous contents

...

Sep 06, 2014 6:32:15 PM clojure.tools.logging$eval378$fn__379 invoke
WARNING: ensure-image-is-registered: /home/prayagupd/.vmfest/models/vmfest-ubuntu-12.04.vdi is not mutable.
Sep 06, 2014 6:39:41 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: unregister: unregistering machine with name local-storm-0-0 with cleanup DetachAllReturnHardDisksOnly
Sep 06, 2014 6:39:42 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: unregister: unregistering machine with name local-web-0-0 with cleanup DetachAllReturnHardDisksOnly
Sep 06, 2014 6:39:42 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: unregister: unregistering machine with name local-userflood-0-0 with cleanup DetachAllReturnHardDisksOnly
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: conditions: This VBoxException does not have an error type {}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: conditions: This VBoxException does not have an error type {}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: conditions: This VBoxException does not have an error type {}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Cannot parse the error since the object is unavailable java.lang.IllegalArgumentException: No matching field found: getIntefaceID for class org.virtualbox_4_3.IVirtualBoxErrorInfo
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
WARNING: Processing exception class clojure.lang.ExceptionInfo as a java.lang.Exception. Cause clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)"}}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
WARNING: Processing exception class clojure.lang.ExceptionInfo as a java.lang.Exception. Cause clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-web-0-0' while it is locked (0x80bb0007)"}}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
WARNING: Processing exception class clojure.lang.ExceptionInfo as a java.lang.Exception. Cause clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)"}}
Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Start of node exception: throw+: {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)"}}>}
clojure.lang.ExceptionInfo: throw+: {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)"}}>} {:object {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)"}}>}, :environment {exception #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)"}}>, optional-keys {:log-level :error, :message "An error occurred"}, message "An error occurred", full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-userflood-0-0' while it is locked (0x80bb0007)>}"}}
    at vmfest.virtualbox.conditions$wrap_exception.invoke(conditions.clj:132)
    at vmfest.manager$destroy.doInvoke(manager.clj:558)
    at clojure.lang.RestFn.invoke(RestFn.java:410)
    at pallet.compute.vmfest.service$create_node.invoke(service.clj:433)
    at pallet.compute.vmfest.service$parallel_create_nodes$iter__16850__16854$fn__16855$fn__16860.invoke(service.clj:555)
    at clojure.core$binding_conveyor_fn$fn__3989.invoke(core.clj:1819)
    at clojure.lang.AFn.call(AFn.java:18)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)

...

Sep 06, 2014 6:39:47 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: Start of node exception: throw+: {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)"}}>}
clojure.lang.ExceptionInfo: throw+: {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)"}}>} {:object {:message "An error occurred", :log-level :error, :type :exception, :original-message "throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}", :cause #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)"}}>}, :environment {exception #<ExceptionInfo clojure.lang.ExceptionInfo: throw+: {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>} {:object {:full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}, :environment {exception #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>, optional-keys nil, message "An exception occurred.", full-message "An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)"}}>, optional-keys {:log-level :error, :message "An error occurred"}, message "An error occurred", full-message "An error occurred: throw+: {:full-message \"An exception occurred.: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)\", :cause #<VBoxException org.virtualbox_4_3.VBoxException: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'local-storm-0-0' while it is locked (0x80bb0007)>}"}}
    at vmfest.virtualbox.conditions$wrap_exception.invoke(conditions.clj:132)
    at vmfest.manager$destroy.doInvoke(manager.clj:558)
    at clojure.lang.RestFn.invoke(RestFn.java:410)
    at pallet.compute.vmfest.service$create_node.invoke(service.clj:433)
    at pallet.compute.vmfest.service$parallel_create_nodes$iter__16850__16854$fn__16855$fn__16860.invoke(service.clj:555)
    at clojure.core$binding_conveyor_fn$fn__3989.invoke(core.clj:1819)
    at clojure.lang.AFn.call(AFn.java:18)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)

腳本失敗后,以下vbox正在運行,

$ ps aux | grep -i virtualbox
1000     17971  0.4  0.1 752612  6052 pts/0    Sl+  18:30   0:06 /usr/lib/virtualbox/vboxwebsrv -t0
1000     17983  0.2  0.0 123380  3596 ?        S    18:30   0:04 /usr/lib/virtualbox/VBoxXPCOMIPCD
1000     17991  0.6  0.2 832724  9640 ?        Sl   18:30   0:10 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
1000     19968  2.3  6.2 1428520 230384 ?      Sl   18:32   0:35 /usr/lib/virtualbox/VBoxHeadless --comment local-userflood-0-0 --startvm e8dc9e3c-0d77-44e6-a7c4-c6eefd08f05d --vrde config
1000     19969  2.2  6.1 1428520 229360 ?      Sl   18:32   0:34 /usr/lib/virtualbox/VBoxHeadless --comment local-storm-0-0 --startvm bab660b9-77dc-44cd-88dc-3bb8651bbed5 --vrde config
1000     19987  2.3  6.2 1432616 233616 ?      Sl   18:32   0:35 /usr/lib/virtualbox/VBoxHeadless --comment local-web-0-0 --startvm 45e738ef-afc6-4e64-a3d6-37194d7ce40e --vrde config
1000     25331  1.4  1.3 1224236 49928 ?       Sl   18:53   0:03 /usr/lib/virtualbox/VirtualBox
1000     26137  0.0  0.0  13644   964 pts/1    R+   18:57   0:00 grep --color=auto -i virtualbox

我殺死了VBoxHeadless進程,並嘗試了lein pallet腳本。 還是一樣的錯誤。

我嘗試了全新的安裝是否可行,但徒勞無功。

## 1. Close Virtualbox if running
## 2. 
sudo apt-get remove virtualbox-\*
sudo apt-get purge virtualbox-\*

## 3. 
rm -r ~/.VirtualBox && rm - r ~/VirtualBox\ VMs/. ## If you're not sure, back them up to a safe place.

## 4. 
sudo reboot

##5. Reinstall virtualbox.
sudo dpkg --install /packup/repo.softwares/virtualbox-4.3_4.3.12-93733~Ubuntu~raring_amd64.deb

我想問題在於通訊協議。 也許~/.pallet/config.clj :vbox-comm :ws與手動vboxwebsrv -t0發生沖突。

(defpallet
  :default-service :vmfest :services {:localhost {:provider "localhost"}
                                      :vmfest {:provider "vmfest"
                                               :vbox-comm :ws
                                               :default-network-type :local
                                               :default-memory-size 1024
                                               :default-local-interface "vboxnet5"}
                                      :aws-ec2 {:provider "aws-ec2"
                                                :identity "XXXXXXXXXXXXXXXXXXX"
                                                :credential "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"}})

即使沒有vboxwebsrv -t0也可以刪除~/.pallet/config.clj進行本地部署。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM