Bug 1437375 - getAllVmIoTunePolicies exceptions in VDSM
Summary: getAllVmIoTunePolicies exceptions in VDSM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 4.0.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Andrej Krejcir
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1448473
TreeView+ depends on / blocked
 
Reported: 2017-03-30 08:27 UTC by Michal Skrivanek
Modified: 2021-05-01 16:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
: 1448473 (view as bug list)
Environment:
Last Closed: 2018-05-15 17:51:25 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1489 0 None None None 2018-05-15 17:53:40 UTC
oVirt gerrit 75285 0 master MERGED Qos: Catch exception for disconnected domain 2017-04-13 12:10:04 UTC
oVirt gerrit 75605 0 ovirt-4.1 MERGED Qos: Catch exception for disconnected domain 2017-04-19 06:48:55 UTC

Description Michal Skrivanek 2017-03-30 08:27:16 UTC
Around VM lifecycle changes MOM calls are triggering exceptions in VDSM. AFAICT it doesn't have impact on how product works, but it does have impact on troubleshooting and it triggers customer false alerts

Example from journal, likely related to a live migration:

Mar 29 13:23:21 bl460-558 journal: vdsm jsonrpc.JsonRpcServer ERROR Internal server error#012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 545, in _handle_request#012    res = method(**params)#012  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 195, in _dynamicMethod#012    result = fn(*methodArgs)#012  File "/usr/share/vdsm/API.py", line 1358, in getAllVmIoTunePolicies#012    io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()#012  File "/usr/share/vdsm/clientIF.py", line 447, in getAllVmIoTunePolicies#012    vm_io_tune_policies[v.id] = {'policy': v.getIoTunePolicy(),#012  File "/usr/share/vdsm/virt/vm.py", line 2772, in getIoTunePolicy#012    qos = self._getVmPolicy()#012  File "/usr/share/vdsm/virt/vm.py", line 2746, in _getVmPolicy#012    metadata_xml = self._dom.metadata(#012  File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 47, in __getattr__#012    % self.vmid)#012NotConnectedError: VM u'dbc70ee7-1625-4660-8931-2d0639f64748' was not started yet or was shut down

Comment 2 Andrej Krejcir 2017-04-06 09:42:58 UTC
This problem will also be solved by the caching of IO tune policies done in Bug 1435218.

Comment 3 rhev-integ 2017-04-26 10:51:50 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[FOUND CLONE FLAGS: ['rhevm-4.1.z', 'rhevm-4.2-ga'], ]

For more info please contact: rhv-devops

Comment 4 rhev-integ 2017-05-05 09:26:11 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[FOUND CLONE FLAGS: ['rhevm-4.1.z', 'rhevm-4.2-ga'], ]

For more info please contact: rhv-devops

Comment 7 Artyom 2017-11-20 13:20:11 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20171116212005.git61ffb5f.el7.centos.noarch

Comment 12 errata-xmlrpc 2018-05-15 17:51:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1489

Comment 13 Franta Kust 2019-05-16 13:05:38 UTC
BZ<2>Jira Resync


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