Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1437375 - getAllVmIoTunePolicies exceptions in VDSM
getAllVmIoTunePolicies exceptions in VDSM
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
4.0.7
Unspecified Unspecified
medium Severity medium
: ovirt-4.2.0
: ---
Assigned To: Andrej Krejcir
Artyom
: Triaged, ZStream
Depends On:
Blocks: 1448473
  Show dependency treegraph
 
Reported: 2017-03-30 04:27 EDT by Michal Skrivanek
Modified: 2018-05-15 13:53 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1448473 (view as bug list)
Environment:
Last Closed: 2018-05-15 13:51:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 75285 master MERGED Qos: Catch exception for disconnected domain 2017-04-13 08:10 EDT
oVirt gerrit 75605 ovirt-4.1 MERGED Qos: Catch exception for disconnected domain 2017-04-19 02:48 EDT
Red Hat Product Errata RHEA-2018:1489 None None None 2018-05-15 13:53 EDT

  None (edit)
Description Michal Skrivanek 2017-03-30 04:27:16 EDT
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 05:42:58 EDT
This problem will also be solved by the caching of IO tune policies done in Bug 1435218.
Comment 3 rhev-integ 2017-04-26 06:51:50 EDT
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@redhat.com
Comment 4 rhev-integ 2017-05-05 05:26:11 EDT
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@redhat.com
Comment 7 Artyom 2017-11-20 08:20:11 EST
Verified on ovirt-engine-4.2.0-0.0.master.20171116212005.git61ffb5f.el7.centos.noarch
Comment 12 errata-xmlrpc 2018-05-15 13:51:25 EDT
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

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