vmware: Extend volume not implemented by vSphere cinder driver

Bug #1232172 reported by Ryan Hsu
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Vincent Hou

Bug Description

the VMwareVcVmdkDriver currently does not support extending volumes. When executing:

     cinder extend 666a2dae-db61-43bd-9e37-de1c2695c998 5

The following error is seen in the screen-c-vol.log:

     Traceback (most recent call last):
       File "/opt/stack/cinder/cinder/volume/manager.py", line 845, in extend_volume
         self.driver.extend_volume(volume, new_size)
       File "/opt/stack/cinder/cinder/volume/driver.py", line 430, in extend_volume
         raise NotImplementedError(msg)
     NotImplementedError: Extend volume not implemented

tags: added: drivers
Changed in cinder:
importance: Undecided → Wishlist
tags: added: vmdk
Changed in cinder:
status: New → Triaged
Changed in cinder:
assignee: nobody → Subbu (subramanian-neelakantan)
Revision history for this message
Vincent Hou (houshengbo) wrote :

Hi Subbu. I actually have the implementation code for the volume extend. Can I submit the patch, so that you can review?

Revision history for this message
Subbu (subramanian-neelakantan) wrote : Re: [Bug 1232172] Re: Extend volume not implemented by vSphere cinder driver

Sure Vincent. Pls go ahead.
On Dec 18, 2013 11:05 AM, "Vincent Hou" <email address hidden> wrote:

> Hi Subbu. I actually have the implementation code for the volume extend.
> Can I submit the patch, so that you can review?
>
> --
> You received this bug notification because you are a member of Cinder
> Bug Team, which is subscribed to Cinder.
> https://bugs.launchpad.net/bugs/1232172
>
> Title:
> Extend volume not implemented by vSphere cinder driver
>
> Status in Cinder:
> Triaged
>
> Bug description:
> the VMwareVcVmdkDriver currently does not support extending volumes.
> When executing:
>
> cinder extend 666a2dae-db61-43bd-9e37-de1c2695c998 5
>
> The following error is seen in the screen-c-vol.log:
>
> Traceback (most recent call last):
> File "/opt/stack/cinder/cinder/volume/manager.py", line 845, in
> extend_volume
> self.driver.extend_volume(volume, new_size)
> File "/opt/stack/cinder/cinder/volume/driver.py", line 430, in
> extend_volume
> raise NotImplementedError(msg)
> NotImplementedError: Extend volume not implemented
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cinder/+bug/1232172/+subscriptions
>

Vincent Hou (houshengbo)
Changed in cinder:
assignee: Subbu (subramanian-neelakantan) → Vincent Hou (houshengbo)
Changed in cinder:
status: Triaged → In Progress
Revision history for this message
Vincent Hou (houshengbo) wrote : Re: Extend volume not implemented by vSphere cinder driver

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

Changed in cinder:
milestone: none → icehouse-rc1
importance: Wishlist → High
milestone: icehouse-rc1 → none
milestone: none → icehouse-rc1
milestone: icehouse-rc1 → none
milestone: none → icehouse-rc1
summary: - Extend volume not implemented by vSphere cinder driver
+ vmware: Extend volume not implemented by vSphere cinder driver
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/63060
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=5eddb2e2245e9c42f458de201ade166b727ee8f4
Submitter: Jenkins
Branch: master

commit 5eddb2e2245e9c42f458de201ade166b727ee8f4
Author: Vincent Hou <email address hidden>
Date: Fri Mar 7 11:55:34 2014 -0500

    VMware: Implement vmdk extend_volume

    Add the API implementation of extend_volume for the VMware
    vmdk driver.

    Change-Id: Idf09c9e9cf015c78c1c5e91c05b897e3e9b7c006
    Closes-Bug: #1232172

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-rc1 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/99494

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (stable/havana)

Change abandoned by Aaron Rosen (<email address hidden>) on branch: stable/havana
Review: https://review.openstack.org/99494
Reason: BOOM

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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