pagination links are displayed in share snapshot osc and manilaclient commands

Bug #1912704 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
In Progress
Low
Nicole Chen

Bug Description

Pagination links are not useful in command line outputs and they shouldn't be displayed. However, we're not popping them off for share snapshot export locations:

Pagination links are currently displayed in
- "openstack share snapshot show" and "manila snapshot-show" commands.
- "openstack share snapshot export location show" command

Sample output:

$ manila snapshot-show testsnap2
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | cbf7471e-1fa4-4ef9-b537-29bfdcdbf52c |
| share_id | 1223f32b-9a09-4a98-baf0-85aec3cc43ae |
| share_size | 10 |
| created_at | 2021-01-22T00:49:11.000000 |
| status | available |
| name | testsnap2 |
| description | None |
| size | 10 |
| share_proto | NFS |
| provider_location | /path/to/fake/snapshot/snapshot_cbf7471e_1fa4_4ef9_b537_29bfdcdbf52c_30685a81_df7f_4e9c_a82b_5a5386a3880c |
| user_id | a8ca2cff9dc741e199d0237e902fedf1 |
| project_id | 5093976d7d674ebbad2706821dff1f42 |
| export_locations | |
| | id = 0981fdb0-a4f9-471e-bdd5-9af361eb0a7f |
| | path = 10.0.0.20:/path/to/fake/snapshot/snapshot_cbf7471e_1fa4_4ef9_b537_29bfdcdbf52c_30685a81_df7f_4e9c_a82b_5a5386a3880c |
| | links = [{'rel': 'self', 'href': 'http://10.0.110.111/share/v2/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/0981fdb0-a4f9-471e-bdd5-9af361eb0a7f'}, {'rel': 'bookmark', 'href': 'http://10.0.110.111/share/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/0981fdb0-a4f9-471e-bdd5-9af361eb0a7f'}] |
| | share_snapshot_instance_id = 30685a81-df7f-4e9c-a82b-5a5386a3880c |
| | is_admin_only = False |
| | id = 36ec621d-fa04-4a4c-83c4-b60d235e06c8 |
| | path = 10.0.0.10:/path/to/fake/snapshot/snapshot_cbf7471e_1fa4_4ef9_b537_29bfdcdbf52c_30685a81_df7f_4e9c_a82b_5a5386a3880c |
| | links = [{'rel': 'self', 'href': 'http://10.0.110.111/share/v2/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/36ec621d-fa04-4a4c-83c4-b60d235e06c8'}, {'rel': 'bookmark', 'href': 'http://10.0.110.111/share/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/36ec621d-fa04-4a4c-83c4-b60d235e06c8'}] |
| | share_snapshot_instance_id = 30685a81-df7f-4e9c-a82b-5a5386a3880c |
| | is_admin_only = False |
| | id = 7fd75e4d-31d8-4290-9552-fed9b79f2074 |
| | path = 11.0.0.11:/path/to/fake/snapshot/snapshot_cbf7471e_1fa4_4ef9_b537_29bfdcdbf52c_30685a81_df7f_4e9c_a82b_5a5386a3880c |
| | links = [{'rel': 'self', 'href': 'http://10.0.110.111/share/v2/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/7fd75e4d-31d8-4290-9552-fed9b79f2074'}, {'rel': 'bookmark', 'href': 'http://10.0.110.111/share/5093976d7d674ebbad2706821dff1f42/share_snapshot_export_locations/7fd75e4d-31d8-4290-9552-fed9b79f2074'}] |
| | share_snapshot_instance_id = 30685a81-df7f-4e9c-a82b-5a5386a3880c |
| | is_admin_only = True |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Changed in python-manilaclient:
importance: Undecided → Low
Changed in python-manilaclient:
status: New → Confirmed
Nicole Chen (arkaruki)
Changed in python-manilaclient:
assignee: nobody → Nicole Chen (arkaruki)
Maari Tamm (maaritamm)
Changed in python-manilaclient:
status: Confirmed → In Progress
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.