Description of problem: When using packstack to deploy swift with xfs storage the following error occurs 2013-01-30 18:34:06::ERROR::ospluginutils::135::root:: Error during remote puppet apply of /var/tmp/packstack/20130130-1830/manifests/172.16.10.152_swift.pp 2013-01-30 18:34:06::ERROR::ospluginutils::136::root:: [0;33mwarning: Scope(Swift::Storage::Server[6002]): swift storage server account must specify account-server[0m [0;33mwarning: Scope(Swift::Storage::Server[6001]): swift storage server container must specify container-server[0m [0;33mwarning: Scope(Swift::Storage::Server[6000]): swift storage server object must specify object-server[0m [0;36mnotice: /Stage[main]//Exec[setenforce 0]/returns: executed successfully[0m [0;36mnotice: /Stage[main]//Swift::Storage::Loopback[device1]/Swift::Storage::Xfs[device1]/Swift::Storage::Mount[device1]/Exec[mount_device1]/returns: /dev/device1: No such file or directory[0m [1;35merr: /Stage[main]//Swift::Storage::Loopback[device1]/Swift::Storage::Xfs[device1]/Swift::Storage::Mount[device1]/Exec[mount_device1]/returns: change from notrun to 0 failed: mount /srv/node/device1 returned 32 instead of one of [0] at /var/tmp/packstack/20130130-1830/modules/swift/manifests/storage/mount.pp:49[0m [0;36mnotice: /Stage[main]//Swift::Storage::Loopback[device1]/Swift::Storage::Xfs[device1]/Swift::Storage::Mount[device1]/Exec[fix_mount_permissions_device1]: Dependency Exec[mount_device1] has failures: true[0m [0;33mwarning: /Stage[main]//Swift::Storage::Loopback[device1]/Swift::Storage::Xfs[device1]/Swift::Storage::Mount[device1]/Exec[fix_mount_permissions_device1]: Skipping because of failed dependencies[0m [0;36mnotice: Finished catalog run in 146.22 seconds[0m 2013-01-30 18:34:06::ERROR::run_setup::814::root:: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 806, in main _main(confFile) File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 593, in _main runSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 569, in runSequences controller.runAllSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 57, in runAllSequences sequence.run() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 154, in run step.run() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run function() File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 123, in applyPuppetManifest waitforpuppet(currently_running) File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 111, in waitforpuppet validate_puppet_logfile(log) File "/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py", line 137, in validate_puppet_logfile raise PackStackError(message) PackStackError: Error during puppet run : err: /Stage[main]//Swift::Storage::Loopback[device1]/Swift::Storage::Xfs[device1]/Swift::Storage::Mount[device1]/Exec[mount_device1]/returns: change from notrun to 0 failed: mount /srv/node/device1 returned 32 instead of one of [0] at /var/tmp/packstack/20130130-1830/modules/swift/manifests/storage/mount.pp:49[0m In answer file : CONFIG_SWIFT_STORAGE_FSTYPE=xfs Originally reported here https://github.com/fedora-openstack/packstack/issues/51
Fix submitted upstream https://review.openstack.org/20915 Cherry picked this commit from upstream puppet module https://github.com/puppetlabs/puppetlabs-swift/commit/b379804ca98549c74a64cc80c1ebc335d29f73e0