Need help setting up to do cinder development

asked 2013-03-05 15:19:53 -0600

I have a project to create a binding to OpenStack for a de-duplication storage system so it can be administered with OpenStack UIs, etc.

I need help just getting my bearings and setting up a development environment. From reading, I understand that the subsystem I will be working in is cinder. I'm trying to find out what I need in terms of server configs to get this done.

I think the version of Ubuntu I want is 12.10, which comes with the Folsom release already installed. Can a development config run all on one system?

Thanks in advance.

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted

answered 2013-03-14 06:22:39 -0600

flwang gravatar image

A simple way to setup Cinder ( or other components ) development env is that you can install OpenStack by devstack. And then port the source code to eclipse+pydev. By this way, you can easily debug the source code of OpenStack.

edit flag offensive delete link more

answered 2013-03-23 00:18:20 -0600

zzs gravatar image

Hi Joe, please check here ( and follow the information at the end of the article.

edit flag offensive delete link more

answered 2013-03-06 09:19:12 -0600

karel-striegel gravatar image

Can a development config run all on one system?

I believe it can.

fyi in Folsom the default block storage is nova-volume, not cinder. So you will have to make some configuration changes.

edit flag offensive delete link more

answered 2013-03-06 17:01:50 -0600

Thanks for responding. I got some help on the IRC channel yesterday. Have to re-install Ubuntu as it was dirty from a failed install attempt earlier. Are you familiar with the block storage in Nova? Will cinder be more or less compatible with it?

edit flag offensive delete link more

answered 2013-03-07 07:11:14 -0600

karel-striegel gravatar image

Hi Joe,

If you are referring to nova-volume then yes Cinder is compatible. You will just have to "migrate" the volumes, which is mainly moving the database info from the nova database to the cinder database.

A bit more info : Compatibility and Migration: There has been a significant amount of concern raised regarding "compatibility"; unfortunately this seems to mean different things to different people. For those that haven't looked at the Cinder code or tried a demo in devstack, here are some question/answers:

Do the same nova client commands I use for volumes today still work the same? YES Do the same euca2ools that I use for volumes today still work the same? YES Does block storage still work the same as it does today in terms of LVM, iSCSI and the drivers that are curently in place? YES Are the associated database tables the same as they are in the current nova volume code? For the most part YES, all volume related tables and columns are migrated, non-volume related tables however are not present Does it use the same nova database as we use today? No, it does require a new independent database Are you going to implement cinder with complete disregard for my current install and completely change everything out from under me? ABSOLUTELY NOT Are you going to test migrating from nova-vol to Cinder? YES Are those migration tests going to be done just using fakes/unit tests? NO, we would require running setups, most likely devstack Are you planning to provide migration scripts/tools to move from nova to cinder? YES

src: ( :

guide to install cinder: ( guide to migrate existing volumes to cinder : ( or (

Kr Karel.

edit flag offensive delete link more

answered 2013-03-12 17:18:16 -0600

I've been able to get the Folsom DevStack release running on a clean Ubuntu 12.4 LTS virtual server. I can bring up the horizon pages and do things like create volumes. I've followed the code thru over into the cinder api and see that ultimately it does things like run command line scripts to list and create volumes, etc.

Horizon and dashboards are django apps which are fairly understandable, but I'm at a loss to understand what kind of a framework, if any, that the cinder service runs under. Can anyone help?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-03-05 15:19:53 -0600

Seen: 110 times

Last updated: Mar 23 '13