Bug 1178022
Summary: | RHEV: Faulty storage allocation checks when running VM with unplugged disks as stateless | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Allon Mureinik <amureini> | ||||
Component: | ovirt-engine | Assignee: | Vered Volansky <vered> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Kevin Alon Goldblatt <kgoldbla> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.4.0 | CC: | acanan, amureini, ecohen, gklein, iheim, lpeer, lsurette, rbalakri, Rhev-m-bugs, scohen, tnisan, vered, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1149809 | Environment: | |||||
Last Closed: | 2015-01-12 12:57:56 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: | 1149809 | ||||||
Bug Blocks: | 960934, 1054175 | ||||||
Attachments: |
|
Description
Allon Mureinik
2015-01-01 13:44:32 UTC
As per description: No plugged disks - CDA should pass - even when there's low storage space. plugged disks - CDA should fail when there's not enough space for the plugged disks only. Using nfs thin and preallocated disks. >>>> The CDA did not pass with unplugged disks and low space. Moving to Assigned. Tested on: rhevm-3.5.0-0.27.el6ev.noarch vdsm-4.16.8.1-4.1.el6ev.x86_64 2015-01-07 15:58:16,542 WARN [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp-/127.0.0.1:8702-12) CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName nfs 2015-01-07 16:01:08,698 WARN [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp-/127.0.0.1:8702-17) CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName nfs [root@kevin-rhevm ~]# Timeout, server not responding. Created attachment 977430 [details]
engine vdsm and server logs
Adding logs
RunVm as stateless validation indeed validate only the plugged disks. The the commands execute calls CreateAllSnapshotsFromVmCommand, which in turn calls its CDA. In this CDA all the disks, plugged and unplugged, are validated for snapshot-space, as all will later be allocated in the command's execute method. After further consideration, this is actually the wanted behaviour, since if there are no snapshot for unplugged disks, and any of these disks are later plugged during the stateless running of the VM, data will actually be written to the disk (and not to the snapshot, to be deleted later on). Closing-not a bug. Will open a new bug to monitor better, non-redundant storage allocation validation in this flow. (In reply to Vered Volansky from comment #3) > Will open a new bug to monitor better, non-redundant > storage allocation validation in this flow. This is bug 1181133, right? Opened bz1181133 in order to monitor issue in comment #3. |