Bug 431283

Summary: traceback when running ipa-findgroup
Product: [Retired] freeIPA Reporter: Michael Gregg <mgregg>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: low    
Version: 1.0CC: benl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 246164, 429034    
Attachments:
Description Flags
ipa-findgroup had a usage function but hadn't registered --usage as a valid cmdline option none

Description Michael Gregg 2008-02-02 01:05:28 UTC
Description of problem:

+ /usr/sbin/ipa-findgroup test-group
Traceback (most recent call last):
  File "/usr/sbin/ipa-findgroup", line 137, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-findgroup", line 54, in main
    if options.usage or len(args) != 2:
AttributeError: Values instance has no attribute 'usage'

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. Install and setup a ipa-server
2. kinit as admin
3. create a group named test-group
4. run ipa-findgroup test-group
  
Actual results:
AttributeError: Values instance has no attribute 'usage'

This bug was referenced in:
http://apoc.dsdev.sjc.redhat.com/tet/results/2008-02-01_16_36/IPA-server-log.txt

Comment 1 Rob Crittenden 2008-02-02 03:24:04 UTC
Created attachment 293782 [details]
ipa-findgroup had a usage function but hadn't registered --usage as a valid cmdline option

Comment 2 Rob Crittenden 2008-02-02 03:24:41 UTC
Committed in changeset 619

Comment 3 Yi Zhang 2008-05-28 21:54:32 UTC
QA Verified on May 28, 2008 (Yi)

Build used: May 28, 2008 (i386)


ipaserver[05/28/08 14:48] ipa-findgroup 
ipa-findgroup [-a|--all] [-n|--notranslate] [-v|--verbose] group
ipaserver[05/28/08 14:50] ipa-findgroup grp001
dn: cn=grp001,cn=groups,cn=accounts,dc=ipaqa,dc=com
GID: 1100
Full Name: grp001
Description: this is 'a quote', but it should be ok