ssh fails on VNF Instance
Hi , I have created a vnf using tacker. I have added a keyname to vnf descriptor for the vnf. However I am unable to ssh VNF from command line ,it gives error : Permission denied[Public Key].I have tried the command :
ssh -i keyname.pem -vvv ubuntu@IP.
If I try to use same key-pair for instance launched from Horizon , ssh works with above command. How do I resolve this issue?
Any help will be appreciated.
-can you check/show 'nova show' and confirm that you use the same keypair as well as you can spot any other differences? -can you check console log of these VMs/compare them and login/possibly compare authorized_keys?
Thanks for the quick reply. I tried the nova show command
for vnf created by tacker but it displays nothing and gives error : No such ID or name present.
In order to tackle that, one of the way - use admin credentials and use nova list --all-tenant and then nova show <uuid> When it comes to problem itself - maybe the problem different Keystone credentials in Horizon (=that's what you type using login) vs. what is used by launching of VMs by Tacker.
nova show <instance-id name="">, dont use it for tacker. Tacker has a separate command line utility called tacker-client You can use "tacker vnf-show <vnf-id name="">" to list information. Note that in this o/p you get the id of the corresponding heat stack that was created in instance_id field.