Bug 1142851
Summary: | Argument name mismatch when setting CPU limit | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Juan Hernández <juan.hernandez> |
Component: | ovirt-engine-core | Assignee: | Martin Sivák <msivak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5 | CC: | bazulay, bugs, ecohen, gklein, iheim, msivak, oourfali, pkliczew, rbalakri, sbonazzo, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.5.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sla | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-21 16:13:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Juan Hernández
2014-09-17 14:01:04 UTC
Note that the line number in the above error message isn't accurate, as in introduced some traces to try to find the issue. The original error happened in line 179 of Bridge.py. I assume this is a jsonrpc issue, Piotr reassigning to you , if this is not the case please move back to sla. It is marshaling issue but the params are set outside of jsonrpc code. It was developed after the initial jsonrpc implementation. I will fix. Marshaling issue fixed and assigning to Martin since there are more issues with this verb. Martin - please test that with the applied fix, and come back with insights/logs. Feel free to consult Piotr. Move it back to infra if needed. Here is print out of the response that we get from the method (line 286): Thread-222::DEBUG::2014-09-23 14:39:54,112::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'VM.updateVmPolicy' in bridge with {u'params': {u'vmId': u'f6d509f6-d141-42d9-82fc-19127f008aeb', u'vcpuLimit': u'50'}, u'vmID': u'f6d509f6-d141-42d9-82fc-19127f008aeb'} Thread-222::DEBUG::2014-09-23 14:39:54,114::libvirtconnection::143::root::(wrapper) Unknown libvirterror: ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata element is not present Thread-222::DEBUG::2014-09-23 14:39:54,115::Bridge::286::root::(_dynamicMethod) None Thread-222::ERROR::2014-09-23 14:39:54,115::__init__::491::jsonrpc.JsonRpcServer::(_serveRequest) Internal server error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 486, in _serveRequest res = method(**params) File "/usr/share/vdsm/rpc/Bridge.py", line 287, in _dynamicMethod return self._fixupRet(className, methodName, ret) File "/usr/share/vdsm/rpc/Bridge.py", line 236, in _fixupRet self._typeFixup('return', retType, result) File "/usr/share/vdsm/rpc/Bridge.py", line 216, in _typeFixup if k in item: TypeError: argument of type 'NoneType' is not iterable The parameter name was fixed and all should be properly bubbling through vdsm now. oVirt 3.5.1 has been released and since this bug is targeted 3.5.1 and in modified state, it should be included in this release. Please re-target and move nack to modified if this assumption is not valid for this bug. |