nova get-password not decoding with python3

Bug #1794167 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Medium
Takashi Natsume

Bug Description

Running "nova get-password" with python3 returns bytes instead of a string:

nova get-password demowin1 ~/.ssh/id_rsa
b'7bXSAa50x3DaG15Byenb'

Changed in python-novaclient:
assignee: nobody → Alessandro Pilotti (alexpilotti)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
status: New → In Progress
melanie witt (melwitt)
Changed in python-novaclient:
importance: Undecided → Medium
Changed in python-novaclient:
assignee: Alessandro Pilotti (alexpilotti) → Takashi NATSUME (natsume-takashi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/604870
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=3a8d09ec770a56d6ff8589b32152a3e9ceca9b64
Submitter: Zuul
Branch: master

commit 3a8d09ec770a56d6ff8589b32152a3e9ceca9b64
Author: Alessandro Pilotti <email address hidden>
Date: Mon Sep 24 20:28:08 2018 +0200

    Fixes Python3 issue in decoding password

    The 'nova get-password' command shows a passowrd as bytes
    instead of string in Python 3 currently.
    It should be shown as string.
    So fix it.

    Co-Authored-By: Takashi Natsume <email address hidden>
    Change-Id: Ibcfb071fcc3c74535b800295ec95ca5ec8bc3c9b
    Closes-Bug: #1794167

Changed in python-novaclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-novaclient 12.0.0

This issue was fixed in the openstack/python-novaclient 12.0.0 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.