ext4 filesystem is never created in object-storage disk provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Won't Fix
|
Undecided
|
Samuel Cassiba |
Bug Description
Hi,
I was about to report that in stable/juno the disk provider never actually creates the filesystems. The code in providers/disk.rb lines 244-255 checks "unless" against .exitstatus, but the Integers returned by .exitstatus will always return true (line 246 for xfs and 251 for ext4).
* https:/
* https:/
I notice, however, that this has been fixed in stable/kilo, but for xfs only:
* https:/
Kilo's ext4 line still checks whether .exitstatus is true:
* https:/
This should be changed to match the xfs line that checks for ".error?"
Fix proposed to branch: master /review. openstack. org/292920
Review: https:/