Merge "Warning description for autotune config."
This commit is contained in:
commit
300b1bb029
@ -317,8 +317,11 @@ options:
|
||||
Enabling this option will attempt to tune your network card sysctls and
|
||||
hard drive settings. This changes hard drive read ahead settings and
|
||||
max_sectors_kb. For the network card this will detect the link speed
|
||||
and make appropriate sysctl changes. Enabling this option should
|
||||
generally be safe.
|
||||
and make appropriate sysctl changes.
|
||||
WARNING: This option is DEPRECATED and will be removed in the next release.
|
||||
Exercise caution when enabling this feature; examine and
|
||||
confirm sysctl values are appropriate for your environment. See
|
||||
http://pad.lv/1798794 for a full discussion.
|
||||
aa-profile-mode:
|
||||
type: string
|
||||
default: 'disable'
|
||||
|
@ -317,6 +317,8 @@ def install():
|
||||
apt_update(fatal=True)
|
||||
apt_install(packages=ceph.determine_packages(), fatal=True)
|
||||
if config('autotune'):
|
||||
log('The autotune config is deprecated and planned '
|
||||
'for removal in the next release.', level=WARNING)
|
||||
tune_network_adapters()
|
||||
install_udev_rules()
|
||||
|
||||
@ -548,6 +550,8 @@ def prepare_disks_and_activate():
|
||||
config('osd-encrypt-keymanager'))
|
||||
# Make it fast!
|
||||
if config('autotune'):
|
||||
log('The autotune config is deprecated and planned '
|
||||
'for removal in the next release.', level=WARNING)
|
||||
ceph.tune_dev(dev)
|
||||
ceph.start_osds(get_devices())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user