Ensure coordination IDs are encoded when working with coordination
backend. This fixes an issue when upgrading to Python 3 (where bytes
and str are different types) and _update_partitions() attempts to
sort types of 'str' and 'bytes', causing designate-producer to crash.
Reviewed: https:/ /review. opendev. org/673360 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=556a27e4e9c 9c4e21fb0ea46d8 d8832d28c85314
Committed: https:/
Submitter: Zuul
Branch: master
commit 556a27e4e9c9c4e 21fb0ea46d8d883 2d28c85314
Author: Corey Bryant <email address hidden>
Date: Mon Jul 29 15:44:48 2019 -0400
Ensure coordination IDs are encoded
Ensure coordination IDs are encoded when working with coordination partitions( ) attempts to
backend. This fixes an issue when upgrading to Python 3 (where bytes
and str are different types) and _update_
sort types of 'str' and 'bytes', causing designate-producer to crash.
Change-Id: Id8206ee5285d3a 73e00ef21b7d396 1a29c23ab4b
Closes-Bug: #1828534