Bug 1178499
Summary: | [JSONRPC] Disk resize fails while vm is down | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gal Amado <gamado> | ||||
Component: | vdsm | Assignee: | Daniel Erez <derez> | ||||
Status: | CLOSED ERRATA | QA Contact: | Raz Tamir <ratamir> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 3.5.0 | CC: | aberezin, acanan, amureini, bazulay, derez, ecohen, gamado, gklein, iheim, lpeer, lsurette, oourfali, pkliczew, rbalakri, Rhev-m-bugs, tnisan, ybronhei, yeylon | ||||
Target Milestone: | --- | Keywords: | AutomationBlocker, Regression | ||||
Target Release: | 3.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | vdsm-4.16.8.1-6.el6ev | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-02-15 09:14:52 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1164308, 1164311 | ||||||
Attachments: |
|
Description
Gal Amado
2015-01-04 11:04:55 UTC
Logs? reproduce for adding logs - 1. Create new Vm with 10G thin disk over NFS domain 2. while VM is down, extend the disk +2G results - virtual size in GUI extended to 12G in engine logs : 2015-01-04 14:47:34,790 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ExtendVmDiskSizeVDSCommand] (org.ovirt.thread.pool-7-thread-42) Command ExtendVmDiskSizeVDSCommand(HostName = blond-vdsf, HostId = 678ebccb-b91e-40e4-9773-2b9241e6aadb, vmId=00000000-0000-0000-0000-000000000000) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to ExtendVmDiskSizeVDS, error = Virtual machine does not exist, code = 1 Created attachment 975986 [details]
Logs01
The error seems to be reproduced only using json-rpc. The underling issue looks like specific logic being done only in bindingXMLRPC.py; diskSizeExtend function determines whether an existing VM Id has been passed, whereas, in json-rpc, diskSizeExtend function under VM class (API.py) is being invoked. Verified - vt13.8 Disk was extended successfully when vm isn't running bugs were moved by ERRATA to RELEASE PENDING bug not closed probably due to errata error. closing as 3.5.0 is released. |