Comment 2 for bug 1998599

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/866488
Committed: https://opendev.org/starlingx/config/commit/4a1fe61f6c0b30c7261adf4a74bc6b12d7b86087
Submitter: "Zuul (22348)"
Branch: master

commit 4a1fe61f6c0b30c7261adf4a74bc6b12d7b86087
Author: Gabriel de Araújo Cabral <email address hidden>
Date: Fri Dec 2 11:33:39 2022 -0500

    Fix system cluster-show error updating string encoding

    When it was executed 'system cluster-show <uuid or name>'
    on a storage config, the error message "'str' object has no
    attribute 'decode'" showed. The error was caused because
    in upgrading from python 2 to 3 there were changes in the string
    encoding. In the latest version, there is no possibility to
    'decode' a string, and then it's necessary to remove it to
    ensure correct display of cluster information.

    Test Plan:
    Pass: Storage, cluster-show command return proper info.
    Pass: Standard, cluster-show command return proper info.

    Closes-Bug: 1998599

    Signed-off-by: Gabriel de Araújo Cabral <email address hidden>
    Change-Id: Ia09bb5fc6c1c746a51d0be2093115e29eb5c3faf