URL: https://github.com/freeipa/freeipa/pull/899
Author: Rezney
Title: #899: test_caless: introduce new python makepki + fix SKI extension issue
Action: opened
PR body:
"""
Change makepki.sh for new makepki.py which should be more
readable, maintainable and extendable than the old script.
In this test we use it as a module and import create_pki().
The new makepki adds SKI and AKI extensions for correct
cert validation.
Other minor changes needed as we do not use NSS to store our
certificates on the test controller.
https://pagure.io/freeipa/issue/7030
Signed-off-by: Michal Reznik <mreznik(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/899/head:pr899
git checkout pr899
URL: https://github.com/freeipa/freeipa/pull/839
Author: HonzaCholasta
Title: #839: [WIP] use standard Python logging
Action: opened
PR body:
"""
**wsgi, oddjob: remove needless uses of Env**
Do not use custom Env instance to determine the debug level to use for the
IPA API object - the IPA API object can properly determine the configured
debug level on its own.
**logging: port to standard Python logging**
Use the standard `logging` module to configure logging instead of the
in-house `ipapython.log_manager` module and remove `ipapython.log_manager`.
Disable the logging-not-lazy and logging-format-interpolation pylint
checks.
**logging: configure logging on the root logger**
Configure logging on the actual root logger (`logging.getLogger()`) rather
than the `ipa` logger (`ipa_log_manager.root_logger`).
**logging: remove object-specific loggers**
Remove all object-specific loggers, with the exception of `Plugin.log`,
which is now deprecated. Replace affected logger calls with module-level
logger calls.
Deprecate object-specific loggers in `ipa_log_manager.get_logger`.
**doc: sync guide.org with cli.py**
**logging: do not reference loggers in arguments and attributes**
Remove logger arguments in all functions and logger attributes in all
objects, with the exception of API object logger, which is now deprecated.
Replace affected logger calls with module-level logger calls.
**logging: do not log into the root logger**
Deprecate `ipa_log_manager.root_logger` and replace all calls to it with
module-level logger calls.
**logging: do not use `ipa_log_manager` to create module-level loggers**
Replace all `ipa_log_manager.log_mgr.get_logger` calls to create
module-level loggers with `logging.getLogger` calls and deprecate
`ipa_log_manager.log_mgr.get_logger`.
Enable the logging-not-lazy and logging-format-interpolation pylint checks.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/839/head:pr839
git checkout pr839
URL: https://github.com/freeipa/freeipa/pull/895
Author: stlaz
Title: #895: Ensure network is online prior to an upgrade
Action: opened
PR body:
"""
Fedora system upgrades don't necessary require the network to be up.
However, we do, so we have to make sure the network is online before
performing an upgrade.
https://pagure.io/freeipa/issue/7039
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/895/head:pr895
git checkout pr895
URL: https://github.com/freeipa/freeipa/pull/853
Author: stlaz
Title: #853: x509,certdb: handle certificates as bytes
Action: opened
PR body:
"""
Certificates, both in PEM and DER format, should be handled as bytes
in Python 3.
https://pagure.io/freeipa/issue/4985
=================================
This PR unblocks IPA with **external CA** installation under Python 3.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/853/head:pr853
git checkout pr853
URL: https://github.com/freeipa/freeipa/pull/892
Author: simo5
Title: #892: Always check peer has keys before connecting
Action: opened
PR body:
"""
When pulling the DM password we may have the same issues reported in
ticket #6838 for CA keys.
This commit makes sure we always check the peer has keys before any
client operation.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/892/head:pr892
git checkout pr892
URL: https://github.com/freeipa/freeipa/pull/900
Author: Tiboris
Title: #900: whoami.py: type error when running test
Action: opened
PR body:
"""
While writing xmlrpc test for this plugin I bumped into:
TypeError: whoami.validate_output():
output['arguments']: need (<type 'list'>,); got <type 'tuple'>: (u'krb_staged_user',)
After change in [whoami.py](https://github.com/freeipa/freeipa/blob/master/ipaserver/plugins… :
``` python
output.Output('arguments', list, _('Arguments to details function')),
```
to:
``` python
output.Output('arguments', tuple, _('Arguments to details function')),
```
invoking command whoami fails with output **InternalError: an internal error has occurred**
@stlaz suggested changes which are in this PR.
With these changes _whoami.validate_output()_ does not throw error and tests continue where they should.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/900/head:pr900
git checkout pr900
URL: https://github.com/freeipa/freeipa/pull/886
Author: martbab
Title: #886: *config-show: Restore the original reporting of server roles/attributes
Action: opened
PR body:
"""
Revert to the FreeIPA 4.4 behavior of these commands: if no master
provides the role (or the information is inaccessible to the caller),
return an empty list. If no one provides the attribute do not return
anything.
We may also discuss other options such as do not show anything if both
properties are empty. This is indeed implied by the params in the commands
which are optional.
https://pagure.io/freeipa/issue/7029
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/886/head:pr886
git checkout pr886