I wrote a patch of /usr/share/pyshared/euca2ools/commands/euca/importkeypair.py and attached it. Works for me.
** Patch added: "Patch of /usr/share/pyshared/euca2ools/commands/euca/importkeypair.py" https://bugs.launchpad.net/ubuntu/+source/euca2ools/+bug/904739/+attachment/2635155/+files/importkeypair.py.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to euca2ools in Ubuntu. https://bugs.launchpad.net/bugs/904739 Title: euca-import-keypair does not work To manage notifications about this bug go to: https://bugs.launchpad.net/euca2ools/+bug/904739/+subscriptions -- 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