Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Karmic Beta ec2-bundle-vol not found
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rtweed  
View profile  
 More options Oct 5, 6:22 am
From: rtweed <rob.tw...@gmail.com>
Date: Mon, 5 Oct 2009 03:22:21 -0700 (PDT)
Local: Mon, Oct 5 2009 6:22 am
Subject: Karmic Beta ec2-bundle-vol not found
I'm trying to do a test rebundle of a Karmic Beta image, but I get:

ec2-bundle-vol: command not found

Are the EC2 tools not installed in the Karmic Beta AMI (ami-52be5d3b)?
Or am I doing something wrong/stupid (though I'm using the same
command that has worked OK in the past with other Ubuntu AMIs) ?

Any ideas / solutions?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Moser  
View profile  
 More options Oct 5, 10:22 am
From: Scott Moser <smo...@ubuntu.com>
Date: Mon, 5 Oct 2009 10:22:08 -0400 (EDT)
Local: Mon, Oct 5 2009 10:22 am
Subject: Re: [ec2ubuntu] Karmic Beta ec2-bundle-vol not found

On Mon, 5 Oct 2009, rtweed wrote:

> I'm trying to do a test rebundle of a Karmic Beta image, but I get:

> ec2-bundle-vol: command not found

> Are the EC2 tools not installed in the Karmic Beta AMI (ami-52be5d3b)?
> Or am I doing something wrong/stupid (though I'm using the same
> command that has worked OK in the past with other Ubuntu AMIs) ?

> Any ideas / solutions?

We've made a change to only put items in the base images that are in the
ubuntu 'main' component [1].  The license on the ec2-ami-tools keeps them
from being included in main.

That said, you have 2 options:
1. use the euca2ools package, which is already installed.  These are
ec2-ami-tools and ec2-api-tools workalikes.  They're not 100% command line
compatible at the moment, but they are close.  There is more information
for those at [2] and [3].
2. install and use the ec2-ami-tools:
mirror=http://us.ec2.archive.ubuntu.com/ubuntu/
printf "%s\n%s\n" "deb ${mirror} karmic multiverse" \
  "deb-src ${mirror} karmic main" |
  sudo tee /etc/apt/sources.list.d/multiverse.list
sudo apt-get update && sudo apt-get install ec2-ami-tools

Sorry for the inconvenience of not having those tools there out of the
box.  But either of the two should work for you.  And, fwiw, the euca2ools
are significantly faster than their ec2 counterparts.

[1] http://www.ubuntu.com/community/ubuntustory/components
[2] http://open.eucalyptus.com/wiki/Euca2oolsGuide
[3] http://wiki.debian.org/euca2ools


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rtweed  
View profile  
 More options Oct 6, 7:34 am
From: rtweed <rob.tw...@gmail.com>
Date: Tue, 6 Oct 2009 04:34:05 -0700 (PDT)
Local: Tues, Oct 6 2009 7:34 am
Subject: Re: Karmic Beta ec2-bundle-vol not found
Many thanks Scott!  Just the info I was looking for.

On 5 Oct, 15:22, Scott Moser <smo...@ubuntu.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanjaya Ratnaweera  
View profile  
 More options Nov 5, 9:02 pm
From: Sanjaya Ratnaweera <sanja...@gmail.com>
Date: Thu, 5 Nov 2009 18:02:50 -0800 (PST)
Local: Thurs, Nov 5 2009 9:02 pm
Subject: Re: Karmic Beta ec2-bundle-vol not found
Looks like that mirror is down :-(.

    ~sanjaya

On Oct 5, 7:22 pm, Scott Moser <smo...@ubuntu.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Hammond  
View profile  
 More options Nov 5, 9:53 pm
From: Eric Hammond <ehamm...@thinksome.com>
Date: Thu, 5 Nov 2009 18:53:53 -0800 (PST)
Local: Thurs, Nov 5 2009 9:53 pm
Subject: Re: Karmic Beta ec2-bundle-vol not found
Sanjaya:

The us.ec2.archive.ubuntu.com mirror (and corresponding "eu" mirror)
are only accessible from within EC2 to avoid extra network charges at
AWS rates.

If you want to follow the instructions for installing the tools on a
system outside of EC2, you can substitute your standard Ubuntu mirror
(see /etc/apt/sources.list) or us.archive.ubuntu.com, which
humorously, is located in the UK.

--

On Nov 5, 6:02 pm, Sanjaya Ratnaweera <sanja...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Hammond  
View profile  
 More options Nov 10, 3:13 am
From: Eric Hammond <ehamm...@thinksome.com>
Date: Tue, 10 Nov 2009 00:13:01 -0800 (PST)
Local: Tues, Nov 10 2009 3:13 am
Subject: Re: Karmic Beta ec2-bundle-vol not found
On Oct 5, 6:22 am, Scott Moser <smo...@ubuntu.com> wrote:

> And, fwiw, the euca2ools are significantly faster than their ec2 counterparts.

I can believe that's true comparing euca2ools to the equivalent
Amazon's EC2 API tools (written in Java), but in my tests so far,
euca2ools is 50% slower than the equivalent Amazon's EC2 AMI tools
(written in Ruby).

With a base Karmic instance, bundling and uploading to S3 takes over
8min with euca2ools, and only 5.5min with Amazon's EC2 AMI tools.

--
Eric Hammond


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Wood  
View profile  
 More options Nov 10, 3:32 am
From: Michael Wood <esiot...@gmail.com>
Date: Tue, 10 Nov 2009 10:32:46 +0200
Local: Tues, Nov 10 2009 3:32 am
Subject: Re: [ec2ubuntu] Re: Karmic Beta ec2-bundle-vol not found
2009/11/10 Eric Hammond <ehamm...@thinksome.com>:

> On Oct 5, 6:22 am, Scott Moser <smo...@ubuntu.com> wrote:
>> And, fwiw, the euca2ools are significantly faster than their ec2 counterparts.

> I can believe that's true comparing euca2ools to the equivalent
> Amazon's EC2 API tools (written in Java), but in my tests so far,
> euca2ools is 50% slower than the equivalent Amazon's EC2 AMI tools
> (written in Ruby).

> With a base Karmic instance, bundling and uploading to S3 takes over
> 8min with euca2ools, and only 5.5min with Amazon's EC2 AMI tools.

I haven't tried the euca2ools, but I would not be surprised if the
"significantly faster" statement has to do with startup time of the
tool, so e.g. the ec2-describe-blah Ruby tool would be faster than the
Java version.  I can believe that a long running command like bundling
and uploading would be faster with the Java version.

--
Michael Wood <esiot...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Moser  
View profile  
 More options Nov 10, 10:03 am
From: Scott Moser <smo...@ubuntu.com>
Date: Tue, 10 Nov 2009 10:03:11 -0500 (EST)
Local: Tues, Nov 10 2009 10:03 am
Subject: Re: [ec2ubuntu] Re: Karmic Beta ec2-bundle-vol not found

On Tue, 10 Nov 2009, Eric Hammond wrote:

> On Oct 5, 6:22 am, Scott Moser <smo...@ubuntu.com> wrote:
> > And, fwiw, the euca2ools are significantly faster than their ec2 counterparts.

> I can believe that's true comparing euca2ools to the equivalent
> Amazon's EC2 API tools (written in Java), but in my tests so far,
> euca2ools is 50% slower than the equivalent Amazon's EC2 AMI tools
> (written in Ruby).

> With a base Karmic instance, bundling and uploading to S3 takes over
> 8min with euca2ools, and only 5.5min with Amazon's EC2 AMI tools.

Interesting.  Not something I would have expected.  I really would have
thought that  most of the bottleneck of either tool would have been in
external forks (ie, calling 'tar' or 'gzip'), or in the upload itself.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Moser  
View profile  
 More options Nov 10, 10:25 am
From: Scott Moser <smo...@ubuntu.com>
Date: Tue, 10 Nov 2009 10:25:46 -0500 (EST)
Local: Tues, Nov 10 2009 10:25 am
Subject: Re: [ec2ubuntu] Re: Karmic Beta ec2-bundle-vol not found

On Tue, 10 Nov 2009, Michael Wood wrote:
> I haven't tried the euca2ools, but I would not be surprised if the
> "significantly faster" statement has to do with startup time of the

Absolutely true.  but on my laptop:

$ time ec2-describe-images -a >/dev/null
real:0m7.703s user:0m6.560s sys:0m0.270s
$ time euca-describe-images -a >/dev/null
real:0m4.473s user:0m0.680s sys:0m0.040s

$ time ec2-describe-instances >/dev/null
real:0m4.135s user:0m4.840s sys:0m0.170s
$ time euca-describe-instances >/dev/null
real:0m0.567s user:0m0.120s sys:0m0.040s

The net, is that for those frequently run commands, the euca2ools save me
considerable real (wall) and cpu time.

> tool, so e.g. the ec2-describe-blah Ruby tool would be faster than the
> Java version.  I can believe that a long running command like bundling
> and uploading would be faster with the Java version.

Maybe... I'm not exactly sure what all the java tools do, and when then
invoke system commands.  As Eric pointed out, the bundle and uploading
from ec2-ami-tools are ruby, and I do know that they do much of their work
with system commands (tar/gzip)

I wouldn't expect that uploading would be significantly different on any
of these. In most cases I'd expect network bandwidth to bottleneck.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitriy  
View profile  
 More options Nov 10, 12:29 pm
From: Dmitriy <dmitriy04...@gmail.com>
Date: Tue, 10 Nov 2009 09:29:01 -0800 (PST)
Local: Tues, Nov 10 2009 12:29 pm
Subject: Re: Karmic Beta ec2-bundle-vol not found

On Nov 10, 2:13 am, Eric Hammond  wrote:

> On Oct 5, 6:22 am, Scott Moser wrote:

> > And, fwiw, the euca2ools are significantly faster than their ec2 counterparts.

> I can believe that's true comparing euca2ools to the equivalent
> Amazon's EC2 API tools (written in Java), but in my tests so far,
> euca2ools is 50% slower than the equivalent Amazon's EC2 AMI tools
> (written in Ruby).

This is indeed true, at least for Amazon's original API tools (java)
and parts of euca2ools that correspond to those calls (boto, python).
I haven't checked AMI tools (those used for bundling AMIs).

The former uses SOAP API (and works off of X509 cert/key), the latter
uses query API (and works off of access key id and secret access key).

- Dmitriy


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Hammond  
View profile  
 More options Nov 10, 2:15 pm
From: Eric Hammond <ehamm...@thinksome.com>
Date: Tue, 10 Nov 2009 11:15:33 -0800
Local: Tues, Nov 10 2009 2:15 pm
Subject: Re: [ec2ubuntu] Re: Karmic Beta ec2-bundle-vol not found

This was the first time I used the euca2ools, and I might not have set
things up to give them the best chance of performing against the EC2 AMI
tools.

I had set EC2_URL and S3_URL to "https://..." instead of "http://...".
I'm not sure which URL the AMI tools default to, but this could affect
upload performance.

I don't know why the bundle phase was also slower, but more testing
seems in order before I make blanket statements.

In case it wasn't clear, I do completely believe that euca2ools would be
faster than the EC2 API tools (note the difference between "AMI" and
"API").  The EC2 API tools are horribly slow and every alternative from
euca2ools to Tim Kay's "aws" command to boto to typica to my own Perl
commands accessing the API should be blazing fast in comparison.

--
Eric Hammond


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google