[freeipa PR#790][comment] RFC: API for reporting PKINIT status
by martbab
URL: https://github.com/freeipa/freeipa/pull/790
Title: #790: RFC: API for reporting PKINIT status
martbab commented:
"""
ipa-4-5:
* c4aa3a17694b1ad8f9c60c98a95d217c01fc736c Allow for multivalued server attributes
* 753f8cf3aff07d22b35005b973e8518665d1fe6f Refactor the role/attribute member reporting code
* fbccb748a1c85b7ed67946ba7a11a960b839bcc9 Add an attribute reporting client PKINIT-capable servers
* 733cef9d5b0ae83127893ffff71689939902d257 Add the list of PKINIT servers as a virtual attribute to global config
* 6b815aae7174693b4952f2c60e7201d99e7b9684 Add `pkinit-status` command
* 4fa29a33765cb5d6ce86846f37766e5d3322f25f test_serverroles: Get rid of MockLDAP and use ldap2 instead
master:
* bddb90f38a3505a2768862d2f814c5e749a7dcde Allow for multivalued server attributes
* cac7e49daa04e838650548cc9162b8f117dc55b3 Refactor the role/attribute member reporting code
* d8bb23ac389929f28c584602e592b821e4c6ef9a Add an attribute reporting client PKINIT-capable servers
* f80553208e8d9f3df422f5be8e1cafa511e1b2c4 Add the list of PKINIT servers as a virtual attribute to global config
* 99352731b4b4bdcedfe6668ce71c1d67720ac4af Add `pkinit-status` command
* 58fd229a1dbb3f00a591de9417f36197141e26d7 test_serverroles: Get rid of MockLDAP and use ldap2 instead
"""
See the full comment at https://github.com/freeipa/freeipa/pull/790#issuecomment-304292760
6 years, 11 months
[freeipa PR#790][comment] RFC: API for reporting PKINIT status
by stlaz
URL: https://github.com/freeipa/freeipa/pull/790
Title: #790: RFC: API for reporting PKINIT status
stlaz commented:
"""
Run on replica:
```
[slaznick@machine ~]$ ipa help pkinit
ipa: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1351, in run
sys.exit(api.Backend.cli.run(argv))
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1105, in run
kw = self.parse(cmd, argv[1:])
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1125, in parse
parser = self.build_parser(cmd)
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1142, in build_parser
usage=' '.join(self.usage_iter(cmd)),
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1220, in usage_iter
for arg in cmd.args():
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 255, in __get__
obj.ensure_finalized()
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 230, in ensure_finalized
self.finalize()
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 210, in finalize
self._on_finalize()
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 733, in _on_finalize
if c.NO_CLI:
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/schema.py", line 247, in NO_CLI
halp = self._schema[self.schema_key].get_help(self.full_name)
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/schema.py", line 329, in get_help
return self._schema.get_help(self.name, key)
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/schema.py", line 520, in get_help
return self._help[namespace][member]
TypeError: 'NoneType' object has no attribute '__getitem__'
ipa: ERROR: an internal error has occurred
```
"""
See the full comment at https://github.com/freeipa/freeipa/pull/790#issuecomment-304251886
6 years, 11 months