Swift-storage setup fails with mounted disks and overwrite=True

Bug #1796651 reported by Peter Sabaini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Storage Charm
Won't Fix
Undecided
Unassigned

Bug Description

With already-mounted disks swift-storage fails to add devices even with overwrite=True

Afaict this is because in lib/swift_storage_utils.py:L496 is_device_mounted(dev) is called before consulting "reformat", thus the device never gets added to the prepared_devices list

Swift-storage charm from 18.05

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

I'm closing this as invalid as the charms now take an entirely different approach to cleaning disks, and the swift-storage charm should as well, as documented in https://bugs.launchpad.net/charm-swift-storage/+bug/1819700

Changed in charm-swift-storage:
status: New → Won't Fix
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

s/invalid/won't fix

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.