QNAP Cinder driver: driver fails to create volume and snapshot in some case
Bug #1765610 reported by
Chris Yang
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.
Changed in cinder: | |
assignee: | nobody → Chris Yang (chrisyang) |
status: | New → In Progress |
To post a comment you must log in.
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.