Bug 1669367
Summary: | When changing disk settings, 'propagate_errors' value gets reset | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Marcus West <mwest> |
Component: | ovirt-engine | Assignee: | Daniel Erez <derez> |
Status: | CLOSED ERRATA | QA Contact: | Elad <ebenahar> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2.8 | CC: | aefrat, derez, ebenahar, frolland, lleistne, mtessun, Rhev-m-bugs, sborella, tnisan |
Target Milestone: | ovirt-4.3.1 | ||
Target Release: | 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
This fix ensures that the current propogate_errors setting does not get reset when changing the disk properties.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-08 12:39:10 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: |
Description
Marcus West
2019-01-25 03:46:20 UTC
Seems like we're explicitly setting propagate errors to off when flushing, Daniel do you recall what's the reason for doing so? (In reply to Tal Nisan from comment #2) > Seems like we're explicitly setting propagate errors to off when flushing, > Daniel do you recall what's the reason for doing so? I guess it was just for initializing the property, but no longer needed as it's done in BaseDisk ctr. Send a patch to remove it: https://gerrit.ovirt.org/#/c/97402/ WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{'rhevm-4.3-ga': '?'}', ] For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{'rhevm-4.3-ga': '?'}', ] For more info please contact: rhv-devops 1) Added a direct LUN and attached to a VM with SCSI passthrough enabled 2) Updated the disk propagate errors to On: engine=# update base_disks set propagate_errors = 'On' where disk_id = 'ded5395b-41f2-4f92-b2d5-ba20447dbcfc'; UPDATE 1 engine=# select disk_id, sgio, propagate_errors pe, disk_alias, disk_description from base_disks where disk_alias = 'test_Disk1'; disk_id | sgio | pe | disk_alias | disk_description --------------------------------------+------+----+------------+------------------ ded5395b-41f2-4f92-b2d5-ba20447dbcfc | 1 | On | test_Disk1 | 1f6b 3) Updated the disk with SCSI passthrough to disabled: 2019-03-06 12:11:15,680+02 INFO [org.ovirt.engine.core.bll.storage.disk.UpdateVmDiskCommand] (default task-17) [4c116fa6-5ea7-4882-b958-87cfc8d0cc80] Running command: UpdateVmDiskCommand internal: false. Entiti es affected : ID: ded5395b-41f2-4f92-b2d5-ba20447dbcfc Type: DiskAction group EDIT_DISK_PROPERTIES with role type USER, ID: ded5395b-41f2-4f92-b2d5-ba20447dbcfc Type: DiskAction group CONFIGURE_SCSI_GENERIC_IO with role type ADMIN Propagate errors remained On: engine=# select disk_id, sgio, propagate_errors pe, disk_alias, disk_description from base_disks where disk_alias = 'test_Disk1'; disk_id | sgio | pe | disk_alias | disk_description --------------------------------------+------+----+------------+------------------ ded5395b-41f2-4f92-b2d5-ba20447dbcfc | | On | test_Disk1 | 1f6b (1 row) ============== Used: ovirt-engine-4.3.1.1-0.1.el7.noarch vdsm-4.30.9-1.el7ev.x86_64 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-2019:1085 |