swift-storage charm generates invalid fstab entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
When a swift-storage unit is configured using a path for a disk image as the 'block-device' configuration value (ie. block-device: '/var/local/
File "/var/lib/
yield self._hydrate_
File "/var/lib/
line.
TypeError: __init__() takes at most 7 arguments (8 given)
After modifying the script to display the values of 'line', I see that it is generating an invalid fstab entry for the script with an extra space in it on the column for options:
/var/local/
After doing a quick 'grep -nr "loop, "', I determined this is from lib/swift_
Changed in charm-swift-storage: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-swift-storage: | |
milestone: | none → 18.05 |
Changed in charm-swift-storage: | |
status: | Fix Committed → Fix Released |
Attempting to reproduce this