[openstack-dev] Writing a cinder volume driver

Duncan Thomas duncan.thomas at gmail.com
Thu Oct 30 13:42:27 UTC 2014


All excellent advice from Eduard. To confirm:
- You will definitely need to write your driver in python.
- Devstack is the recommended environment for development
- Please look at the third party CI requirements for cinder drivers -
these are an ongoing commitment

The IRC channel #openstack-cinder on irc.freenode.net is the easiest
way to chat to cinder developers realtime, please feel free to join us
there.

Welcome to the cinder community.


-- 
Duncan Thomas







On 30 October 2014 11:50, Eduard Matei <eduard.matei at cloudfounders.com> wrote:
> 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.
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Duncan Thomas



More information about the OpenStack-dev mailing list