commit b4b47a59c7ff1d60e69dbdea07de9163948cb680
Author: Edward Hope-Morley <email address hidden>
Date: Thu Jun 6 12:26:26 2019 +0100
Fix python3 compatibility of rbd get_fsid
In py3 librados's get_fsid() function returns a binary string
which breaks comparison when compared with the same value as a
string. This is currently breakin the logic that compares ceph
cluster fsids when deciding whether the image used to boot an
instance is cow-clonable.
Change-Id: I79b40ca40400c67b0805926096317afd875ffabb
Closes-Bug: #1816468
(cherry picked from commit e8b6b0bc78ec229803d1d27f8a4706e2c425bd77)
Reviewed: https:/ /review. opendev. org/664512 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b4b47a59c7f f1d60e69dbdea07 de9163948cb680
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit b4b47a59c7ff1d6 0e69dbdea07de91 63948cb680
Author: Edward Hope-Morley <email address hidden>
Date: Thu Jun 6 12:26:26 2019 +0100
Fix python3 compatibility of rbd get_fsid
In py3 librados's get_fsid() function returns a binary string
which breaks comparison when compared with the same value as a
string. This is currently breakin the logic that compares ceph
cluster fsids when deciding whether the image used to boot an
instance is cow-clonable.
Change-Id: I79b40ca40400c6 7b0805926096317 afd875ffabb 803d1d27f8a4706 e2c425bd77)
Closes-Bug: #1816468
(cherry picked from commit e8b6b0bc78ec229