I think inject_key_into_fs(key, fs) only affects the root user
------------------ 原始邮件 ------------------
发件人: "menghuizhanguo";<[email protected]>;
发送时间: 2013年10月28日(星期一) 下午4:07
收件人: "Chenrui (A)"<[email protected]>; "Bill Owen"<[email protected]>;
抄送: "Openstack Milis"<[email protected]>;
主题: 回复:[Openstack] 答复: Key Injection not working after upgrading from Grizzly
to Havana
"$ ssh -i key.pem fedora@<vm-ip-addr>"
are you sure the username is fedora but not root ?
you also could add a user yourself in the image ,so you could ssh with password
to check the file .ssh/authorized_keys to ensure the
public key there.
------------------ 原始邮件 ------------------
发件人: "Chenrui (A)";<[email protected]>;
发送时间: 2013年10月28日(星期一) 上午10:52
收件人: "Bill Owen"<[email protected]>;
抄送: "[email protected]"<[email protected]>;
主题: [Openstack] 答复: Key Injection not working after upgrading from Grizzly
to Havana
Please check
1. the vm console log by nova console-log
2. Nova and Neutron metadata service is ok?
发件人: Bill Owen [mailto:[email protected]]
发送时间: 2013年10月26日 8:43
收件人: [email protected]
主题: [Openstack] Key Injection not working after upgrading from Grizzly to
Havana
I've just updated my test environment to stable-havana.
I have booted vm instances with Fedora and Ubuntu images with a key_name
specified:
$ nova boot --key_name key <vm-name> --image <image-id> --flavor 2 test_vm
After the image becomes active, I try to ssh to the image, but get an error
message:
$ ssh -i key.pem fedora@<vm-ip-addr>
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I tried using keys/images that worked in grizzly, as well as newly created
keys and new images following the instructions in the install docs:
http://docs.openstack.org/trunk/install-guide/install/apt/content/nova-boot.html
I don't see anything about changes in this area in release notes. Any
suggestions on what I might be missing or how to debug would be appreciated!
In particular, is there a way to increase debug logging so I can see when it
tries to do the key injection on the new vm?
FWIW, cirros image boots and I can ssh/login using cirros user and password.
Thanks,
Bill Owen
[email protected]
520-799-4829, T/L 321-4829
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack