_get_system_uuid function in the os_brick/initiator/connectors/nvme.py line#64 is return uuid with trailing newline character

Bug #1819062 reported by Tejdeep Kautharam
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Undecided
Tejdeep Kautharam

Bug Description

_get_system_uuid function in the os_brick/initiator/connectors/nvme.py line#64 is returning uuid with trailing newline character. Need to strip the trailing newline characters.

Changed in os-brick:
assignee: nobody → Tejdeep Kautharam (tejdeep)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

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

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

Reviewed: https://review.openstack.org/641796
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=a2b72a967fdbaa4c0e1dbca68739b1bcd2784504
Submitter: Zuul
Branch: master

commit a2b72a967fdbaa4c0e1dbca68739b1bcd2784504
Author: Tejdeep Kautharam <email address hidden>
Date: Thu Mar 7 05:34:41 2019 -0800

    Remove trailing newline character in UUID

    Trailing newline character is present in UUID returned by
    _get_system_uuid method. This causes problems when the returned UUID
    is not checked for newline. Remove trailing newline before returning
    UUID.

    Change-Id: Ibe37a14f67ce7452f088d7913a76c6233202ccea
    Closes-Bug: #1819062

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

This issue was fixed in the openstack/os-brick 2.8.1 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.