[OSC] Share server migration check should format output

Bug #1989817 reported by Carlos Eduardo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Low
Carlos Eduardo

Bug Description

Description
===========
The recently implemented share server migration check command works properly, but there is an issue while displaying information to the users. The command displays a dictionary [1], and that is different from the pattern we use in other commands.

Steps to reproduce
==================

* Create a share on a DHSS=True backend
* Request the migration of the share server using the --check flag
* Check the output

Expected result
===============
The result would not be displayed as a dict and there would be formatting similar to share export locations [2].

Actual result
=============
The OSC displays a dictionary

Environment
===========
1. Devstack with manila on the master branch and most recent version of python-manilaclient (master branch/zed)

2. Two Dummy backends with DHSS=True on the cloud

[1] https://paste.opendev.org/show/bcYIAB0W26wsSAw0LOxD/
[2] https://paste.opendev.org/show/bc8shsFsxm14VIcdhxwI/

Tags: osc
Changed in python-manilaclient:
importance: Undecided → Low
assignee: nobody → Carlos Eduardo (silvacarlose)
Changed in python-manilaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-manilaclient/+/858227
Committed: https://opendev.org/openstack/python-manilaclient/commit/05135dc1e27cea905f44e7443e7bea47872d0351
Submitter: "Zuul (22348)"
Branch: master

commit 05135dc1e27cea905f44e7443e7bea47872d0351
Author: kushalaa <email address hidden>
Date: Fri Sep 16 16:44:07 2022 -0700

    Fix formatting of OSC server migration check-only

    When the default table formatting is used, we can improve
    readability by transforming the capabilities dictionaries
    into paragraphs.

    Closes-Bug: #1989817

    Change-Id: I5479c12ff97c12fbb5ab06d161d37b1dd736e8a2

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

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