Internal server error while creating vnf

Asked by Madhur Khurana on 2017-03-15

"Request Failed: internal server error while processing your request" coming on creating a VNF.

stack@ubuntu:~$ tacker vnf-create --vnfd-id b921150e-77d1-4772-a7ac-5cca96d1aa14 sample
Request Failed: internal server error while processing your request.

stack@ubuntu:~$ tacker vnfd-list
+--------------------------------------+--------+-----------------+--------------+
| id | name | template_source | description |
+--------------------------------------+--------+-----------------+--------------+
| b921150e-77d1-4772-a7ac-5cca96d1aa14 | sample | onboarded | Demo example |
+--------------------------------------+--------+-----------------+--------------+
stack@ubuntu:~$

stack@ubuntu:~$ tacker vim-list
+----------------------+----------------------+------+-----------+-------------+----------------------+----------------------+-------------------------+-----------+
| id | tenant_id | name | type | description | auth_url | placement_attr | auth_cred | status |
+----------------------+----------------------+------+-----------+-------------+----------------------+----------------------+-------------------------+-----------+
| f1e59b77-3ce2-4ade-b | 7f147aae7f7742c19b7e | VIM0 | openstack | | http://localhost:500 | {u'regions': | {u'username': | REACHABLE |
| 832-b9430247f545 | 4367da4a7b91 | | | | 0/v3 | [u'RegionOne']} | u'tacker', u'password': | |
| | | | | | | | u'***', | |
| | | | | | | | u'project_name': | |
| | | | | | | | u'service', | |
| | | | | | | | u'user_domain_name': | |
| | | | | | | | u'Default', | |
| | | | | | | | u'auth_url': u'http://l | |
| | | | | | | | ocalhost:5000/v3', | |
| | | | | | | | u'project_id': None, | |
| | | | | | | | u'project_domain_name': | |
| | | | | | | | u'Default'} | |
+----------------------+----------------------+------+-----------+-------------+----------------------+----------------------+-------------------------+-----------+
stack@ubuntu:~$

Tacker Logs Error:

2017-03-16 03:30:36.570 5840 ERROR tacker.api.v1.resource HTTPInternalServerError: ERROR: cannot import name python_2_unicode_compatible
2017-03-16 03:30:36.570 5840 ERROR tacker.api.v1.resource

Setup Details:

stack@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

stack@ubuntu:~$ tacker --version
0.9.1

Question information

Language:
English Edit question
Status:
Answered
For:
tacker Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-15
Last reply:
2017-03-23
Madhur Khurana (madhur1) said : #2

There suggested to use six >= 1.9.0. In my setup using 1.10.0. But, still same issue persists

root@ubuntu:/var/log/tacker# python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__version__
'1.10.0'
>>>

yong sheng gong (gongysh) said : #3

maybe it seems you need to update ubuntu16.04. the CI tests are on 16.04.

Can you help with this problem?

Provide an answer of your own, or ask Madhur Khurana for more information if necessary.

To post a message you must log in.