Our OpenStack team at Dell (especially Victor Lowthor) has been working hard with the public Crowbar repos to make it possible for the community to build their own version of a Crowbar ISO. When you build the ISO, you’ll be downloading a whole bunch (that’s the technical term) of open source licensed components to make it work: we’re trying to maintain a list of licenses on the Github wiki.
To make sure that it was possible for mortals, I signed up for a Ubuntu 10.10 VM (512 Mb RAM, $0.03/hr) at RackSpace Cloud. I did this from a non-Dell to ensure that it was as independent from our source as possible.
Once I had my vm, there were just a few steps to follow (these are NOT verbatim):
- apt-get install debootstrap, mkisofs, git, build-essential packages
- git clone git://github.com/dellcloudedge/crowbar.git
- Got the results from a sledgehammer build (a fresh sledgehammer tarball) and extracted it into $HOME/.crowbar-build-cache/tftpboot, which is where build_crowbar.sh expects to find it cached.
- NOTE: I’m not ready to document sledgehammer builds yet, but I will tell you that you’d need a CentOS VM.
- In the crowbar directory, ran ./build_crowbar.sh
- The build will pull down all the packages that you need and cache them to the VM. Subsequent builds will be much faster!
The end result of the build is an “openstack-dev.iso” that will install Crowbar with the OpenStack barclamps (here’s how to do it on VMs). Just for fun, I copied _my build_ output ISO off the build VM and to my web server.
Please let me know if you have problems with this process, we want people to try Crowbar!
$$ Note: Turn off your VM when you’re done so you don’t incur extra expenses. Since this process only took about 2 hours, the whole build cost me less than a dime. Which is good, since I was building it on “my own dime” anyway.
Rob — remind me to drop a dime in your pocket tonight at the openstack party. It’s the least I can do to support your open source crowbar project!
LikeLike
Rob, we definitively try crowbar to deploy our 400 servers w/ openstack, actually we were planing to use a custom made dhcp + pxe server, getting crowbar opensourced yesterday is one of the best news for the month for us. Excellent tutorial. Best Regards Leandro from Mercadolibre.com
LikeLike
Nice – I like this part best: Just for fun, I copied _my build_ output ISO off the build VM and to my web server. Time to go reconfigure my lab network.
LikeLike
Your resulting ISO (http://bit.ly/oYj2B9) didn’t work for me, the result installation was a Ubuntu 10.10 server with no crowbar services at all. I’ve tried to build the crowbar ISO in a Ubuntu 11.04 but I had problems with some libraries. I’ll try again to rebuild the ISO in a Ubuntu 10.10 VM as you described in your post
LikeLike
I’m going to check it out today. We’re posting a build of sledgehammer, so I’ll spin a new build with that.
We have not tested on 11.04 yet, so I can’t make any statements about it on that platform.
For support, use our listserv (https://lists.us.dell.com/mailman/listinfo/crowbar). You’ll have to click through the SSL cert exception (sorry).
LikeLike
Rob, your iso didnt work for me either, same as Pedro Navarro, result was an ubuntu 10.10 without crowbar
LikeLike
Thanks for letting me know. Did you run the crowbar installer after the ISO installed ubuntu?
I’m posting new build instructions shortly and will drop a new ISO as part of that.
I was able to install from the ISO, but something hung up in vmplayer so I’m upgrading to workstation.
LikeLike
Pingback: Build #Sledgehammer, the #Crowbar discovery image / build prerequisite « Rob Hirschfeld's Blog
very good post, i was really searching for this topic as i wanted this topic to understand completely and it is also very rare in internet that is why it was very difficult to understand. thank you for sharing this.
iso 9000
LikeLike
Hi,
In the above procedure, when you run build-crowbar.sh you get an error:
“crowbar is not a barclamp!”
You need to clone all the barclamps separately straight into crowbar/barclamps
LikeLike
Cloning works too. The submodules init + submodules update should create the barclamps.
LikeLike