New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added install check before executing ipa-* command #25
Conversation
Fixes: https://fedorahosted.org/freeipa/ticket/6261 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
The following commands still fail with incorrect error message:
Details: |
|
@tomaskrizek: none of them except |
|
All this is consequence of nonsensical defaults in ipalib.constants module. I would say that this needs to be fixed in a systematic way and not by scattering ifs around. IMHO we need to drop nonsensical defaults form ipalib.constants module and handle missing values in API initialization. We should throw out exception if API cannot be initialized because of missing values (and/or failing auto-detection, depending on parameters in constructor) instead of scattering ifs around. For example: I'm still waiting for branching ipa-4-4. After that I can send my patch which removes some of crazy defaults from ipalib.constants. |
|
@pspacek Should I close this PR then? |
|
Let's wait for #113 . We will see if it improves things or not. |
Fixes: https://fedorahosted.org/freeipa/ticket/6261
Signed-off-by: Abhijeet Kasurde akasurde@redhat.com