)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Masahito Muroi \u003cmuroi.masahito@lab.ntt.co.jp\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-10-30 18:07:50 +0900"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec: Support extra specs in instance reservaiton"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Partially Implements: blueprint flavors-extra-specs"},{"line_number":10,"context_line":"Change-Id: I3a7caceafbaad679d18263b2692791d276c1dd57"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f4b6375_7b83c305","line":7,"range":{"start_line":7,"start_character":38,"end_line":7,"end_character":49},"updated":"2017-10-31 09:36:52.000000000","message":"reservation","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Masahito Muroi \u003cmuroi.masahito@lab.ntt.co.jp\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-10-30 18:07:50 +0900"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec: Support extra specs in instance reservaiton"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Partially Implements: blueprint flavors-extra-specs"},{"line_number":10,"context_line":"Change-Id: I3a7caceafbaad679d18263b2692791d276c1dd57"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f4b6375_6974ddcf","line":7,"range":{"start_line":7,"start_character":38,"end_line":7,"end_character":49},"in_reply_to":"3f4b6375_7b83c305","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"}],"doc/source/devref/specs/queens/flavors-extra-specs.rst":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":20,"context_line":"reserved or not based on the user\u0027s request."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The demands for reserved instances are not only size of its flavor and amount,"},{"line_number":23,"context_line":"but specific hardware spec or features. For instances, some users want to reserve"},{"line_number":24,"context_line":"GPU instances. However, the instance reservation plugin doesn\u0027t support extra specs"},{"line_number":25,"context_line":"as a parameter."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_9b08bf91","line":23,"range":{"start_line":23,"start_character":40,"end_line":23,"end_character":53},"updated":"2017-10-31 09:36:52.000000000","message":"s/For instances/For example/\n\nThis is so that we don\u0027t confuse \"example\" instance and \"VM\" instance.","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":20,"context_line":"reserved or not based on the user\u0027s request."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The demands for reserved instances are not only size of its flavor and amount,"},{"line_number":23,"context_line":"but specific hardware spec or features. For instances, some users want to reserve"},{"line_number":24,"context_line":"GPU instances. However, the instance reservation plugin doesn\u0027t support extra specs"},{"line_number":25,"context_line":"as a parameter."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_a9477577","line":23,"range":{"start_line":23,"start_character":40,"end_line":23,"end_character":53},"in_reply_to":"3f4b6375_9b08bf91","updated":"2017-11-02 08:53:03.000000000","message":"That\u0027s right. Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"For NFV area, some kinds of instances need to run on specific hypervisors, like"},{"line_number":31,"context_line":"DPDK, SR-IOV or etc. If the instance reservation doesn\u0027t support extra specs,"},{"line_number":32,"context_line":"reserved instances could be scheduled to non-DPDK hypervisors though the user want"},{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_fbf2139a","line":31,"range":{"start_line":31,"start_character":6,"end_line":31,"end_character":20},"updated":"2017-10-31 09:36:52.000000000","message":"s/SR-IOV or etc./SR-IOV, etc./","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"For NFV area, some kinds of instances need to run on specific hypervisors, like"},{"line_number":31,"context_line":"DPDK, SR-IOV or etc. If the instance reservation doesn\u0027t support extra specs,"},{"line_number":32,"context_line":"reserved instances could be scheduled to non-DPDK hypervisors though the user want"},{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_e9368d03","line":31,"range":{"start_line":31,"start_character":6,"end_line":31,"end_character":20},"in_reply_to":"3f4b6375_fbf2139a","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For HPC area, GPGPU is common in the area. So when users reserve instances,"},{"line_number":36,"context_line":"they could want to request GPU instances."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Proposed change"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_7b34e34a","line":36,"range":{"start_line":36,"start_character":5,"end_line":36,"end_character":10},"updated":"2017-10-31 09:36:52.000000000","message":"s/could/may/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For HPC area, GPGPU is common in the area. So when users reserve instances,"},{"line_number":36,"context_line":"they could want to request GPU instances."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Proposed change"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_c93751fe","line":36,"range":{"start_line":36,"start_character":5,"end_line":36,"end_character":10},"in_reply_to":"3f4b6375_7b34e34a","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Alternatives"},{"line_number":50,"context_line":"------------"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"An user directly specifies list of hypervisors which have the specific features"},{"line_number":53,"context_line":"in a request body. Users check which hypervisors have the features before they"},{"line_number":54,"context_line":"create instance reservations, then they decide which hypervisors they want to"},{"line_number":55,"context_line":"use."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_1b228f02","line":52,"range":{"start_line":52,"start_character":27,"end_line":52,"end_character":31},"updated":"2017-10-31 09:36:52.000000000","message":"s/list/the list/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Alternatives"},{"line_number":50,"context_line":"------------"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"An user directly specifies list of hypervisors which have the specific features"},{"line_number":53,"context_line":"in a request body. Users check which hypervisors have the features before they"},{"line_number":54,"context_line":"create instance reservations, then they decide which hypervisors they want to"},{"line_number":55,"context_line":"use."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_8925d9c4","line":52,"range":{"start_line":52,"start_character":27,"end_line":52,"end_character":31},"in_reply_to":"3f4b6375_1b228f02","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":54,"context_line":"create instance reservations, then they decide which hypervisors they want to"},{"line_number":55,"context_line":"use."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"This approach could be easier to implement than the proposed change since what"},{"line_number":58,"context_line":"Blazar needs to do is just pick up hypervisors from the list.  However, the"},{"line_number":59,"context_line":"admin can change ComputeHostExtraCapability anytime. When a specific feature"},{"line_number":60,"context_line":"users want to use is changed, the user have to send a new list of hypervisors"},{"line_number":61,"context_line":"again."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_5b5ec776","line":61,"range":{"start_line":57,"start_character":0,"end_line":61,"end_character":6},"updated":"2017-10-31 09:36:52.000000000","message":"Additionally, a cloud may be configured to forbid users from looking up hosts and their extra capabilities.","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":54,"context_line":"create instance reservations, then they decide which hypervisors they want to"},{"line_number":55,"context_line":"use."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"This approach could be easier to implement than the proposed change since what"},{"line_number":58,"context_line":"Blazar needs to do is just pick up hypervisors from the list.  However, the"},{"line_number":59,"context_line":"admin can change ComputeHostExtraCapability anytime. When a specific feature"},{"line_number":60,"context_line":"users want to use is changed, the user have to send a new list of hypervisors"},{"line_number":61,"context_line":"again."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_29282595","line":61,"range":{"start_line":57,"start_character":0,"end_line":61,"end_character":6},"in_reply_to":"3f4b6375_5b5ec776","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":64,"context_line":"Data model impact"},{"line_number":65,"context_line":"-----------------"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_7bd063ca","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":11},"updated":"2017-10-31 09:36:52.000000000","message":"s/extra_specs/An extra_specs/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":64,"context_line":"Data model impact"},{"line_number":65,"context_line":"-----------------"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_091b2981","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":11},"in_reply_to":"3f4b6375_7bd063ca","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":65,"context_line":"-----------------"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_5bd367d6","line":68,"range":{"start_line":68,"start_character":7,"end_line":68,"end_character":10},"updated":"2017-10-31 09:36:52.000000000","message":"s/raw/the raw/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":65,"context_line":"-----------------"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_e91fad69","line":68,"range":{"start_line":68,"start_character":7,"end_line":68,"end_character":10},"in_reply_to":"3f4b6375_5bd367d6","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  .. sourcecode:: none"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_1bd5efb7","line":70,"range":{"start_line":70,"start_character":49,"end_line":70,"end_character":58},"updated":"2017-10-31 09:36:52.000000000","message":"s/following/as follows/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":67,"context_line":"extra_specs column is added to the InstanceReservations table.  This column"},{"line_number":68,"context_line":"stores raw string of the extra_specs sent by users."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The change for the InstanceReservations table is following:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  .. sourcecode:: none"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_c910715c","line":70,"range":{"start_line":70,"start_character":49,"end_line":70,"end_character":58},"in_reply_to":"3f4b6375_1bd5efb7","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":74,"context_line":"     ALTER TABLE instance_reservations ADD"},{"line_number":75,"context_line":"         extra_specs MEDIUMTEXT AFTER affinity;"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Null is assigned to the column for the upgrade from Pike to later."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_bbeffb85","line":77,"range":{"start_line":77,"start_character":0,"end_line":77,"end_character":4},"updated":"2017-10-31 09:36:52.000000000","message":"s/Null/NULL/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":74,"context_line":"     ALTER TABLE instance_reservations ADD"},{"line_number":75,"context_line":"         extra_specs MEDIUMTEXT AFTER affinity;"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Null is assigned to the column for the upgrade from Pike to later."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_a915354b","line":77,"range":{"start_line":77,"start_character":0,"end_line":77,"end_character":4},"in_reply_to":"3f4b6375_bbeffb85","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":160,"context_line":"Other end user impact"},{"line_number":161,"context_line":"---------------------"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"python-blazar client needs to support extra_specs key in lease"},{"line_number":164,"context_line":"handling commands."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_bb949be9","line":163,"range":{"start_line":163,"start_character":50,"end_line":163,"end_character":53},"updated":"2017-10-31 09:36:52.000000000","message":"s/key/parameter/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":160,"context_line":"Other end user impact"},{"line_number":161,"context_line":"---------------------"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"python-blazar client needs to support extra_specs key in lease"},{"line_number":164,"context_line":"handling commands."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_890ef938","line":163,"range":{"start_line":163,"start_character":50,"end_line":163,"end_character":53},"in_reply_to":"3f4b6375_bb949be9","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":194,"context_line":"----------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add extra_specs column to InstanceReservation table"},{"line_number":197,"context_line":"* Support extra_specs key in instance reservaiton plugin"},{"line_number":198,"context_line":"* Support extra_specs key at python-blazarclient"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_3b030b45","line":197,"range":{"start_line":197,"start_character":38,"end_line":197,"end_character":49},"updated":"2017-10-31 09:36:52.000000000","message":"s/reservaiton/reservation/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":194,"context_line":"----------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add extra_specs column to InstanceReservation table"},{"line_number":197,"context_line":"* Support extra_specs key in instance reservaiton plugin"},{"line_number":198,"context_line":"* Support extra_specs key at python-blazarclient"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_29014507","line":197,"range":{"start_line":197,"start_character":38,"end_line":197,"end_character":49},"in_reply_to":"3f4b6375_3b030b45","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"962bc503ab10437da6715c43de51f7d542198399","unresolved":false,"context_lines":[{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add extra_specs column to InstanceReservation table"},{"line_number":197,"context_line":"* Support extra_specs key in instance reservaiton plugin"},{"line_number":198,"context_line":"* Support extra_specs key at python-blazarclient"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Dependencies"},{"line_number":201,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_9b979fec","line":198,"range":{"start_line":198,"start_character":22,"end_line":198,"end_character":25},"updated":"2017-10-31 09:36:52.000000000","message":"s/key/parameter/","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"3b637fab9a3dd80b83afd62315831d7fef57b281","unresolved":false,"context_lines":[{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add extra_specs column to InstanceReservation table"},{"line_number":197,"context_line":"* Support extra_specs key in instance reservaiton plugin"},{"line_number":198,"context_line":"* Support extra_specs key at python-blazarclient"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Dependencies"},{"line_number":201,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f4b6375_1b000c01","line":198,"range":{"start_line":198,"start_character":22,"end_line":198,"end_character":25},"in_reply_to":"3f4b6375_9b979fec","updated":"2017-11-02 08:53:03.000000000","message":"Done","commit_id":"b4bf5664fd3f148610fb40088b13fe2062000055"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"162bb2fb90f29eebd002d3a5ff6e0ad3a1a5529f","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Use Cases"},{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"For NFV area, some kinds of instances need to run on specific hypervisors, like"},{"line_number":31,"context_line":"DPDK, SR-IOV, etc. If the instance reservation doesn\u0027t support extra specs,"},{"line_number":32,"context_line":"reserved instances could be scheduled to non-DPDK hypervisors though the user want"},{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For HPC area, GPGPU is common in the area. So when users reserve instances,"},{"line_number":36,"context_line":"they may want to request GPU instances."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f4b6375_7518201d","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":49},"updated":"2017-11-02 16:10:44.000000000","message":"AFAIK, Nova flavors have to be configured/customized using extra specs to guarantee predictable high performant NFV workloads. Examples of relevant flavor extra spec keys (in NFV context) are: hw:cpu_policy, hw:cpu_thread_policy, hw:mem_page_size, hw:numa_mempolicy. \n\nIs this the correct understanding that this work will add support for flavor extra specs only? \n\nI would suggest to add a reference to https://docs.openstack.org/nova/latest/user/flavors.html#extra-specs","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"8f32c4f07dcef0a4d033012315f547c0027d8bec","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Use Cases"},{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"For NFV area, some kinds of instances need to run on specific hypervisors, like"},{"line_number":31,"context_line":"DPDK, SR-IOV, etc. If the instance reservation doesn\u0027t support extra specs,"},{"line_number":32,"context_line":"reserved instances could be scheduled to non-DPDK hypervisors though the user want"},{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For HPC area, GPGPU is common in the area. So when users reserve instances,"},{"line_number":36,"context_line":"they may want to request GPU instances."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff82abbf_aa3765e3","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":49},"in_reply_to":"1f485f77_ea31eca3","updated":"2017-11-23 13:59:32.000000000","message":"OK. Let\u0027s revisit this once we start consuming (Nova) placement API.\n\nPlease go ahead with what you had in mind.\n\nThanks.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"dce430334856dbf083ee72c0a58e674d2e57f7c4","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Use Cases"},{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"For NFV area, some kinds of instances need to run on specific hypervisors, like"},{"line_number":31,"context_line":"DPDK, SR-IOV, etc. If the instance reservation doesn\u0027t support extra specs,"},{"line_number":32,"context_line":"reserved instances could be scheduled to non-DPDK hypervisors though the user want"},{"line_number":33,"context_line":"the instance to be scheduled to DPDK hypervisors."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For HPC area, GPGPU is common in the area. So when users reserve instances,"},{"line_number":36,"context_line":"they may want to request GPU instances."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_ea31eca3","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":49},"in_reply_to":"3f4b6375_7518201d","updated":"2017-11-15 07:46:51.000000000","message":"This spec tended to support \"extra_specs\" that only matches to computehost_extra_capabilities[1].  The extra_capabilities can store any information, e.g. hypervisor\u0027s hardware info not supported by Nova flavor. \n\nDo you think this spec should support both \"extra_specs\" for extra_capabilities and \"extra_specs\" for Nova flavor\u0027s extra_specs? or either one?  If this BP supports both, it\u0027s good to use different name for each.\n\n1. https://github.com/openstack/blazar/blob/master/blazar/db/sqlalchemy/models.py#L229","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"2fad7cb4a95b6844279340d21e94d5005380809e","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Instance reservation plugin supports extra_specs key in its request body."},{"line_number":42,"context_line":"See REST API impact section for the change of the request body."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an user reserves instances with extra_specs, Blazar picks up hypervisors"},{"line_number":45,"context_line":"which can accomodate the requested flavor and the extra_specs. The extra_specs"},{"line_number":46,"context_line":"matches ComputeHostExtraCapability."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_043822d1","line":46,"range":{"start_line":44,"start_character":50,"end_line":46,"end_character":35},"updated":"2017-11-10 08:11:45.000000000","message":"Just for confirming my understanding. The BlazarFilter will be changed to do this, right?","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"dce430334856dbf083ee72c0a58e674d2e57f7c4","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Instance reservation plugin supports extra_specs key in its request body."},{"line_number":42,"context_line":"See REST API impact section for the change of the request body."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an user reserves instances with extra_specs, Blazar picks up hypervisors"},{"line_number":45,"context_line":"which can accomodate the requested flavor and the extra_specs. The extra_specs"},{"line_number":46,"context_line":"matches ComputeHostExtraCapability."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_8a95d842","line":46,"range":{"start_line":44,"start_character":50,"end_line":46,"end_character":35},"in_reply_to":"1f485f77_043822d1","updated":"2017-11-15 07:46:51.000000000","message":"I don\u0027t think BlazarFilter will be changed since Blazar picks up hosts based on the extra_specs during lease-create API. Then BlazarFilter just schedules an instance to the reserved hosts.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"549e2bb64393f7712777d409abefab5368dbf8c9","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Instance reservation plugin supports extra_specs key in its request body."},{"line_number":42,"context_line":"See REST API impact section for the change of the request body."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an user reserves instances with extra_specs, Blazar picks up hypervisors"},{"line_number":45,"context_line":"which can accomodate the requested flavor and the extra_specs. The extra_specs"},{"line_number":46,"context_line":"matches ComputeHostExtraCapability."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_8d7732d5","line":46,"range":{"start_line":44,"start_character":50,"end_line":46,"end_character":35},"in_reply_to":"1f485f77_8a95d842","updated":"2017-11-15 08:47:05.000000000","message":"Got it. Make sense.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"2fad7cb4a95b6844279340d21e94d5005380809e","unresolved":false,"context_lines":[{"line_number":55,"context_line":"use."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"This approach could be easier to implement than the proposed change since what"},{"line_number":58,"context_line":"Blazar needs to do is just pick up hypervisors from the list.  However, the"},{"line_number":59,"context_line":"admin can change ComputeHostExtraCapability anytime. When a specific feature"},{"line_number":60,"context_line":"users want to use is changed, the user have to send a new list of hypervisors"},{"line_number":61,"context_line":"again. Additionally, a cloud may be configured to forbid users from looking up"},{"line_number":62,"context_line":"hosts and their extra capabilities."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_a4d14e5a","line":61,"range":{"start_line":58,"start_character":63,"end_line":61,"end_character":6},"updated":"2017-11-10 08:11:45.000000000","message":"I think your proposal has a same problem. When a user creates a lease, Blazar allocates hosts, i.e. registers records to the computehost_allocations table, based on the extra capabilities which are stored in the blazar DB. Even though the extra capabilities are updated after that, Blazar may not reallocate resources. It\u0027s a same problem you mentioned, isn\u0027t it?","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"dce430334856dbf083ee72c0a58e674d2e57f7c4","unresolved":false,"context_lines":[{"line_number":55,"context_line":"use."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"This approach could be easier to implement than the proposed change since what"},{"line_number":58,"context_line":"Blazar needs to do is just pick up hypervisors from the list.  However, the"},{"line_number":59,"context_line":"admin can change ComputeHostExtraCapability anytime. When a specific feature"},{"line_number":60,"context_line":"users want to use is changed, the user have to send a new list of hypervisors"},{"line_number":61,"context_line":"again. Additionally, a cloud may be configured to forbid users from looking up"},{"line_number":62,"context_line":"hosts and their extra capabilities."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_ca00706a","line":61,"range":{"start_line":58,"start_character":63,"end_line":61,"end_character":6},"in_reply_to":"1f485f77_a4d14e5a","updated":"2017-11-15 07:46:51.000000000","message":"Nice catch! Blazar needs to re-allocate reservation when the extra capabilities are updated.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"549e2bb64393f7712777d409abefab5368dbf8c9","unresolved":false,"context_lines":[{"line_number":55,"context_line":"use."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"This approach could be easier to implement than the proposed change since what"},{"line_number":58,"context_line":"Blazar needs to do is just pick up hypervisors from the list.  However, the"},{"line_number":59,"context_line":"admin can change ComputeHostExtraCapability anytime. When a specific feature"},{"line_number":60,"context_line":"users want to use is changed, the user have to send a new list of hypervisors"},{"line_number":61,"context_line":"again. Additionally, a cloud may be configured to forbid users from looking up"},{"line_number":62,"context_line":"hosts and their extra capabilities."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_80749969","line":61,"range":{"start_line":58,"start_character":63,"end_line":61,"end_character":6},"in_reply_to":"1f485f77_ca00706a","updated":"2017-11-15 08:47:05.000000000","message":"Yes. I described this problem at the related bug report: https://bugs.launchpad.net/blazar/+bug/1674524 .","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"162bb2fb90f29eebd002d3a5ff6e0ad3a1a5529f","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  .. sourcecode:: none"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"     ALTER TABLE instance_reservations ADD"},{"line_number":76,"context_line":"         extra_specs MEDIUMTEXT AFTER affinity;"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"NULL is assigned to the column for the upgrade from Pike to later."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f4b6375_f5d9b055","line":76,"range":{"start_line":75,"start_character":5,"end_line":76,"end_character":47},"updated":"2017-11-02 16:10:44.000000000","message":"Are you converting extra_specs dictionary to string and storing this string value in the InstanceReservations table?","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"8f32c4f07dcef0a4d033012315f547c0027d8bec","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  .. sourcecode:: none"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"     ALTER TABLE instance_reservations ADD"},{"line_number":76,"context_line":"         extra_specs MEDIUMTEXT AFTER affinity;"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"NULL is assigned to the column for the upgrade from Pike to later."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff82abbf_aa3c45bf","line":76,"range":{"start_line":75,"start_character":5,"end_line":76,"end_character":47},"in_reply_to":"1f485f77_2a44a4b6","updated":"2017-11-23 13:59:32.000000000","message":"OK. As agreed on Tuesday during Blazar IRC meeting, let\u0027s rename \"extra_specs\" by \"resource_properties\".\n\nThanks.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"dce430334856dbf083ee72c0a58e674d2e57f7c4","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  .. sourcecode:: none"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"     ALTER TABLE instance_reservations ADD"},{"line_number":76,"context_line":"         extra_specs MEDIUMTEXT AFTER affinity;"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"NULL is assigned to the column for the upgrade from Pike to later."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f485f77_2a44a4b6","line":76,"range":{"start_line":75,"start_character":5,"end_line":76,"end_character":47},"in_reply_to":"3f4b6375_f5d9b055","updated":"2017-11-15 07:46:51.000000000","message":"That\u0027s what I\u0027m thinking.","commit_id":"02be2b9524ccf5c2778215d22efe13ef3a8c2bc5"}]}
