Improper handling of errors extending share with generic driver

Bug #1484857 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Julia Varlamova

Bug Description

If we try to extend share created with generic driver and Cinder does not have enough free space to extend its volume then we get error "Insufficient free space" in Cinder-volume service and Manila does not update share status right after it. It updates it only after timeout - 3 minutes.

Log from c-vol:

http://paste.openstack.org/show/413873/

Log from Manila:

http://paste.openstack.org/show/413885/

Tags: driver generic
summary: - Share hangs in "extending" status with generic driver if Cinder raised
- error "Insufficient free space"
+ Improper handling of errors extending share with generic driver
tags: added: driver generic
Changed in manila:
assignee: nobody → ashok chandran (ashok-chandran3)
Changed in manila:
importance: Undecided → Low
Changed in manila:
milestone: none → liberty-rc1
Revision history for this message
Ben Swartzlander (bswartz) wrote :

Ashok, what is your IRC handle? I wanted to discuss this bug and confirm that you plan to fix it by Liberty-RC1. If not, then we want to find another owner to make sure this gets fixed in Liberty.

Revision history for this message
ashok chandran (ashok-chandran3) wrote : Re:[Bug 1484857] Re: Improper handling of errors extending share with generic driver

Hi Ben I am new to Manila. if this is urge nt please assign to someone else. I will look at some other bug.

Sent from my Mi phone
On Ben Swartzlander <email address hidden>, Sep 8, 2015 8:25 PM wrote:

Ashok, what is your IRC handle? I wanted to discuss this bug and confirm
that you plan to fix it by Liberty-RC1. If not, then we want to find
another owner to make sure this gets fixed in Liberty.

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/1484857

Title:
  Improper handling of errors extending share with generic driver

Status in Manila:
  New

Bug description:
  If we try to extend share created with generic driver and Cinder does
  not have enough free space to extend its volume then we get error
  "Insufficient free space" in Cinder-volume service and Manila does not
  update share status right after it. It updates it only after timeout -
  3 minutes.

  Log from c-vol:

  http://paste.openstack.org/show/413873/

  Log from Manila:

  http://paste.openstack.org/show/413885/

To manage notifications about this bug go to:
https://bugs.launchpad.net/manila/+bug/1484857/+subscriptions
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Changed in manila:
assignee: ashok chandran (ashok-chandran3) → Valeriy Ponomaryov (vponomaryov)
Changed in manila:
assignee: Valeriy Ponomaryov (vponomaryov) → Julia Varlamova (jvarlamova)
Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

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

Reviewed: https://review.openstack.org/223975
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f8f1fdc00ec39e0a18eeb83c0d090d9f69992e3d
Submitter: Jenkins
Branch: master

commit f8f1fdc00ec39e0a18eeb83c0d090d9f69992e3d
Author: Julia Varlamova <email address hidden>
Date: Wed Sep 16 04:53:04 2015 -0400

    Fix improper handling of extending error

    If we try to extend share created with generic driver and Cinder does not have
    enough free space to extend its volume then we get error "Insufficient
    free space". But Manila updates share status only after 3 minutes.

    Add check if volume status contains 'error' to '_wait_for_available_volume'
    function.

    Closes-bug: #1484857

    Change-Id: I1e206ec1c410c015a71f49e25ffa8e64b5870e64

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-rc1 → 1.0.0
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.