[Bug 904739] Re: euca-import-keypair does not work

2011-12-15 Thread Bastian Gebhardt
Too late, too late... :) But my patch is derived from the runinstances.py file in the same folder, so maybe it's more unified. -- 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

[Bug 904739] Re: euca-import-keypair does not work

2011-12-15 Thread Bastian Gebhardt
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/imp

[Bug 904739] Re: euca-import-keypair does not work

2011-12-15 Thread Bastian Gebhardt
i got the error. I sniffed the transfered traffic (to an non-cloud http server) and noticed that the transferred public_key_material is the base64 encoded _filename_ of the public key, not the base64 encoded _content_ of the file. In the method "import_key_pair(self, key_name, public_key_material)