tacker-server 2.0.0 (train) fails with python3

Bug #1883350 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
Unassigned
Train
Fix Committed
Medium
Radosław Piliszek
tacker
Fix Released
Medium
Unassigned

Bug Description

The error is "TypeError: Object of type 'bytes' is not JSON serializable" which sounds like typical py2/3 incompat. Error log is attached.

Tacker version is 2.0.0 (the only Train release).

Python is 3.6 (on CentOS 8)

Tags: tacker
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :
Changed in kolla-ansible:
status: New → Invalid
Yasufumi Ogawa (yasufum)
Changed in tacker:
importance: Undecided → Medium
Revision history for this message
Hiroo Kitamura (h-kitamura) wrote :

Hi Radosław Piliszek,

I think this bug will be fixed by the existing patch.
So try one of the following:
* Apply Patch-696227(https://review.opendev.org/#/c/696227/) to stable/train
* Install stable/ussuri

If that doesn't work, please report again.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (stable/train)

Reviewed: https://review.opendev.org/740894
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=7fb34294684c895acf3b575bfe9c96c03ad6e819
Submitter: Zuul
Branch: stable/train

commit 7fb34294684c895acf3b575bfe9c96c03ad6e819
Author: Hiroo Kitamura <email address hidden>
Date: Wed Nov 27 13:11:06 2019 +0900

    Fix bug that causes InternalServerError in FT

    This patch fixes a bug that caused many functinal-tests
    to fail with the following error:
    - tackerclient.common.exceptions.InternalServerError

    The bug occurs because the password is converted to bytes
    type when decrypting the password of vim_auth with python3.

    Change-Id: I021d1752fcf96dfba97faf21e849dc87019e4e57
    Closes-Bug: #1883350
    (cherry picked from commit bdb2d52b3a1b69c58cb2ac6f903380ab8a7bd973)

Itsuro Oda (oda-g)
Changed in tacker:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 2.0.2

This issue was fixed in the openstack/tacker 2.0.2 release.

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

Other bug subscribers

Remote bug watches

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