[openstack-dev] Writing a cinder volume driver

Eduard Matei eduard.matei at cloudfounders.com
Thu Oct 30 11:50:31 UTC 2014


Hi Darshan,
Having just finished writing a volume driver i can say you need a lot of
patience.
First, to quickly answer your questions:
1. Read ALL the drivers in the official repo: (
https://github.com/openstack/cinder/tree/master/cinder/volume/drivers) and
how they relate to the cinder-api (
https://github.com/openstack/cinder/tree/master/cinder/api); then look into
(https://wiki.openstack.org/wiki/Cinder), especially the part about plugins
and "configuring devstack to user your driver and backend);
2. As far as i could tell, python is the only way.
3. You should try devstack (it's easier to setup, quicker, and always gives
you latest code so you can develop against the latest version).

After that, the rest is just "bureaucracy" :) (become a contributor, sign
up for some services, get your code reviewed on gerrit, etc).

Hope this helps,

Eduard

On Thu, Oct 30, 2014 at 1:37 PM, Darshan Ghumare <darshan.ghumare at gmail.com>
wrote:

> Hi All,
>
> I need to write a volume driver so that I can integrate our storage
> product into openstack.
> I have following questions about the sane,
> 1. How should I go about it?
> 2. I donnot know python. Is the python only way to write a driver?
> 3. I have setup openstack by following  steps mentioned at
> http://docs.openstack.org/icehouse/install-guide/install/apt/content/. To
> test the drive do I also need to have a development environment (
> http://docs.openstack.org/developer/cinder/devref/development.environment.html
> )?
>
> Thanks,
> Darshan
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 

*Eduard Biceri Matei, Senior Software Developer*
www.cloudfounders.com
 | eduard.matei at cloudfounders.com



*CloudFounders, The Private Cloud Software Company*

Disclaimer:
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
If you are not the named addressee or an employee or agent responsible
for delivering this message to the named addressee, you are hereby
notified that you are not authorized to read, print, retain, copy or
disseminate this message or any part of it. If you have received this
email in error we request you to notify us by reply e-mail and to
delete all electronic files of the message. If you are not the
intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
information is strictly prohibited.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the content of this
message, and shall have no liability for any loss or damage suffered
by the user, which arise as a result of e-mail transmission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141030/5c811a70/attachment.html>


More information about the OpenStack-dev mailing list