We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc5533f + 4e54a90 commit 01a9f08Copy full SHA for 01a9f08
qa/tasks/ceph.py
@@ -985,7 +985,9 @@ def cluster(ctx, config):
985
try:
986
remote.run(args=['yes', run.Raw('|')] + ['sudo'] + mkfs + [dev])
987
except run.CommandFailedError:
988
- # Newer btfs-tools doesn't prompt for overwrite, use -f
+ if fs != 'btrfs':
989
+ raise
990
+ # Newer btrfs-tools doesn't prompt for overwrite, use -f
991
if '-f' not in mount_options:
992
mkfs_options.append('-f')
993
mkfs = ['mkfs.%s' % fs] + mkfs_options
0 commit comments