Just a quick post today....
We've been busy on a project that requires creating images (with DB2 installed) for both Eucalyptus and EC2 on a wide range of systems. Unfortunately, the various systems all have their nuances and things don't always work at first. One of the common errors that we've seen relates to ruby and the ec2 AMI tools. Here is the error:
mwilding@db2cloud$ ec2-download-bundle --help
/usr/lib/site_ruby/ec2/amitools/downloadbundle.rb:11:in `require': no such file to load -- ec2/amitools/crypto (LoadError)
from /usr/lib/site_ruby/ec2/amitools/downloadbundle.rb:11
If you search the Internet for an answer, you'll find a wide range of answers mostly relating to using Ruby 1.8.5 instead of other version. Many of the forums just end without a useful answer.
Well, here is a simple fix (at least for the systems we've been using):
mwilding@db2cloud$ export RUBYLIB=$RUBYLIB:/usr/lib/site_ruby
After this, the ec2 AMI tools work well.
Things have been pretty busy the last few weeks but I'll finish part 2 of the Disaster Recovery topic as soon as I can! It looks like there will even be a part #3 (and possibly part #4).
Happy computing!
- Mark
Comments