#6809 Failed to write schema: b'sudo/1' is not JSON serializable
Closed: fixed 6 years ago Opened 7 years ago 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

7 years ago

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

7 years ago

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.

master:

  • 947ac4b py3: handle bytes in schema response

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

6 years ago

Login to comment on this ticket.

Metadata