Bug 1557754 - Exception when VM destroyed: v.onLibvirtLifecycleEvent(event, detail, None) AttributeError: 'NoneType' object has no attribute 'onLibvirtLifecycleEvent'
Summary: Exception when VM destroyed: v.onLibvirtLifecycleEvent(event, detail, None) A...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.3
: ---
Assignee: Michal Skrivanek
QA Contact: Israel Pinto
URL:
Whiteboard:
: 1571115 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-18 11:51 UTC by Yaniv Kaul
Modified: 2018-05-06 07:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-06 07:59:20 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)

Description Yaniv Kaul 2018-03-18 11:51:52 UTC
Description of problem:
Seen after hosted-engine installation in vdsm.log:

2018-03-18 07:06:01,556-0400 INFO  (jsonrpc/5) [root] /usr/libexec/vdsm/hooks/after_vm_destroy/50_vhostmd: rc=0 err= (hooks:110)
2018-03-18 07:06:01,558-0400 INFO  (jsonrpc/5) [api.virt] FINISH destroy return={'status': {'message': 'Machine destroyed', 'code': 0}} from=::ffff:192.168.200.99,41588, vmId=dac4bae1-1168-4cfd-81de-81bc88a16719
 (api:52)
2018-03-18 07:06:01,558-0400 INFO  (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call VM.destroy succeeded in 0.67 seconds (__init__:311)
2018-03-18 07:06:01,558-0400 ERROR (libvirt/events) [vds] Error running VM callback (clientIF:666)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 629, in dispatchLibvirtEvents
    v.onLibvirtLifecycleEvent(event, detail, None)
AttributeError: 'NoneType' object has no attribute 'onLibvirtLifecycleEvent'


Version-Release number of selected component (if applicable):
[root@lago-he-basic-ansible-suite-master-host0 ~]# rpm -qa |grep vdsm
vdsm-jsonrpc-4.30.0-158.git602f578.el7.centos.noarch
vdsm-4.30.0-158.git602f578.el7.centos.x86_64
vdsm-network-4.30.0-158.git602f578.el7.centos.x86_64
vdsm-http-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-ethtool-options-4.30.0-158.git602f578.el7.centos.noarch
vdsm-common-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-vhostmd-4.30.0-158.git602f578.el7.centos.noarch
vdsm-python-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-fcoe-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-vfio-mdev-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-openstacknet-4.30.0-158.git602f578.el7.centos.noarch
vdsm-api-4.30.0-158.git602f578.el7.centos.noarch
vdsm-client-4.30.0-158.git602f578.el7.centos.noarch
vdsm-hook-vmfex-dev-4.30.0-158.git602f578.el7.centos.noarch
vdsm-yajsonrpc-4.30.0-158.git602f578.el7.centos.noarch

Comment 1 Michal Skrivanek 2018-04-16 12:37:26 UTC
should be fixed in master and 4.2.3 by https://gerrit.ovirt.org/#/c/89346/

Comment 2 Michal Skrivanek 2018-04-24 17:05:40 UTC
in 4.2 it's only fixed by https://gerrit.ovirt.org/#/c/89882/, so moving to MODIFIED now

Comment 3 Michal Skrivanek 2018-04-25 04:40:13 UTC
*** Bug 1571115 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.