Ask Your Question
0

ssh fails on VNF Instance

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

RajivChaudhary gravatar image

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

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

Comments

-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 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

Shayne gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 238 times

Last updated: Jan 10 '17