Re: cloud-init update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/18/2012 05:47 AM, Garrett Holmstrom wrote:

I'm still trying to reproduce Vitaly's login problem and not having much
luck.  :-\  Is anyone else able to do so and post logs?
(/var/log/cloud-init.log)

Hi Garrett,

I can provide you with my exact sequence, maybe it is buggy itself? :)

1) Create F17 instance (ami-2ea50247, us-east-1 for example)
2) Login, update cloud-init:
sudo yum -y install http://kojipkgs.fedoraproject.org//packages/cloud-init/0.7.0/1.fc18/noarch/cloud-init-0.7.0-1.fc18.noarch.rpm
3) Change user in /etc/clouf/cloud.cfg:
 users:
 - ec2-user2
4) remove old instance data:
sudo rm -rf /var/lib/cloud/instance /var/lib//cloud/instances/i-* /var/log/cloud-init.log
5) reboot the instance
6) try to login using new 'ec2-user2' user and fail :(
7) login with old ec2-user and examine /var/log/cloud-init.log
8) ec2-user2 is created, but it has no /home/ec2-user2/.ssh/authorized_keys file

--
Vitaly Kuznetsov, Cloud QE
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux