KVM虛擬機virt-manager打開控制檯出錯

In some circumstances, attempting to open the detail view of a VM produces the error:

'NoneType' object has no attribute 'change_run_text'

with the details:

Error launching details: 'NoneType' object has no attribute 'change_run_text'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 832, in _show_vm_helper
    details.show()
  File "/usr/share/virt-manager/virtManager/details.py", line 616, in show
    self.refresh_vm_state()
  File "/usr/share/virt-manager/virtManager/details.py", line 1285, in refresh_vm_state
    self.change_run_text(vm.has_managed_save())
  File "/usr/share/virt-manager/virtManager/details.py", line 1268, in change_run_text
    self.widget("details-vm-menu").get_submenu().change_run_text(text)
AttributeError: 'NoneType' object has no attribute 'change_run_text'

virt-manager is at 1.4.0.

No steps to reproduce currently, but it very likely has something to do with saving the VM's state to disk.

The problem persists even after restarting virt-manager. Restarting libvirtd, however, resolves the problem.



image.png

我上國外找了一圈

資料鏈接:https://bugzilla.redhat.com/show_bug.cgi?id=1366882

image.png

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章