Bug 1693191
Summary: | Snapshot creation might fail due to a transaction timeout if takes too long to process the reply from vdsm | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Benny Zlotnik <bzlotnik> |
Component: | BLL.Storage | Assignee: | Benny Zlotnik <bzlotnik> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Evelina Shames <eshames> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.0 | CC: | aefrat, bugs, danieldemoraisgurgel, tnisan |
Target Milestone: | ovirt-4.3.3 | Flags: | pm-rhel:
ovirt-4.3+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.3.3.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-16 13:58:16 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
Benny Zlotnik
2019-03-27 10:16:31 UTC
> Steps to Reproduce:
> 1. Start creating a snapshot
> 2. Wait for vdsm to reply on the CreateVolumeVDSCommand and make the engine
> process it longer than the transaction timeout (300 by default), this can be
> achieved by strategically placing a sleep command in vdsm (possibly
> volume.py#create)
In step 2, I added "from time import sleep;sleep(400)" in "create" method in /usr/lib/python2.7/site-packages/vdsm/storage/volume.py.
That's what you meant?
(In reply to Evelina Shames from comment #1) > > Steps to Reproduce: > > 1. Start creating a snapshot > > 2. Wait for vdsm to reply on the CreateVolumeVDSCommand and make the engine > > process it longer than the transaction timeout (300 by default), this can be > > achieved by strategically placing a sleep command in vdsm (possibly > > volume.py#create) > > > In step 2, I added "from time import sleep;sleep(400)" in "create" method in > /usr/lib/python2.7/site-packages/vdsm/storage/volume.py. > > That's what you meant? Verified by this comment. vdsm-4.30.12-1.el7ev.x86_64 ovirt-engine-4.3.3.2-0.1.el7.noarch Tell me if you have any comments. If the snapshot was successful it should be good This bugzilla is included in oVirt 4.3.3 release, published on April 16th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.3 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. This bug seems to affect version 4.3.8. I have received in my RHV the following message during backup. We have no error failure or disconnection events, with our environment connected at 10GB. The following are the logs: Failed to complete snapshot 'vbk_590677bf-c292-45d5-8587-fb652651a3e5' creation for VM 'CLIGXXX'. VDSM hostXXX.domain command SnapshotVDS failed: Message timeout which can be caused by communication issues I did not identify in the usr/lib/python2.7 file/site-packages/vdsm/storage/volume.py where I should add the timeout option. Could you help me? # Packages: vdsm-4.30.40-1.el7ev.x86_64 ovirt-ansible-engine-setup-1.1.9-1.el7ev.noarch ovirt-hosted-engine-ha-2.3.6-1.el7ev.noarch python2-ovirt-host-deploy-1.8.4-1.el7ev.noarch ovirt-vmconsole-1.0.7-3.el7ev.noarch ovirt-imageio-common-1.5.3-0.el7ev.x86_64 cockpit-ovirt-dashboard-0.13.9-1.el7ev.noarch python2-ovirt-setup-lib-1.2.0-1.el7ev.noarch python-ovirt-engine-sdk4-4.3.2-1.el7ev.x86_64 ovirt-vmconsole-host-1.0.7-3.el7ev.noarch cockpit-machines-ovirt-195-1.el7.noarch python2-ovirt-node-ng-nodectl-4.3.7-0.20191031.0.el7ev.noarch ovirt-provider-ovn-driver-1.2.29-1.el7ev.noarch ovirt-hosted-engine-setup-2.3.12-1.el7ev.noarch ovirt-node-ng-nodectl-4.3.7-0.20191031.0.el7ev.noarch ovirt-ansible-repositories-1.1.5-1.el7ev.noarch ovirt-imageio-daemon-1.5.3-0.el7ev.noarch ovirt-host-4.3.5-1.el7ev.x86_64 ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch ovirt-host-dependencies-4.3.5-1.el7ev.x86_64 ovirt-host-deploy-common-1.8.4-1.el7ev.noarch |