[Openstack] 回复: 答复: Key Injection not working after upgrading from Grizzly to Havana
止语
menghuizhanguo at gmail.com
Mon Oct 28 08:19:21 UTC 2013
I think inject_key_into_fs(key, fs) only affects the root user
------------------ 原始邮件 ------------------
发件人: "menghuizhanguo";<menghuizhanguo at gmail.com>;
发送时间: 2013年10月28日(星期一) 下午4:07
收件人: "Chenrui (A)"<kiwik.chenrui at huawei.com>; "Bill Owen"<billowen at us.ibm.com>;
抄送: "Openstack Milis"<openstack at lists.openstack.org>;
主题: 回复:[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)";<kiwik.chenrui at huawei.com>;
发送时间: 2013年10月28日(星期一) 上午10:52
收件人: "Bill Owen"<billowen at us.ibm.com>;
抄送: "openstack at lists.openstack.org"<openstack at lists.openstack.org>;
主题: [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:billowen at us.ibm.com]
发送时间: 2013年10月26日 8:43
收件人: openstack at lists.openstack.org
主题: [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
billowen at us.ibm.com
520-799-4829, T/L 321-4829
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/85e8b6bd/attachment.html>
More information about the Openstack
mailing list