Portal:KIWI/FAQ/20

Jump to: navigation, search

Q:Using Kiwi suse-ec2-guest on OpenSuSE 11.4 x86_64 errors on AMI startup when Updating AMI tools

I used Kiwi to create a openSuSE 11.4 AMI which boots up great if I show the console on AWS, but it looks like it fails to create the SSH keys properly with:

ec2:failed to retrieve ec2-ami-tools from S3
ec2:unable to update ec2-ami-tools
ec2:failed
ec2:BEGIN SSH HOST KEY FINGERPRINTS
ec2:/etc/ssh/ssh_host_key.pub: no such file or directory
ec2:/etc/ssh/ssh_host_dsa_key.pub:no such file or directory
ec2:/etc/ssh/ssh_host_rsa_key.pub: no such file or directory

I also tried creating the keys locally after running kiwi 'prepare' by mounting the image in a chroot and manually running ssh-keygen to try to obtain the keys this way. then running kiwi create, which does give the keys, but still fails to update AMI tools or allow remote SSH.

SSH is authorised on the AWS firewall, and if I install apache2 package I can connect to that, so host is definitely 'responding'.

- Any ideas what I have missed?