Skip to content

Commit 52d9dd2

Browse files
committed
doc: allow_resize_to_same_host needs nova-api restarted
[DEFAULT]allow_resize_to_same host is a bit weird. It controls scheduling, is set in the [DEFAULT] section, but needs nova-api to be restarted for changes to take effect (the API layer calls compute_api.resize(), and the allow_resize_to_same_host check is performed there, and not in the scheduler). This patch adds a small blurn to the config help text to explain this. Change-Id: I5393dfaeaf123d28bb1889635792ee1ece2c5295
1 parent 3545356 commit 52d9dd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nova/conf/compute.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
testing in single-host environments. By default it is not allowed
5252
to resize to the same host. Setting this option to true will add
5353
the same host to the destination options. Also set to true
54-
if you allow the ServerGroupAffinityFilter and need to resize.
54+
if you allow the ServerGroupAffinityFilter and need to resize. For changes to
55+
this option to take effect, the nova-api service needs to be restarted.
5556
"""),
5657
cfg.ListOpt('non_inheritable_image_properties',
5758
default=['cache_in_nova', 'bittorrent'],

0 commit comments

Comments
 (0)