New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QM exception when shutting down VM(s) #2127

Closed
rootkovska opened this Issue Jun 29, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@rootkovska
Member

rootkovska commented Jun 29, 2016

Got this a few times on the latest 3.2-rc1 when/shortly after shutting down one or more VMs:

TypeError: float() argument must be a string or a number

This is most likely a bug in the Qubes Manager

----
line: return datetime.datetime.fromtimestamp(float(start_time))
func: get_start_time
line no.: 970
file: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py
----
line: vm_start_time = vm.get_start_time()
func: check_if_vm_has_shutdown
line no.: 258
file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py

@rootkovska rootkovska added this to the Release 3.2 milestone Jun 29, 2016

@marmarek marmarek self-assigned this Jun 30, 2016

marmarek added a commit to QubesOS/qubes-core-admin that referenced this issue Nov 20, 2016

core: fix handling vm.start_time for just shutdown VM
That xenstore entry may be already removed even when libvirt still
reports the VM as running.

Fix QubesOS/qubes-issues#2127

(cherry picked from commit 8c7f072)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment