)]}'
{"doc/source/admin/configuration/schedulers.rst":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"02c24407814ea33df3319322781a4ff1421ddfea","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":70,"id":"3fa7e38b_670b567b","updated":"2019-12-13 12:02:19.000000000","message":"unrelated: I really need to rework this overly complex, fugly doc","commit_id":"18179aee4ec933013bae7097fd3c2cb6023b511c"}],"doc/source/user/filter-scheduler.rst":[{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"13fa6a1ac40b2377df6e1b8556b2fac0b5cf5271","unresolved":false,"context_lines":[{"line_number":510,"context_line":""},{"line_number":511,"context_line":"* |CrossCellWeigher| Weighs hosts based on which cell they are in. \"Local\""},{"line_number":512,"context_line":"  cells are preferred when moving an instance. In other words, select a host"},{"line_number":513,"context_line":"  from the source cell all other things being equal. Use configuration option"},{"line_number":514,"context_line":"  :oslo.config:option:`filter_scheduler.cross_cell_move_weight_multiplier` to"},{"line_number":515,"context_line":"  control the weight. If per-aggregate value with the key"},{"line_number":516,"context_line":"  `cross_cell_move_weight_multiplier` is found, this value would be chosen"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9fdfeff1_de6fcd25","line":513,"range":{"start_line":513,"start_character":23,"end_line":513,"end_character":51},"updated":"2019-02-13 07:33:32.000000000","message":"don\u0027t get what this means.","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4c2e844ab31a822a7f79fbc8d9c1ff5e1e4a412a","unresolved":false,"context_lines":[{"line_number":510,"context_line":""},{"line_number":511,"context_line":"* |CrossCellWeigher| Weighs hosts based on which cell they are in. \"Local\""},{"line_number":512,"context_line":"  cells are preferred when moving an instance. In other words, select a host"},{"line_number":513,"context_line":"  from the source cell all other things being equal. Use configuration option"},{"line_number":514,"context_line":"  :oslo.config:option:`filter_scheduler.cross_cell_move_weight_multiplier` to"},{"line_number":515,"context_line":"  control the weight. If per-aggregate value with the key"},{"line_number":516,"context_line":"  `cross_cell_move_weight_multiplier` is found, this value would be chosen"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9fdfeff1_696060a6","line":513,"range":{"start_line":513,"start_character":23,"end_line":513,"end_character":51},"in_reply_to":"9fdfeff1_497f9c65","updated":"2019-02-13 17:33:36.000000000","message":"I should probably just remove this sentence to avoid confusion.","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"79960a0d5b9b4f81efcf10823a596408d8705493","unresolved":false,"context_lines":[{"line_number":510,"context_line":""},{"line_number":511,"context_line":"* |CrossCellWeigher| Weighs hosts based on which cell they are in. \"Local\""},{"line_number":512,"context_line":"  cells are preferred when moving an instance. In other words, select a host"},{"line_number":513,"context_line":"  from the source cell all other things being equal. Use configuration option"},{"line_number":514,"context_line":"  :oslo.config:option:`filter_scheduler.cross_cell_move_weight_multiplier` to"},{"line_number":515,"context_line":"  control the weight. If per-aggregate value with the key"},{"line_number":516,"context_line":"  `cross_cell_move_weight_multiplier` is found, this value would be chosen"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9fdfeff1_60893b73","line":513,"range":{"start_line":513,"start_character":23,"end_line":513,"end_character":51},"in_reply_to":"9fdfeff1_696060a6","updated":"2019-02-14 16:54:26.000000000","message":"Done","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"37f36fbaa4ef9232e9e3d87ef309972d7164206c","unresolved":false,"context_lines":[{"line_number":510,"context_line":""},{"line_number":511,"context_line":"* |CrossCellWeigher| Weighs hosts based on which cell they are in. \"Local\""},{"line_number":512,"context_line":"  cells are preferred when moving an instance. In other words, select a host"},{"line_number":513,"context_line":"  from the source cell all other things being equal. Use configuration option"},{"line_number":514,"context_line":"  :oslo.config:option:`filter_scheduler.cross_cell_move_weight_multiplier` to"},{"line_number":515,"context_line":"  control the weight. If per-aggregate value with the key"},{"line_number":516,"context_line":"  `cross_cell_move_weight_multiplier` is found, this value would be chosen"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9fdfeff1_497f9c65","line":513,"range":{"start_line":513,"start_character":23,"end_line":513,"end_character":51},"in_reply_to":"9fdfeff1_de6fcd25","updated":"2019-02-13 17:31:42.000000000","message":"All other weights being the same, i.e. if we\u0027re weighing heavier by RAM, for example, and we have a host in the source cell and a host in the target cell and the RAM weight is the same, then by default we\u0027d want to pick the host in the source cell.","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"}],"nova/conf/scheduler.py":[{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"6408f39c0b1da72954bf45e14df6aac3d9615cdb","unresolved":false,"context_lines":[{"line_number":525,"context_line":"        help\u003d\"\"\""},{"line_number":526,"context_line":"Multiplier used for weighing hosts during a cross-cell move."},{"line_number":527,"context_line":""},{"line_number":528,"context_line":"This option determines how much weight is placed on a host which is within the"},{"line_number":529,"context_line":"same source cell when moving a server, for example during cross-cell resize."},{"line_number":530,"context_line":"By default, when moving an instance, the scheduler will prefer hosts within"},{"line_number":531,"context_line":"the same cell since cross-cell move operations can be slower and riskier due to"},{"line_number":532,"context_line":"the complicated nature of cross-cell migrations."},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"This option is only used by the FilterScheduler and its subclasses; if you use"},{"line_number":535,"context_line":"a different scheduler, this option has no effect. Similarly, if your cloud is"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_62fe2d08","line":532,"range":{"start_line":528,"start_character":0,"end_line":532,"end_character":48},"updated":"2018-11-07 03:10:43.000000000","message":"To be honest, if I look at the configuration name, I\u0027d think that higher value means more cross-cell probablily","commit_id":"3bd146390601497a06a74ef655e951cbdbace6fb"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"f2cc58d40474d2b48db2c5490cfd007997604b35","unresolved":false,"context_lines":[{"line_number":525,"context_line":"        help\u003d\"\"\""},{"line_number":526,"context_line":"Multiplier used for weighing hosts during a cross-cell move."},{"line_number":527,"context_line":""},{"line_number":528,"context_line":"This option determines how much weight is placed on a host which is within the"},{"line_number":529,"context_line":"same source cell when moving a server, for example during cross-cell resize."},{"line_number":530,"context_line":"By default, when moving an instance, the scheduler will prefer hosts within"},{"line_number":531,"context_line":"the same cell since cross-cell move operations can be slower and riskier due to"},{"line_number":532,"context_line":"the complicated nature of cross-cell migrations."},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"This option is only used by the FilterScheduler and its subclasses; if you use"},{"line_number":535,"context_line":"a different scheduler, this option has no effect. Similarly, if your cloud is"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_2841ec62","line":532,"range":{"start_line":528,"start_character":0,"end_line":532,"end_character":48},"in_reply_to":"3f79a3b5_62fe2d08","updated":"2018-11-07 14:47:30.000000000","message":"Naming is hard, and weighers are confusing. So I\u0027m open to suggestions here. Would \"same_cell_weight_multiplier\" make more sense?","commit_id":"3bd146390601497a06a74ef655e951cbdbace6fb"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"13fa6a1ac40b2377df6e1b8556b2fac0b5cf5271","unresolved":false,"context_lines":[{"line_number":542,"context_line":"by setting the aggregate metadata key with the same name"},{"line_number":543,"context_line":"(cross_cell_move_weight_multiplier)."},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"Possible values:"},{"line_number":546,"context_line":""},{"line_number":547,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":548,"context_line":"  ratio for this weigher."},{"line_number":549,"context_line":"\"\"\"),"},{"line_number":550,"context_line":"    cfg.BoolOpt("},{"line_number":551,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":13,"id":"9fdfeff1_5e5d1d77","line":548,"range":{"start_line":545,"start_character":0,"end_line":548,"end_character":25},"updated":"2019-02-13 07:33:32.000000000","message":"should we add any info about negative value makes cross-cell preference?","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"79960a0d5b9b4f81efcf10823a596408d8705493","unresolved":false,"context_lines":[{"line_number":542,"context_line":"by setting the aggregate metadata key with the same name"},{"line_number":543,"context_line":"(cross_cell_move_weight_multiplier)."},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"Possible values:"},{"line_number":546,"context_line":""},{"line_number":547,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":548,"context_line":"  ratio for this weigher."},{"line_number":549,"context_line":"\"\"\"),"},{"line_number":550,"context_line":"    cfg.BoolOpt("},{"line_number":551,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":13,"id":"9fdfeff1_20425310","line":548,"range":{"start_line":545,"start_character":0,"end_line":548,"end_character":25},"in_reply_to":"9fdfeff1_5e5d1d77","updated":"2019-02-14 16:54:26.000000000","message":"Done","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"37f36fbaa4ef9232e9e3d87ef309972d7164206c","unresolved":false,"context_lines":[{"line_number":542,"context_line":"by setting the aggregate metadata key with the same name"},{"line_number":543,"context_line":"(cross_cell_move_weight_multiplier)."},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"Possible values:"},{"line_number":546,"context_line":""},{"line_number":547,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":548,"context_line":"  ratio for this weigher."},{"line_number":549,"context_line":"\"\"\"),"},{"line_number":550,"context_line":"    cfg.BoolOpt("},{"line_number":551,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":13,"id":"9fdfeff1_69e94018","line":548,"range":{"start_line":545,"start_character":0,"end_line":548,"end_character":25},"in_reply_to":"9fdfeff1_5e5d1d77","updated":"2019-02-13 17:31:42.000000000","message":"Yeah probably.","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d02e89fdc62b6c19a1cd571dc98bc31e1893cdec","unresolved":false,"context_lines":[{"line_number":542,"context_line":"by setting the aggregate metadata key with the same name"},{"line_number":543,"context_line":"(cross_cell_move_weight_multiplier)."},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"Possible values:"},{"line_number":546,"context_line":""},{"line_number":547,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":548,"context_line":"  ratio for this weigher."},{"line_number":549,"context_line":"\"\"\"),"},{"line_number":550,"context_line":"    cfg.BoolOpt("},{"line_number":551,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":13,"id":"9fdfeff1_09c3d48a","line":548,"range":{"start_line":545,"start_character":0,"end_line":548,"end_character":25},"in_reply_to":"9fdfeff1_69e94018","updated":"2019-02-13 17:32:42.000000000","message":"We\u0027d also want a test for that.","commit_id":"7e47ded99b98a3e52795c3eb51391174ec83bb50"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"60adc2f70d7fb2d3b2141d7b112a2306d8069b99","unresolved":false,"context_lines":[{"line_number":536,"context_line":"\"\"\"),"},{"line_number":537,"context_line":"    cfg.FloatOpt("},{"line_number":538,"context_line":"        \"cross_cell_move_weight_multiplier\","},{"line_number":539,"context_line":"        default\u003d1000000.0,"},{"line_number":540,"context_line":"        help\u003d\"\"\""},{"line_number":541,"context_line":"Multiplier used for weighing hosts during a cross-cell move."},{"line_number":542,"context_line":""}],"source_content_type":"text/x-python","patch_set":70,"id":"3fa7e38b_75cd2791","line":539,"range":{"start_line":539,"start_character":16,"end_line":539,"end_character":23},"updated":"2019-12-16 09:24:59.000000000","message":"I see a pattern here :)","commit_id":"18179aee4ec933013bae7097fd3c2cb6023b511c"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"02c24407814ea33df3319322781a4ff1421ddfea","unresolved":false,"context_lines":[{"line_number":560,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":561,"context_line":"  ratio for this weigher. Positive values mean the weigher will prefer"},{"line_number":562,"context_line":"  hosts within the same cell in which the instance is currently running."},{"line_number":563,"context_line":"  Negative values mean the weigher will prefer hosts in *other* cells from"},{"line_number":564,"context_line":"  which the instance is currently running."},{"line_number":565,"context_line":"\"\"\"),"},{"line_number":566,"context_line":"    cfg.BoolOpt("},{"line_number":567,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":70,"id":"3fa7e38b_076b821e","line":564,"range":{"start_line":563,"start_character":0,"end_line":564,"end_character":42},"updated":"2019-12-13 12:02:19.000000000","message":"ergo no minimum on this one","commit_id":"18179aee4ec933013bae7097fd3c2cb6023b511c"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"646437c8d02ac34a164653e965b63a2c10146960","unresolved":false,"context_lines":[{"line_number":560,"context_line":"* An integer or float value, where the value corresponds to the multiplier"},{"line_number":561,"context_line":"  ratio for this weigher. Positive values mean the weigher will prefer"},{"line_number":562,"context_line":"  hosts within the same cell in which the instance is currently running."},{"line_number":563,"context_line":"  Negative values mean the weigher will prefer hosts in *other* cells from"},{"line_number":564,"context_line":"  which the instance is currently running."},{"line_number":565,"context_line":"\"\"\"),"},{"line_number":566,"context_line":"    cfg.BoolOpt("},{"line_number":567,"context_line":"        \"shuffle_best_same_weighed_hosts\","}],"source_content_type":"text/x-python","patch_set":70,"id":"3fa7e38b_dc753cca","line":564,"range":{"start_line":563,"start_character":0,"end_line":564,"end_character":42},"in_reply_to":"3fa7e38b_076b821e","updated":"2019-12-13 14:37:09.000000000","message":"Yeah there are a few weighers that let you go negative to force either way.","commit_id":"18179aee4ec933013bae7097fd3c2cb6023b511c"}],"nova/tests/functional/test_cross_cell_migrate.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"6f3426d8a29311fd4569457b7a58ca8b70929029","unresolved":false,"context_lines":[{"line_number":764,"context_line":"    # test_cold_migrate_cross_cell_weigher_stays_in_source_cell where the"},{"line_number":765,"context_line":"    # flavor being resized to is only available, via aggregate, on the host in"},{"line_number":766,"context_line":"    # the other cell so the CrossCellWeigher is overruled by the filters."},{"line_number":767,"context_line":""},{"line_number":768,"context_line":"    # TODO(mriedem): Test a bunch of rollback scenarios."},{"line_number":769,"context_line":""},{"line_number":770,"context_line":"    # TODO(mriedem): Perform a resize with at-capacity computes, meaning that"}],"source_content_type":"text/x-python","patch_set":29,"id":"ffb9cba7_27209fb0","line":767,"updated":"2019-04-25 00:58:37.000000000","message":"Another good test would be to add the host in cell2 to an aggregate that overrides the CrossCellWeigher weight so the server moves to host2 in cell2 even though the CrossCellWeigher by default would normally pick host3 in cell1.","commit_id":"3b4afb38dcc13fab9e13a9a2aec9bf6b686014c7"}]}
