Warning description for autotune config.
Change-Id: Ieaccc18a39d018d120ae8bd6ee62b97f30d90e41 Partial-Bug: #1798794
This commit is contained in:
parent
791461a7cf
commit
08d56bb040
|
@ -317,8 +317,11 @@ options:
|
||||||
Enabling this option will attempt to tune your network card sysctls and
|
Enabling this option will attempt to tune your network card sysctls and
|
||||||
hard drive settings. This changes hard drive read ahead settings 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
|
max_sectors_kb. For the network card this will detect the link speed
|
||||||
and make appropriate sysctl changes. Enabling this option should
|
and make appropriate sysctl changes.
|
||||||
generally be safe.
|
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:
|
aa-profile-mode:
|
||||||
type: string
|
type: string
|
||||||
default: 'disable'
|
default: 'disable'
|
||||||
|
|
|
@ -316,6 +316,8 @@ def install():
|
||||||
apt_update(fatal=True)
|
apt_update(fatal=True)
|
||||||
apt_install(packages=ceph.determine_packages(), fatal=True)
|
apt_install(packages=ceph.determine_packages(), fatal=True)
|
||||||
if config('autotune'):
|
if config('autotune'):
|
||||||
|
log('The autotune config is deprecated and planned '
|
||||||
|
'for removal in the next release.', level=WARNING)
|
||||||
tune_network_adapters()
|
tune_network_adapters()
|
||||||
install_udev_rules()
|
install_udev_rules()
|
||||||
|
|
||||||
|
@ -547,6 +549,8 @@ def prepare_disks_and_activate():
|
||||||
config('osd-encrypt-keymanager'))
|
config('osd-encrypt-keymanager'))
|
||||||
# Make it fast!
|
# Make it fast!
|
||||||
if config('autotune'):
|
if config('autotune'):
|
||||||
|
log('The autotune config is deprecated and planned '
|
||||||
|
'for removal in the next release.', level=WARNING)
|
||||||
ceph.tune_dev(dev)
|
ceph.tune_dev(dev)
|
||||||
ceph.start_osds(get_devices())
|
ceph.start_osds(get_devices())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue