commit e8b6b0bc78ec229803d1d27f8a4706e2c425bd77
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.
Reviewed: https:/ /review. opendev. org/663607 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e8b6b0bc78e c229803d1d27f8a 4706e2c425bd77
Committed: https:/
Submitter: Zuul
Branch: master
commit e8b6b0bc78ec229 803d1d27f8a4706 e2c425bd77
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
Closes-Bug: #1816468