Volkan,

Check out the recipes in 
https://github.com/crowbar/barclamp-cinder/tree/master/chef/cookbooks/cinder/recipes

common.rb and volume.rb have examples.

I'm not in the Cinder code, so I'm not your best resource for more specifics.

Rob

From: Satirtav, Volkan
Sent: Friday, July 05, 2013 8:38 AM
To: Hirschfeld, Rob
Cc: crowbar
Subject: RE: About importing a barclamp

Rob,

There are some libraries such as libEql.so , libpsapi.so that has to go under 
/usr/lib. Also there are libraries like PeerStorage.py,PeerStorage.so that has 
to go under usr/lib/python2.7/Eql directory. I have to copy those libraries to 
the controller node. I am doing this manually now. I am wondering if there are 
any of kind script that runs during the deployment of a barclamp and copy those 
libraries to the appropriate places as I mentioned above.

Thanks
Volkan

From: Hirschfeld, Rob
Sent: Wednesday, July 03, 2013 10:43 PM
To: Satirtav, Volkan
Cc: crowbar
Subject: RE: About importing a barclamp

Volkan,

Can you give me some specifics about the libraries?  If they are gems, debs or 
rpms then it would be best to do that via the barclamp.yml file where we track 
that meta data.  Binary files used by the cookbook go in the barclamp/bin 
directory.

Based on our thread, I'm going to strong recommend that you consider using the 
devtool 
(https://github.com/crowbar/barclamp-crowbar/blob/master/doc/devguide/devtool-build.md)
 to create your own version of the barclamp.  It sounds like some extra work 
but it will take care of all the packaging for you and also make creating the 
barclamp very repeatable.

Rob

From: Satirtav, Volkan
Sent: Wednesday, July 03, 2013 3:36 PM
To: Hirschfeld, Rob
Cc: crowbar
Subject: FW: About importing a barclamp

Thanks Rob, I have one other question. I also want to copy some libraries while 
I am importing that new nova barclamp. How can I do that? If I have to use 
chef, can you briefly mention the steps?

Thank You
Volkan

From: Hirschfeld, Rob
Sent: Wednesday, July 03, 2013 2:38 PM
To: Satirtav, Volkan; crowbar
Subject: RE: About importing a barclamp

Volkan,

Yes, you'd have to either force a new chef client run or reapply the proposal 
(which does the same thing).

In barclamp import process should upload the Chef components.  I'd suggest 
logging into the Chef server (port 4040) to check.

Rob

From: Satirtav, Volkan
Sent: Wednesday, July 03, 2013 12:52 PM
To: Hirschfeld, Rob
Subject: About importing a barclamp

Rob,

I managed to import a new nova barclamp using the import link on the crowbar 
gui. But I think I still have to run the chef-client in order to reflect those 
changes on the nova dashboard right? Do I have to run "chef-client" command 
manually both on admin and controller node? Is there any other easier way to 
reflect those changes?

Thanks

Volkan
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to