Tacker not able to create VNF, openstack VIM is register

Asked by Chandra Sharma

Tacker not able to create VNF, openstack VIM is register.

Error---> VIM type openstack is not supported as a infra driver.

VIM is reachable.

""""root@controller:~# tacker vnf-create --vnfd-id 5679e814-f6fe-4167-be0c-c1be011f05d6 vnf1
VIM type openstack is not supported as a infra driver""""

root@controller:~# tacker vnfd-list
+--------------------------------------+-------+-----------------+--------------+
| id | name | template_source | description |
+--------------------------------------+-------+-----------------+--------------+
| 5679e814-f6fe-4167-be0c-c1be011f05d6 | vnfd1 | onboarded | Demo example |
+--------------------------------------+-------+-----------------+--------------+

root@controller:~# tacker vim-list --name vim1
+---------------+---------------+------+-----------+---------------+---------------+----------------+-------------------+-----------+
| id | tenant_id | name | type | description | auth_url | placement_attr | auth_cred | status |
+---------------+---------------+------+-----------+---------------+---------------+----------------+-------------------+-----------+
| f9385005-a3e4 | e0cb1359f6d04 | vim1 | openstack | openstack_1_v | http://contro | {u'regions': [ | {u'username': | REACHABLE |
| -44fd-9af0-4c | 7b2b011d7786d | | | im | ller:5000/v3 | u'RegionOne']} | u'tacker', | |
| 97353ff2f1 | ec604b | | | | | | u'project_name': | |
| | | | | | | | u'service', | |
| | | | | | | | u'user_id': u'', | |
| | | | | | | | u'user_domain_nam | |
| | | | | | | | e': u'default', | |
| | | | | | | | u'project_id': | |
| | | | | | | | u'', u'auth_url': | |
| | | | | | | | u'http://controll | |
| | | | | | | | er:5000/v3', | |
| | | | | | | | u'password': | |
| | | | | | | | u'***', u'project | |
| | | | | | | | _domain_name': | |
| | | | | | | | u'default'} | |
+---------------+---------------+------+-----------+---------------+---------------+----------------+-------------------+-----------+
root@controller:~#

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
yong sheng gong (gongysh) said :
#1

can you show me your tacker.conf? and what version of tacker are you using?

Revision history for this message
Chandra Sharma (cp1408) said :
#2

[DEFAULT]
auth_strategy = keystone
policy_file = /usr/local/etc/tacker/policy.json
debug = True
use_syslog = False
bind_host = 192.168.1.10
bind_port = 9890
service_plugins = nfvo,vnfm
rpc_backend = rabbit

state_path = /var/lib/tacker

[nfvo]
vim_drivers = openstack

[keystone_authtoken]
memcached_servers = controller:11211
#region_name = RegionOne
auth_type = password
project_domain_name = default
user_domain_name = default
username = tacker
project_name = service
password = **********
auth_url = http://controller:35357
auth_uri = http://controller:5000

[agent]
root_helper = sudo /usr/local/bin/tacker-rootwrap /usr/local/etc/tacker/rootwrap.conf

[database]
connection = mysql+pymysql://tacker:******@controller/tacker

[tacker]
monitor_driver = ping,http_ping

[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = ******

**************************************************************************************************
root@controller:~/tacker# tacker --version
0.9.1
**************************************************************************************************

Revision history for this message
yong sheng gong (gongysh) said :
#3

thanks,

do you have tacker log file?

Revision history for this message
Chandra Sharma (cp1408) said :
#4

controller@controller:~$ tail -f /var/log/tacker/tacker.log
2017-02-25 20:36:05.209 28327 ERROR tacker File "/usr/local/lib/python2.7/dist-packages/tacker/cmd/server.py", line 50, in main
2017-02-25 20:36:05.209 28327 ERROR tacker launcher.wait()
2017-02-25 20:36:05.209 28327 ERROR tacker File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 310, in wait
2017-02-25 20:36:05.209 28327 ERROR tacker if not _is_sighup_and_daemon(signo):
2017-02-25 20:36:05.209 28327 ERROR tacker File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 79, in _is_sighup_and_daemon
2017-02-25 20:36:05.209 28327 ERROR tacker return _is_daemon()
2017-02-25 20:36:05.209 28327 ERROR tacker File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 60, in _is_daemon
2017-02-25 20:36:05.209 28327 ERROR tacker is_daemon = os.getpgrp() != os.tcgetpgrp(sys.stdout.fileno())
2017-02-25 20:36:05.209 28327 ERROR tacker OSError: [Errno 5] Input/output error
2017-02-25 20:36:05.209 28327 ERROR tacker

Revision history for this message
Launchpad Janitor (janitor) said :
#5

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