Thanks, Tomaz.

I tried to use deploy_node with EC2. I used a key pair already existing and
set the security group right. However, it fails when logging into the node
and trying to deploy the scripts. I am doing this:

node = ec2driver.deploy_node(name='test-3', image=image, size=size,
deploy=msd, ex_keyname="key")

The image is a Ubuntu 12.10 64-bit, ami-7539b41c
The size is t1.micro

The error I am getting is libcloud.compute.types.DeploymentError:
<DeploymentError: node=i-11f73563, error=Bad authentication type
(allowed_types=['publickey']),
driver=<libcloud.compute.drivers.ec2.EC2NodeDriver object at 0xdb0b90>>

I can log in just fine using ssh. The issue could be that the image expects
logins as user "ubuntu" rather than root. Can I set the user with the
kwargs?

Thanks,
Rudi

Reply via email to