Bug 431283 - traceback when running ipa-findgroup
Summary: traceback when running ipa-findgroup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa10 429034
TreeView+ depends on / blocked
 
Reported: 2008-02-02 01:05 UTC by Michael Gregg
Modified: 2015-01-04 23:30 UTC (History)
1 user (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
ipa-findgroup had a usage function but hadn't registered --usage as a valid cmdline option (869 bytes, patch)
2008-02-02 03:24 UTC, Rob Crittenden
no flags Details | Diff

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




Note You need to log in before you can comment on or make changes to this bug.