Bug 2063176

Summary: [RFE] ipa subid-stats should include assigned_subids value as output
Product: Red Hat Enterprise Linux 8 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: NEW --- QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: pasik, rcritten, tscherf
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Story
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sudhir Menon 2022-03-11 12:50:58 UTC
Description of problem: ipa subid-stats should include assigned_subids value as output 

Version-Release number of selected component (if applicable):
ipa-server-4.9.8-7.module+el8.6.0+14337+19b76db2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install IPA server and assign subids to multiple users
2. Run the command #ipa subid-stats 
3. Now run the command #ipa subid-stats --all

Actual results:
2. 0 remaining subordinate id ranges is displayed
3. It displays assigned_subids, baseid, dna_remaining, rangesize, remaining_subids

Expected results: Since the remaning_subids value is always seen as 0 during testing, its better to display assigned_subids as output for #ipa subid-stats which will be more useful, unless the value of remaining_subids is going to change.

Additional info: