When the location_info is parsed and `lvm_mirrors` extracted, it is not
being converted to int. This causes some boolean checks to return True
even when there are not mirrors enabled because of the u'0'.
Closes-bug: #1258133
(cherry picked from commit 1dff30492f0ce1df3ef01ccc21353248a7207709)
Reviewed: https:/ /review. openstack. org/60957 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=a61b9678f1a bdd14964581cd49 e7a25a7635749e
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit a61b9678f1abdd1 4964581cd49e7a2 5a7635749e
Author: Flavio Percoco <email address hidden>
Date: Thu Dec 5 16:14:39 2013 +0100
Convert lvm_mirrors to int
When the location_info is parsed and `lvm_mirrors` extracted, it is not
being converted to int. This causes some boolean checks to return True
even when there are not mirrors enabled because of the u'0'.
Closes-bug: #1258133 f3ef01ccc213532 48a7207709)
(cherry picked from commit 1dff30492f0ce1d
Change-Id: I67c463d9f139fe 326bbcab4d193c4 5459129b514