QNAP Cinder driver: driver fails to create volume and snapshot in some case

Bug #1765610 reported by Chris Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Chris Yang

Bug Description

Step to reproduce :
1. Do one of the following operation:
(1) Create Volume
(2) Create Cloned Volume
(3) Create Snapshot
(4) Create Volume from Snapshot

Actual result : In most cases, it just works fine. Sometimes due to NAS busy or network delay, the volume or snapshot would fail to created.

Expect result : The volume or snapshot is successfully created.

Chris Yang (chrisyang)
Changed in cinder:
assignee: nobody → Chris Yang (chrisyang)
status: New → In Progress
Revision history for this message
Gorka Eguileor (gorka) wrote :

I fixed this locally on the old driver (before they re-added it), it was an issue with not setting the timeouts on the requests, I set them to 10 seconds and it got fixed.

It probably is the same thing now, you just need to pass "timeout=10" (or a configurable option) in the call to "request.request" in "_get_response" method.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/563497

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/563497
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=880ff557ca3d6569464b9667ac25825cf5e3c7fd
Submitter: Zuul
Branch: master

commit 880ff557ca3d6569464b9667ac25825cf5e3c7fd
Author: Chris Yang <email address hidden>
Date: Fri Apr 20 15:06:20 2018 +0800

    QNAP: driver fails to create volume and snapshot in some case

    When NAS is busy or network delay, the volume or snapshot would
    fail to created. We fixed the logic of waiting NAS to creating
    LUN or snapshot.

    Change-Id: Ieb524d9b192e2a222f7d25a0df80cf52f1423e81
    Closes-Bug: #1765610

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b2

This issue was fixed in the openstack/cinder 13.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.