Issues
1-2 of 2
1 of 2
Libvirt Error rebooting/powering down VM
Complete
Description
Problem/Justification
None
Impact
None
duplicates
relates to
SmartDraw Connector
Katalon Manual Tests (BETA)
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Impact
High
Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created October 25, 2020 at 3:42 PM
Updated July 1, 2022 at 5:00 PM
Resolved November 18, 2020 at 12:46 PM
Activity
Show:

Bug Clerk November 18, 2020 at 12:46 PM

Jack October 27, 2020 at 6:42 PM
My debug ()

Peter Stanke October 26, 2020 at 5:40 PMEdited
Yep same for me
Debug Log attached on ticket
Older VMs created on FreeNAS 11.x can be rebooted fine via CLI or GUI

Aboshi October 26, 2020 at 4:34 PM
I have attached the Debug Log for you. I have also just reproduced this bug again and dumped the log directly after.

Bonnie Follweiler October 26, 2020 at 12:39 PM
Thank you for the report . Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?
Powering down or rebooting VM though either guest OS or through Virtual Machines GUI throws libvert error and the only way to reboot the VM is by fully restarting TrueNAS.
libvirtError
internal error: Child process (/usr/sbin/bhyvectl --destroy --vm=1_Ubuntu) unexpected exit status 1
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1202, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1106, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1575, in poweroff
self.vms[vm_data['name']].poweroff()
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 273, in poweroff
self.domain.destroy()
File "/usr/local/lib/python3.8/site-packages/libvirt.py", line 1309, in destroy
if ret == -1: raise libvirtError ('virDomainDestroy() failed', dom=self)
libvirt.libvirtError: internal error: Child process (/usr/sbin/bhyvectl --destroy --vm=1_Ubuntu) unexpected exit status 1