Ask Your Question

Tacker failing to deploy NS

asked 2017-08-15 22:35:26 -0500

zz7 gravatar image

updated 2017-08-16 04:38:04 -0500

Using a fresh Tacker stack from Stable/Ocata and the examples from, I could load VNFDs and NSD per the examples, but attempts to Deploy the NS always fail with an "EndpointNotFound: public endpoint for workflowv2 service not found exception". Private attempts with a much simpler VNFD and NSD also failed in the same spot.

Tacker.log excerpt as follows:

2017-08-14 17:26:01.350 DEBUG tacker.alarm_receiver [-] Process request: (<Request at 0x7f19134a7850 GET http://192
.168.0.200:9890/v1.0/vims.json>,) from (pid=9619) process_request /opt/stack/tacker/tacker/
2017-08-14 17:26:01.391 INFO tacker.wsgi [req-92c15489-75e6-4214-aa5e-5763b5d1ede7 nfv nfv_user]
00 - - [14/Aug/2017 17:26:01] "GET //v1.0/vims.json HTTP/1.1" 200 1536 0.041027
2017-08-14 17:26:01.391 DEBUG tacker.wsgi [-] (9619) accepted ('', 41076) from (pid=9619) s
erver /usr/local/lib/python2.7/dist-packages/eventlet/
2017-08-14 17:26:01.392 DEBUG tacker.alarm_receiver [-] Process request: (<Request at 0x7f19134a7a90 POST http://19>,) from (pid=9619) process_request /opt/stack/tacker/tacker/
2017-08-14 17:26:01.418 DEBUG tacker.api.v1.base [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] Req
uest body: {u'ns': {u'attributes': {}, u'vim_id': u'0b121b86-9bc6-4780-8435-7d04f287a5c1', u'nsd_id': u'344a96e8-3259-49bd-8ab4-3
79ef02ee7e1', u'description': u'', u'name': u'aloft3-asNFVUSER'}} from (pid=9619) prepare_request_body /opt/stack/tack
2017-08-14 17:26:01.419 DEBUG tacker.common.log [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] tack
er.nfvo.nfvo_plugin.NfvoPlugin method create_ns called with arguments (<tacker.context.Context object at 0x7f1913583c50>,) {'ns':
 {u'ns': {u'description': u'', 'tenant_id': u'e5df5a3362174783a5796d046593a565', u'vim_id': u'0b121b86-9bc6-4780-8435-7d04f287a5c
1', u'name': u'aloft3-asNFVUSER', 'vnf_ids': '', u'attributes': {}, u'nsd_id': u'344a96e8-3259-49bd-8ab4-379ef02ee7e1'}}} 
from (pid=9619) wrapper /opt/stack/tacker/tacker/common/
2017-08-14 17:26:01.444 DEBUG tacker.vnfm.vim_client [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] 
VIM info found for vim id 0b121b86-9bc6-4780-8435-7d04f287a5c1 from (pid=9619) get_vim /opt/stack/tacker/tacker/vnfm/
2017-08-14 17:26:01.445 DEBUG tacker.vnfm.vim_client [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] 
VIM id is 0b121b86-9bc6-4780-8435-7d04f287a5c1 from (pid=9619) _build_vim_auth /opt/stack/tacker/tacker/vnfm/vim_clie
2017-08-14 17:26:01.445 DEBUG tacker.vnfm.vim_client [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] 
Attempting to open key file for vim id 0b121b86-9bc6-4780-8435-7d04f287a5c1 from (pid=9619) _find_vim_key /opt/stack/
2017-08-14 17:26:01.448 INFO tacker.db.db_base [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] No re
sult found for aloft3-asNFVUSER in <class 'tacker.db.nfvo.ns_db.NS'> table
2017-08-14 17:26:01.487 ERROR tacker.api.v1.resource [req-b5e67097-83fb-4829-ad47-c8c158760791 nfv nfv_user] 
create failed
2017-08-14 17:26:01.487 TRACE tacker.api.v1.resource Traceback (most recent call last):
2017-08-14 17:26:01.487 TRACE tacker.api.v1.resource   File "/opt/stack/tacker/tacker/api/v1/", line 83, in
2017-08-14 17:26:01.487 TRACE tacker.api.v1.resource     result = method ...
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2017-08-16 04:44:55 -0500


From what I see in the logs, tacker version being used is current master (Pike release).

Ocata does not require workflowv2 (mistral endpoints) to work. VIM monitoring through Mistral was implemented during Pike release.

Check this part of code where do the authentication and fails in your case is not present in Ocata branch:

class MistralClient(object):
    """Mistral Client class for NSD"""

    def __init__(self, keystone, auth_token):
        endpoint = keystone.session.get_endpoint(
            service_type='workflowv2', region_name=None)

        self.client = mistral_client.client(auth_token=auth_token,

Please, make sure to checkout or install stable/ocata packages.


edit flag offensive delete link more

answered 2017-08-16 08:09:52 -0500

zz7 gravatar image

Thanks for the quick answer. I certainly thought I installed Ocata. Here is the snippet from my local.conf and the resulting versions. Is there any chance the stable/ocata tags/versions are misaligned?

enable_plugin heat stable/ocata
enable_plugin tacker stable/ocata
ubuntu: ~$ tacker –version
ubuntu: ~$ heat –version
ubuntu: ~$ mistral –version
edit flag offensive delete link more


stable/ocata tag for tacker is 0.7.0 meaning 0.9.0 (not released yet) is a dev version I would just unstack, git checkout origin/stable/ocata in devstack repo and stack again.Or sorry for spam,just use kolla-ansible :)

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-08-16 09:16:08 -0500 )edit

didn't have any luck getting that to work there a syntax to explicitely give a version number via local.conf so that it the plugin is as desired ... LIKE:

[[local|localrc]] enable_plugin tacker (

zz7 gravatar imagezz7 ( 2017-08-16 17:21:32 -0500 )edit

No idea about devstack sorry, just pointed out that was failing due wrong version.

Btw, doesnt make sense use devstack for stable releases unless working for a bug fix

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-08-17 03:46:25 -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


Asked: 2017-08-15 22:35:26 -0500

Seen: 278 times

Last updated: Aug 16 '17