Skip to content

Commit

Permalink
Bail autotune if uuid is None
Browse files Browse the repository at this point in the history
tune_dev logs a debug message saying it cannot
continue and then tries to continue.

Closes-Bug: 1660240
Change-Id: I62317d80f9249030dcf1d9ccd80e4340ad8594a1
  • Loading branch information
cholcombe973 committed Jan 30, 2017
1 parent f118436 commit 69b691e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ceph/__init__.py
Expand Up @@ -390,6 +390,7 @@ def tune_dev(block_dev):
if uuid is None:
log('block device {} uuid is None. Unable to save to '
'hdparm.conf'.format(block_dev), level=DEBUG)
return
save_settings_dict = {}
log('Tuning device {}'.format(block_dev))
status_set('maintenance', 'Tuning device {}'.format(block_dev))
Expand Down

0 comments on commit 69b691e

Please sign in to comment.