horizon dashboard throws error 500: Internal Server Error if tacker is enabled

Bug #1666463 reported by Khawar Munir Abbasi
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned
kolla-ansible
Invalid
Undecided
Unassigned
tacker
Fix Released
High
Jeffrey Zhang

Bug Description

I tried this in master branch, the horizon dashboard throws Error 500,if tacker is enabled from globals.yml. However, if tacker is disabled from globals.yml than horizon dashboard works fine.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Can you please paste error logs?

Revision history for this message
Khawar Munir Abbasi (ekhawmu) wrote :
Download full text (26.6 KiB)

tacker.log

ERROR oslo_service.service [req-408b25f0-7893-457c-a4ce-33c2470cca5c - - - - -] Error starting thread.
2017-02-21 09:48:30.433 7 ERROR oslo_service.service Traceback (most recent call last):
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_service/service.py", line 722, in run_service
2017-02-21 09:48:30.433 7 ERROR oslo_service.service service.start()
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/service.py", line 65, in start
2017-02-21 09:48:30.433 7 ERROR oslo_service.service self.wsgi_app = _run_wsgi(self.app_name)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/service.py", line 105, in _run_wsgi
2017-02-21 09:48:30.433 7 ERROR oslo_service.service app = config.load_paste_app(app_name)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/config.py", line 132, in load_paste_app
2017-02-21 09:48:30.433 7 ERROR oslo_service.service app = deploy.loadapp("config:%s" % config_path, name=app_name)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2017-02-21 09:48:30.433 7 ERROR oslo_service.service return loadobj(APP, uri, name=name, **kw)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2017-02-21 09:48:30.433 7 ERROR oslo_service.service return context.create()
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2017-02-21 09:48:30.433 7 ERROR oslo_service.service return self.object_type.invoke(self)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2017-02-21 09:48:30.433 7 ERROR oslo_service.service **context.local_conf)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2017-02-21 09:48:30.433 7 ERROR oslo_service.service val = callable(*args, **kw)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/urlmap.py", line 31, in urlmap_factory
2017-02-21 09:48:30.433 7 ERROR oslo_service.service app = loader.get_app(app_name, global_conf=global_conf)
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2017-02-21 09:48:30.433 7 ERROR oslo_service.service name=name, global_conf=global_conf).create()
2017-02-21 09:48:30.433 7 ERROR oslo_service.service File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2017-02-21 09:48:3...

Revision history for this message
Khawar Munir Abbasi (ekhawmu) wrote :

I have resolved that error. Python package tackerclient needs to be installed on horizon container. I manually installed it horizon container, after that it works.

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

seems this is a bug in tacker-horizon. he should add tackerclient into its requirements.txt file.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker-horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/436728

Changed in tacker:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
status: New → In Progress
Changed in kolla-ansible:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker-horizon (master)

Reviewed: https://review.openstack.org/436728
Committed: https://git.openstack.org/cgit/openstack/tacker-horizon/commit/?id=0f929f76f2e82cf6c30f6a05070e4f8e78af35de
Submitter: Jenkins
Branch: master

commit 0f929f76f2e82cf6c30f6a05070e4f8e78af35de
Author: Jeffrey Zhang <email address hidden>
Date: Wed Feb 22 10:23:18 2017 +0800

    Add python-tackerclient in requirements.txt

    tacker-horizon depends on python-tackerclient package.

    Change-Id: I4509f8d8fcf5adb49945117f4d356277e464bccd
    Closes-Bug: #1666463

Changed in tacker:
status: In Progress → Fix Released
Changed in tacker:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker-horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/437306

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker-horizon (stable/ocata)

Reviewed: https://review.openstack.org/437306
Committed: https://git.openstack.org/cgit/openstack/tacker-horizon/commit/?id=1d228935bac15db186a08f3ee1a62e06b6791fee
Submitter: Jenkins
Branch: stable/ocata

commit 1d228935bac15db186a08f3ee1a62e06b6791fee
Author: Jeffrey Zhang <email address hidden>
Date: Wed Feb 22 10:23:18 2017 +0800

    Add python-tackerclient in requirements.txt

    tacker-horizon depends on python-tackerclient package.

    Change-Id: I4509f8d8fcf5adb49945117f4d356277e464bccd
    Closes-Bug: #1666463
    (cherry picked from commit 0f929f76f2e82cf6c30f6a05070e4f8e78af35de)

tags: added: in-stable-ocata
Changed in tacker:
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker-horizon 0.8.0

This issue was fixed in the openstack/tacker-horizon 0.8.0 release.

Changed in kolla:
milestone: none → ocata-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/438151

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ocata)

Reviewed: https://review.openstack.org/438151
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=e6d222f8d99702b969d6fdebb40edd4f1890657e
Submitter: Jenkins
Branch: stable/ocata

commit e6d222f8d99702b969d6fdebb40edd4f1890657e
Author: Jeffrey Zhang <email address hidden>
Date: Sat Feb 25 15:13:52 2017 +0800

    Bump tacker-horizon to 0.8.0

    tacker-horizon 0.7.0 is bust.

    Change-Id: I7614a296ff4633c45ac0e37b15bbab5b8cab893c
    Closes-Bug: #1666463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.0.0rc2

This issue was fixed in the openstack/kolla 4.0.0.0rc2 release candidate.

Changed in kolla:
milestone: ocata-rc2 → 4.0.1
Changed in kolla:
milestone: 4.0.1 → 4.0.2
shake.chen (shake-chen)
Changed in kolla:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker-horizon 0.9.0

This issue was fixed in the openstack/tacker-horizon 0.9.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.