[OSC] Share server migration check should format output
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:/
[2] https:/
Changed in python-manilaclient: | |
importance: | Undecided → Low |
assignee: | nobody → Carlos Eduardo (silvacarlose) |
Changed in python-manilaclient: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /python- manilaclient/ +/858227 /opendev. org/openstack/ python- manilaclient/ commit/ 05135dc1e27cea9 05f44e7443e7bea 47872d0351
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 05135dc1e27cea9 05f44e7443e7bea 47872d0351
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: I5479c12ff97c12 fbb5ab06d161d37 b1dd736e8a2