)]}'
{"specs/liberty/approved/base-image-weighter-create.rst":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"fb3adeb868df2bdc068eb377e2893b8fd78a4752","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Create Nova Scheduler Base Image Weighter"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/base-image-weighter-create"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa53dc9_6b041617","line":9,"updated":"2015-04-10 13:32:36.000000000","message":"Good news, you don\u0027t need a spec for this, you can just go and write your implementation related to your blueprint.\n\nThat said, I think the information you mention in that spec is worth keeping it (at least for the proposed change and the problem description) in the blueprint description.","commit_id":"8fd9b655109faff3cb82ea4b052fa9b0be10db23"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"fb3adeb868df2bdc068eb377e2893b8fd78a4752","unresolved":false,"context_lines":[{"line_number":40,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Create a new scheduler weighter class ‘BaseImageWeigher\u0027, which gets the"},{"line_number":43,"context_line":"host.list_base_images firstly, and then judges the image used by the booting"},{"line_number":44,"context_line":"instance whether is in the host.list_base_images. If the image is in the"},{"line_number":45,"context_line":"host.list_base_images, we can return one, Otherwise return zero. In addition,"},{"line_number":46,"context_line":"Add a new CONF.base_image_weight_multiplier, default value is 1.0."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa53dc9_07121e57","line":43,"updated":"2015-04-10 13:32:36.000000000","message":"I\u0027m curious on how you will get that information from the scheduler PoV...","commit_id":"8fd9b655109faff3cb82ea4b052fa9b0be10db23"},{"author":{"_account_id":11530,"name":"zhangtralon","email":"ztralon@hotmail.com","username":"zhangtralon"},"change_message_id":"7df751c6bf8d1fb2268a35b46a44739e0bf5707c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Create a new scheduler weighter class ‘BaseImageWeigher\u0027, which gets the"},{"line_number":43,"context_line":"host.list_base_images firstly, and then judges the image used by the booting"},{"line_number":44,"context_line":"instance whether is in the host.list_base_images. If the image is in the"},{"line_number":45,"context_line":"host.list_base_images, we can return one, Otherwise return zero. In addition,"},{"line_number":46,"context_line":"Add a new CONF.base_image_weight_multiplier, default value is 1.0."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_f3b0bd8d","line":43,"in_reply_to":"9aa53dc9_07121e57","updated":"2015-04-20 11:48:58.000000000","message":"we can add a field into compute_nodes table, then update the values of list_base_images in the update_available_resource.","commit_id":"8fd9b655109faff3cb82ea4b052fa9b0be10db23"},{"author":{"_account_id":9775,"name":"Sudipta Biswas","email":"sbiswas7@in.ibm.com","username":"sudswas"},"change_message_id":"190ee02b71f92d5c1377850b2cc18dbc091b9527","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/base-image-weighter-create"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Add a new nova scheduler weighter, sort the filter hosts according to if there"},{"line_number":14,"context_line":"is the needed image in the base dir, which aims to reducing images download"},{"line_number":15,"context_line":"and speeding up booting instances for the fist time in a way."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dac4157f_941dd9bf","line":14,"updated":"2015-04-20 17:35:00.000000000","message":"What happens when you use a specific host for booting an instance?","commit_id":"21ee777a4e455cd7920ab8b53ed63f73d91a9770"},{"author":{"_account_id":11530,"name":"zhangtralon","email":"ztralon@hotmail.com","username":"zhangtralon"},"change_message_id":"b5abdf7143b4deef258903c85bca51dca63f5104","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/base-image-weighter-create"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Add a new nova scheduler weighter, sort the filter hosts according to if there"},{"line_number":14,"context_line":"is the needed image in the base dir, which aims to reducing images download"},{"line_number":15,"context_line":"and speeding up booting instances for the fist time in a way."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dac4157f_d655831d","line":14,"in_reply_to":"dac4157f_941dd9bf","updated":"2015-04-21 06:23:43.000000000","message":"when we use force_hosts, it will skip the filters and wighters.","commit_id":"21ee777a4e455cd7920ab8b53ed63f73d91a9770"},{"author":{"_account_id":9775,"name":"Sudipta Biswas","email":"sbiswas7@in.ibm.com","username":"sudswas"},"change_message_id":"190ee02b71f92d5c1377850b2cc18dbc091b9527","unresolved":false,"context_lines":[{"line_number":22,"context_line":"speed. For example, there are 10 hosts passing the filters and we want to"},{"line_number":23,"context_line":"create 10 instances using the same image, in extreme cases the 10 instances may"},{"line_number":24,"context_line":"distribute to each host uniformly, which causes downloading the same image"},{"line_number":25,"context_line":"ten times and reducing instances\u0027 booting speed with respect to no downloading"},{"line_number":26,"context_line":"image repeatedly."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dac4157f_b4db3d1b","line":25,"updated":"2015-04-20 17:35:00.000000000","message":"Will this not mean that you would end up packing the same host over and over again? In a greenfield environment - the first host chosen for deployment should be used up for all subsequent deploys right?","commit_id":"21ee777a4e455cd7920ab8b53ed63f73d91a9770"},{"author":{"_account_id":11530,"name":"zhangtralon","email":"ztralon@hotmail.com","username":"zhangtralon"},"change_message_id":"b5abdf7143b4deef258903c85bca51dca63f5104","unresolved":false,"context_lines":[{"line_number":22,"context_line":"speed. For example, there are 10 hosts passing the filters and we want to"},{"line_number":23,"context_line":"create 10 instances using the same image, in extreme cases the 10 instances may"},{"line_number":24,"context_line":"distribute to each host uniformly, which causes downloading the same image"},{"line_number":25,"context_line":"ten times and reducing instances\u0027 booting speed with respect to no downloading"},{"line_number":26,"context_line":"image repeatedly."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dac4157f_b14d7974","line":25,"in_reply_to":"dac4157f_b4db3d1b","updated":"2015-04-21 06:23:43.000000000","message":"It is right under the condition of meeting other conditions","commit_id":"21ee777a4e455cd7920ab8b53ed63f73d91a9770"}]}
