[[ FEATURE FREEZE EXCEPTION REQUEST ]]

Thierry has asked that I file a FFe in retrospect on this upload, which
was perhaps more feature-full than it should have been.

My apologies to the Release Team.  Part of the Server Team and the
Eucalyptus team were sprinting last week, and worked our way through
many bugs and issues.

Solving this bug involved adding a new utility to the cloud-utils package, 
namely uec-run-instances:
 * http://manpages.ubuntu.com/uec-run-instances

It's a simple python wrapper script (and manpage) that wraps euca-run-
instances, but adds an additional option, -l|--launchpad-id, which is
the Launchpad ID of the user who's SSH key will be inserted into the
image, via the ssh-import-lp-id utility.

The benefit is that UEC users can optionally use uec-run-instances for a
far more convenient mechanism to launch and instance and use their
normal SSH key (rather than this key that the Cloud Controller generates
for you).

cloud-utils builds, installs, and the uec-run-instances runs as
designed.  It does not break euca2ools, and other users are welcome to
use euca-run-instances and ignore uec-run-instances.

Traditionally, a UEC user would do something like this:
  if [ ! -e ~/.euca/mykey.priv ]; then
    touch ~/.euca/mykey.priv
    chmod 0600 ~/.euca/mykey.priv
    euca-add-keypair mykey > ~/.euca/mykey.priv
  fi
  euca-run-instances -k mykey.priv emi-4BBB12CB
  ssh -i ~/.euca/mykey.priv ubu...@10.1.1.10 

Now, a user can run this against any ID in Launchpad that has a Public SSH key 
registered:
  uec-run-instances -l kirkland,smoser,ttx,mathiaz,zul emi-4BBB12CB

And any of kirkland,smoser,ttx,mathiaz,zul can:
 ssh ubu...@10.1.1.10

Thanks,
:-Dustin

-- 
optionally fetch public ssh keys from Launchpad when starting an instance
https://bugs.launchpad.net/bugs/524101
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to