#4358 'API' object has no attribute 'log' when running with -c option
Closed: wontfix 5 years ago Opened 9 years ago by admiyo.

 ipa  -vv  -e log=/dev/null   -c ipa.conf user-show ayoung
Traceback (most recent call last):
  File "/usr/bin/ipa", line 32, in <module>
    cli.run(api)
  File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1300, in run
    api.log.exception('%s: %s', e.__class__.__name__, str(e))
AttributeError: 'API' object has no attribute 'log'

Running in a debugger shows and exception being raised:

'config_file must be an absolute path; got u\\'ipa.conf\\'

in

/usr/lib/python2.7/site-packages/ipalib/cli.py

But since the log object does not exist, a new error gets raised, overwriting the original.


I think I was the one who broke this at some point. Assigning to me but feel free to take it.

Metadata Update from @admiyo:
- Issue assigned to pviktori
- Issue set to the milestone: Future Releases

7 years ago

Thank you taking time to submit this request for FreeIPA. Unfortunately this bug was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfil this request I am closing the issue as wontfix. To request re-consideration of this decision please reopen this issue and provide additional technical details about its importance to you.

Metadata Update from @rcritten:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata