#6809 Failed to write schema: b'sudo/1' is not JSON serializable
Closed: fixed Opened by cheimes.

Schema cache fails under Python 3:

ipa: WARNING: Failed to write schema: b'sudo/1' is not JSON serializable

Metadata Update from @mbasti:
- Issue tagged with: py3

Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.6

This seem to only happen when you're running the ipa command in python3 on a master which utilizes python2-mod_wsgi when there's no cache.
Not sure what a python3 client on a separate machine would do against python2 server, but I am going to treat this as a minor issue to the Python 3 effort since the behavior seems a bit magical and does not prevent usage of the tool.

PR: https://github.com/freeipa/freeipa/pull/995

master:

  • 947ac4bc1f6f4016cf5baf2ecb4577e893bc3948 py3: handle bytes in schema response

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

Metadata