Comment 2 for bug 1790695

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

Reviewed: https://review.openstack.org/599861
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a4f1274f40513d0a350a38c6e389c9a76c272379
Submitter: Zuul
Branch: master

commit a4f1274f40513d0a350a38c6e389c9a76c272379
Author: Matt Riedemann <email address hidden>
Date: Tue Sep 4 18:28:21 2018 -0400

    Fix TypeError in nova-manage cell_v2 list_cells

    Cell mappings don't require a name, so when listing
    cells, if any mappings don't have a name, the sorted
    function will fail with a TypeError since you can't compare
    None to a string.

    This fixes the issue by using the empty string if the cell
    mapping name is None.

    Change-Id: I4fc9d8d1a96f1ec722c2c92dead3f5c4c94d4382
    Closes-Bug: #1790695