-
1. Re: Missing deps for boxgrinder
msavy Jan 31, 2011 11:51 AM (in response to sanjay_arora)1 of 1 people found this helpfulHi Sanjay Arora,
Did you remember to install the dependencies required on CentOS? I see you have inserted the BoxGrinder repos, but those error messages would imply that you haven't installed other requirements.
yum -y
install rubygems git parted wget rpmdevtools appliance-tools sudo libguestfs ruby-libguestfs guestfish yum-utils e2fsprogs
<removed outdated info about EC2 tools>
Also remember you need to ensure the EPEL repository is available YUM in order to pull all of the required packages!
-
2. Re: Missing deps for boxgrinder
msavy Jan 31, 2011 11:23 AM (in response to msavy)1 of 1 people found this helpfulTo add to this, there was a small error in the installation instructions which said
"You need also add BoxGrinder repo placing in the /etc/yum.repos.d/boxgrinder.conf "
In fact this should be:
/etc/yum.repos.d/boxgrinder.repo
I shall correct this momentarily
-
3. Re: Missing deps for boxgrinder
goldmann Jan 31, 2011 11:35 AM (in response to msavy)Marc,
ec2-ami-tools is not used anymore, euca2ools package should be pulled from the boxgrinder repository automatically. I just removed the section form the wiki page.
Sanjay,
With the new BoxGrinder 0.8.0 CentOS/RHEL 5 support will be better. Stay tuned!
--Marek
-
-
5. Re: Missing deps for boxgrinder
msavy Jan 31, 2011 12:04 PM (in response to goldmann)Ah yes, sorry Marek - I forgot about the EC2 RPM change, but I think the problem is with EPEL as I listed at the bottom of my post.
@Sanjay, here are the repos I have on my test platform for testing BoxGrinder on CENTOS5.5:
ls /etc/yum.repos.d
boxgrinder.repo CentOS-Base.repo CentOS-Media.repo epel.repo epel-testing.repo
-
6. Re: Missing deps for boxgrinder
sanjay_arora Feb 2, 2011 10:19 AM (in response to msavy)Thanks Marek, Msavy
I think it was corrected with the EPEL repo...I missed that. Installed boxgrinder build.
Now I am getting error at installing S3 delivery plugin....EBS plugin though installed OK, so I can test on Amazon EC2 instance....shall revert.
gem install boxgrinder-build-s3-delivery-plugin
ERROR: Error installing boxgrinder-build-s3-delivery-plugin:
activesupport requires Ruby version >= 1.8.7
Installed Packages
ruby.i386 1.8.5-5.el5_4.8 installed
-
7. Re: Missing deps for boxgrinder
msavy Feb 2, 2011 10:21 AM (in response to sanjay_arora)Hi Sanjay,
Do a ruby --version
I suspect you have ruby 1.8.6 -- in which case you need to upgrade to 1.8.7
-
8. Re: Missing deps for boxgrinder
goldmann Feb 2, 2011 10:39 AM (in response to sanjay_arora)Sanjay,
Most pobably you have activesupport installed for Rails 3. If that's true - please uninstall that gem and go with latest 2.x version. Please do:
rpm -qa | grep rubygem
gem list
So I can see what's installed.
Thanks!
--Marek
-
9. Re: Missing deps for boxgrinder
sanjay_arora Feb 2, 2011 10:44 AM (in response to goldmann)I am installing on a Centos AMI instance, just FYI. Appreciate the fast support.
plugins]# rpm -qa | grep rubygem
rubygems-1.3.1-1.el5
plugins]# gem list
*** LOCAL GEMS ***
amazon-ec2 (0.9.17)
boxgrinder-build (0.7.1)
boxgrinder-build-centos-os-plugin (0.0.6)
boxgrinder-build-ebs-delivery-plugin (0.0.4)
boxgrinder-build-ec2-platform-plugin (0.0.8)
boxgrinder-build-local-delivery-plugin (0.0.6)
boxgrinder-build-rhel-os-plugin (0.0.7)
boxgrinder-build-rpm-based-os-plugin (0.0.10)
boxgrinder-core (0.1.5)
commander (4.0.3)
hashery (1.4.0)
highline (1.6.1)
http_connection (1.4.0)
open4 (1.0.1)
uuidtools (2.1.1)
xml-simple (1.0.14)
plugins]#
-
10. Re: Missing deps for boxgrinder
sanjay_arora Feb 2, 2011 10:51 AM (in response to msavy)msavy
Its lower than that....
Installed Packages
ruby.i386 1.8.5-5.el5_4.8 installed
but yum is not updating anymore.....its case of either a dependency....or something else...but system is updated fully...see updation below:
plugins]# yum -y update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.linux.duke.edu
* base: mirror.rackspace.com
* epel: mirror.vcu.edu
* extras: mirror.umoss.org
* updates: mirror.rackspace.com
Setting up Update Process
No Packages marked for Update
-
11. Re: Missing deps for boxgrinder
goldmann Feb 2, 2011 10:54 AM (in response to sanjay_arora)Sanjay,
I see you installed BoxGrinder using gem, not RPM. Using RPM is highly recommended. I worked on CentOS/RHEL 5 support lately for new BoxGrinder 0.8.0, so it should work smoothly, but you need to use our nightly repo. Be aware that the command line interface and appliance definition file changed a bit.
packages:
includes:
- something
to:
packages:
- something
Use boxgrinder command instead of boxgrinder-build. Execute boxgrinder help build for more info. It's still undocumented, because 0.8.0 is not released, yet.
If you have some time, please wait for 0.8.0 – it should be days. Hopefully I can work on it today.
--Marek
-
12. Re: Missing deps for boxgrinder
sanjay_arora Feb 2, 2011 11:00 AM (in response to goldmann)Marek
I did not get the rpm in the repo when I used yum...so I assumed that was for fedora only & not for el.
Just give me commands for removing all installed gems and installing via yum...I'll do it...
but its nothing urgent...I just wanted my server on EC2 to be installed using a fresh install & not existing AMI....and your project is great for that...as far as I can see...thanks.
if you have time, pl revert, else I can wait.
With regards.
Sanjay.
-
13. Re: Missing deps for boxgrinder
sanjay_arora Feb 2, 2011 11:09 AM (in response to sanjay_arora)Ah...can you give me the repo file for your nightly repo...i'll add that
-
14. Re: Missing deps for boxgrinder
goldmann Feb 2, 2011 11:28 AM (in response to sanjay_arora)Sanjay,
The repository information is located here, just follow the steps. Please change the path from fedora/14 to rhel/5. To remove all gems use this command: gem list | cut -d" " -f1 | xargs gem uninstall -aIx
Thanks for the kind words!
HTH
--Marek