[Openstack] 答复: Key Injection not working after upgrading from Grizzly to Havana

Chenrui (A) kiwik.chenrui at huawei.com
Mon Oct 28 02:52:03 UTC 2013

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:

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.

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/4ccf2092/attachment.html>

More information about the Openstack mailing list