Description of problem: When you halt an openvz container from the inside, you will be able to undefine it but then you won't be able to redefine it. Version-Release number of selected component (if applicable): 1.0.6 (lastest debian package) How reproducible: Create a program using the API (The problem doesn't appear when virsh is used) Steps to Reproduce: 1. Start an openvz container and then halt it from the inside 2. Undefine it 3. Try to redefine it without reloading your program Actual results: libvirt: OpenVZ Driver error : operation failed: Already an OPENVZ VM active with the id Expected results: It shoud work Additional info: It seems that the commit ea92a34d1d7d681d9f25dc3348513889b28cbfb5 is faulty, but there may be some side effects to just delete it.
Sorry this didn't receive a timely response. That error string isn't even in the code anymore so I suspect this is no longer an issue. If you can still reproduce with recent libvirt, please reopen