creation of a simple file based volume driver in nova/volume/driver.py

Bug #715102 reported by Christian Berendt
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Wishlist
Unassigned

Bug Description

I think we need the possibility to also save volumes on mounted NFS exports (or some other stuff locally mounted).

I tried to create a simple file based volume driver, creating new images with qemu-img and removing them with rm. Is this sufficient? At the moment I think only check_for_setup_error() is missing, I'll add this soon (checking for the existence of qemu-img and checking if the given mountpoint is mounted and is writable by nova).

Please give me some feedback and more ideas...

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 715102] [NEW] creation of a simple file based volume driver in nova/volume/driver.py

Nova-volume will attach locally if the export is on the same host as the instance you are trying to attach to.

Vish

On Feb 8, 2011, at 2:17 AM, Christian Berendt wrote:

> Public bug reported:
>
> I think we need the possibility to also save volumes on mounted NFS
> exports (or some other stuff locally mounted).
>
> I tried to create a simple file based volume driver, creating new images
> with qemu-img and removing them with rm. Is this sufficient? At the
> moment I think only check_for_setup_error() is missing, I'll add this
> soon (checking for the existence of qemu-img and checking if the given
> mountpoint is mounted and is writable by nova).
>
> Please give me some feedback and more ideas...
>
> ** Affects: nova
> Importance: Wishlist
> Status: Confirmed
>
> ** Branch linked: lp:~berendt/nova/FileDriver
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/715102
>
> Title:
> creation of a simple file based volume driver in nova/volume/driver.py
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> I think we need the possibility to also save volumes on mounted NFS
> exports (or some other stuff locally mounted).
>
> I tried to create a simple file based volume driver, creating new
> images with qemu-img and removing them with rm. Is this sufficient? At
> the moment I think only check_for_setup_error() is missing, I'll add
> this soon (checking for the existence of qemu-img and checking if the
> given mountpoint is mounted and is writable by nova).
>
> Please give me some feedback and more ideas...
>
>

Revision history for this message
Christian Berendt (berendt) wrote :

I think per default the VolumeDriver() is used. VolumeDriver() uses LVM2 and creates new volumes in a VG, per default nova-volumes.

Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Christian Berendt (berendt)
status: Confirmed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

@Christian: still working on that ? Or should we unassign you and let someone else have a shot at it ?

Thierry Carrez (ttx)
Changed in nova:
assignee: Christian Berendt (berendt) → nobody
status: In Progress → Confirmed
Rushi Agrawal (rushiagr)
Changed in nova:
status: Confirmed → Invalid
Revision history for this message
Rushi Agrawal (rushiagr) wrote :

NFS driver added to Cinder. NAS enhancements, which include full support for file-based storage is up in review too!
https://review.openstack.org/#/c/11306/3
and
https://review.openstack.org/#/c/21290/

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.