Ask Your Question
1

Why does tacker fail to instanciate my VNF's instance ?

asked 2016-06-10 10:48:33 -0500

sbeaulie gravatar image

updated 2016-06-14 15:12:22 -0500

Hi all,

I'm running a fresh install of an Ubuntu 14.04 x64 server (on virtualbox).

I am trying to test tacker in a devstack environment. So far I have tried the latest stable Liberty & Mitaka branch without success. Here's what I'm doing (I'll use Liberty in this example, but the process I'm doing for Mitaka is the same) :

  1. Checkout the latest stable branch from the devstack git (git clone -b stable/liberty https://github.com/openstack-dev/devstack.git (https://github.com/openstack-dev/devs...))
  2. Create a local.conf file inside the checked-out directory (Content is available here:http://pastebin.com/bB9WwfzJ )
  3. Run ./stack.sh (NOT as root)
  4. Create a directory named tacker directory of the home folder that will contain two files : My http://pastebin.com/EpwgrqKS (opennfv_rc file) to set the proper environment variables so that I can use the tacker CLI AND The http://pastebin.com/2gFX7xT6 (following yaml file) for a simple cirros deploy, based on the examples provided in the https://www.openstack.org/videos/video/openstack-tacker-hands-on-lab-session-nfv (Tacker Hands On NFV Session)
  5. Use the following commands to create my vnfd & vnf based on the template @ step 5.

    $ tacker vnfd-create --vnfd-file ~/tacker/cirros-test-vdu.yaml --name cirros-test-vdu

    $ tacker vnf-create --vnfd-id ad99648f-84cf-43d2-96a8-53787331eb13 --name cirros-test-vdu

Note : the --vnf-id value for the vnf-create command is show in the terminal after the vnfd-create command has completed successfully. If you execute this command you will obtain a different ID and will have to use this one.

What happens is the VNF is created successfully, I see no ERRORS / WARNINGS in the logs of devstack for any module, and the NFV dashboard shows the created VNFD / VNF. However, no instance is created (under any project - admin, service, demo - ), what am I doing wrong ?

I checked that I can spin up a VM using only nova and it works so I eliminated a possible problem with the compute module. The same thing happens regardless of the version of devstack that I am using (Mitaka/Liberty)

Any help is greatly appreciated !

edit retag flag offensive close merge delete

Comments

1

What does nova list --all show?

kaustubh gravatar imagekaustubh ( 2016-06-13 17:15:49 -0500 )edit

Hi kaustubh,

nova list --all shows an empty table.

sbeaulie gravatar imagesbeaulie ( 2016-06-14 15:03:34 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2016-06-14 03:55:14 -0500

dharmendra gravatar image

Could you verify the status of created vnf. tacker vnf-show <vnf-id>

edit flag offensive delete link more

Comments

Hi Dharmendra,

There is an output ! I can see the attributes, the description, the Id, instance ID, name, status {ACTIVE}, as well as the tenant id.

That's confusing, there is nothing in nova (nova list --all) and nothing in the dashboard as well

sbeaulie gravatar imagesbeaulie ( 2016-06-14 15:14:29 -0500 )edit

I verified the tenant_id that is shown in the table of tacker vnf-show and it corresponds to the correct user (admin). However, the admin project still shows no instances (dashboard).

sbeaulie gravatar imagesbeaulie ( 2016-06-14 15:15:29 -0500 )edit

Here's a screenshot of my terminal. The vnfd was already created. I created a vnf, then did nova list --all, then tacker vnf-show, and then nova list --allagain https://imgur.com/tVcswj7

sbeaulie gravatar imagesbeaulie ( 2016-06-14 15:25:16 -0500 )edit

I too have this problem. I think the issue is due to the project which devstack creates for tacker. It's "nfv" project and not admin or demo or service. (I 'm not very sure though).

ashish235 gravatar imageashish235 ( 2017-01-16 07:32:06 -0500 )edit

I have the same issue, any updates on this?

simar15 gravatar imagesimar15 ( 2017-07-05 02:04:40 -0500 )edit

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

3 followers

Stats

Asked: 2016-06-10 10:48:33 -0500

Seen: 531 times

Last updated: Jun 14 '16