Comment 8 for bug 1276911

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

@pootow, @jamespage

I can see a divergence between the changes made by me ( lp:~niedbalski/charms/precise/swift-storage/add-fstab-persist) and the changes proposed on lp:~james-page/charms/trusty/swift-storage/fstab-persist. Particularly the following lines, this will cause the @pootow reported error:

 def determine_block_devices():
@@ -181,8 +189,7 @@
         _dev = os.path.basename(dev)
         _mp = os.path.join('/srv', 'node', _dev)
         mkdir(_mp, owner='swift', group='swift')
- mount(dev, '/srv/node/%s' % _dev, persist=True,
- filesystem="xfs")
+ mount(dev, '/srv/node/%s' % _dev, persist=True)

@jamespage, Any chance to update the code to reflect the original changes?