Tacker install via Devstack problem

Asked by montida

Hi

I would like to install Tacker via Devstack, so I followed the instruction from https://docs.openstack.org/tacker/latest/install/devstack.html. I downloaded devstack from master branch, and configure my local.conf in /samples/local.conf as the same given example provided in https://github.com/openstack/tacker/blob/master/devstack/local.conf.example. After that I run ./stack.sh

The process was successfully executed and I can access my access to openstack horizon via http://193.48.251.77/dashboard, where 193.48.251.77 is my host ip address.

However when I try to create a sample vnfd using tacker command like 'tacker vnfd-create --vnfd-file tosca-vnfd-cpu-dedicated.yaml --name vnfd-cpu-dedicated' or trying to check the status of tacker like

$ tacker vnfd-list
publicURL endpoint for nfv-orchestration service in RegionOne region not found

At the begining, I assumed that this issue might happen because nfv-orchestration service does not exist in 'openstack endpoint list', so that I create openstack endpoint to tacker service as below by following the instruction
$ openstack endpoint create --region RegionOne nfv-orchestration public http://193.48.251.77:9890/
$ openstack endpoint create --region RegionOne nfv-orchestration internal http://193.48.251.77:9890/
$ openstack endpoint create --region RegionOne nfv-orchestration admin http://193.48.251.77:9890/

And try run the same tacker command again but the error occur as
$ tacker vnfd-list
Unable to establish connection to http://193.48.251.77:9890/v1.0/vnfds.json?template_source=onboarded

I was wondering that why tacker service is not automatically installed during ./stack execution. Can you tell me how to fixed this problem?

Question information

Language:
English Edit question
Status:
Expired
For:
tacker Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Cong Phuoc Hoang (hoangphuoc) said :
#2

Sorry for replying your question late.
Can you try to install Tacker with devstack again with local.conf file: http://paste.openstack.org/show/613061/

Then you create vim_config.yaml file with flowing content: http://paste.openstack.org/show/622724/

And create vim first by command line:
tacker vim-register --config-file vim_config.yaml --is-default vim-default

After that you can try: tacker vnf-list or tacker vim-list to check Tacker runs normally.

Because of some change in Tacker, you should register your VIM before you create VNF. You can read the docs here: https://github.com/openstack/tacker/blob/master/doc/source/contributor/encrypt_vim_auth_with_barbican.rst

I hope it will help you.