commit 25fd08755e363f442f4ad390c1cb7de301fc7dfb
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)
(cherry picked from commit b4b47a59c7ff1d60e69dbdea07de9163948cb680)
Reviewed: https:/ /review. opendev. org/664513 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=25fd08755e3 63f442f4ad390c1 cb7de301fc7dfb
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 25fd08755e363f4 42f4ad390c1cb7d e301fc7dfb
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) 0e69dbdea07de91 63948cb680)
Closes-Bug: #1816468
(cherry picked from commit e8b6b0bc78ec229
(cherry picked from commit b4b47a59c7ff1d6