Activity log for bug #1064913

Date Who What changed Old value New value Message
2012-10-10 09:03:39 Sergio Rubio bug added bug
2012-10-10 09:31:21 Sergio Rubio description I guess it's related to the drive.isalnum() check in swift/common/constraints.py returning false when using FS UUID instead of a block device name like sdXX I could be wrong, but paths like /dev/sdX aren't guaranteed to be persistent with some storage configurations(1) so using UUIDs for drives would be a nice feature to have. The workaround is either to disable mount_check in /etc/swift/*-server.conf or comment out the: if not drive.isalnum(): return False in swift/common/constraints.py. Tested using Ubuntu Precise's Swift packages: python-swift: Installed: 1.4.8-0ubuntu2 Candidate: 1.4.8-0ubuntu2 Version table: *** 1.4.8-0ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status (1) "4. Persistent Naming" https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/sect-Virtualization-Virtualized_block_devices-Configuring_persistent_storage_in_Red_Hat_Enterprise_Linux_5.html I guess it's related to the drive.isalnum() check in swift/common/constraints.py returning false when using FS UUID instead of a block device name like sdXX I could be wrong, but paths like /dev/sdX aren't guaranteed to be persistent with some storage configurations(1) so using UUIDs for drives would be a nice feature to have. The workaround is either to disable mount_check in /etc/swift/*-server.conf or comment out the: if not drive.isalnum():     return False in swift/common/constraints.py. Tested using Ubuntu Precise's Swift packages: python-swift:   Installed: 1.4.8-0ubuntu2   Candidate: 1.4.8-0ubuntu2   Version table:  *** 1.4.8-0ubuntu2 0         500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages         100 /var/lib/dpkg/status (1) "4. Persistent Naming" https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/persistent_naming.html
2012-10-26 18:00:11 Samuel Merritt swift: status New Fix Committed
2012-11-07 15:52:00 Thierry Carrez swift: status Fix Committed Fix Released
2012-11-07 15:52:00 Thierry Carrez swift: milestone 1.7.5