Ask Your Question

ssh fails on VNF Instance

asked 2016-12-06 02:18:54 -0600

RajivChaudhary gravatar image

updated 2016-12-06 02:20:04 -0600

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.

edit retag flag offensive close merge delete


-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?

volenbovsky gravatar imagevolenbovsky ( 2016-12-06 12:29:21 -0600 )edit

Thanks for the quick reply. I tried the nova show command

nova show VNF_SCALING

for vnf created by tacker but it displays nothing and gives error : No such ID or name present.

RajivChaudhary gravatar imageRajivChaudhary ( 2016-12-07 02:42:31 -0600 )edit

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.

volenbovsky gravatar imagevolenbovsky ( 2016-12-08 07:30:23 -0600 )edit

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.

DarkKnight gravatar imageDarkKnight ( 2017-02-03 21:44:38 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-10 01:35:40 -0600

Shayne gravatar image

Hi. Did you fix this issue yet?. i got the same problem with you.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-06 02:18:54 -0600

Seen: 312 times

Last updated: Jan 10 '17