)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"3a568eaf01ec23f0ddb486b15ce962095b797b65","unresolved":false,"context_lines":[{"line_number":12,"context_line":"way for users to provide pre-packaged applications that will, for"},{"line_number":13,"context_line":"example, always have pinned CPUs or always have N serial ports. The"},{"line_number":14,"context_line":"emulator threads policy should also be configurable in the manner for"},{"line_number":15,"context_line":"the exact same reason. Correct this oversight in the spec."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The property itself has changed names since the spec was written. This"},{"line_number":18,"context_line":"is also corrected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a71b18c_be386fd4","line":15,"updated":"2016-12-06 14:43:46.000000000","message":"I\u0027m not really sure why you are persisting on that way since you can see here [1] a bunch a comments trying to explain to you why we do not want that property in image metadata.\n\nThat feature is mainly related to the host, the guest image is not going to take any advantage of it and we do not want users able to consume an additional host CPU just by adding such property in the image metadata.\n\nFor instance, we have the property \u0027realtime\u0027 only proposed in flavor extra-specs because it updates the behavior of the host CPUs, in the other side we have the property \u0027cpu_realtime_mask\u0027 in the image metadata because an application configured on the guest image will take advantage of that placement.\n\nYour examples with cpu_policy and cpu_thread_policy is based on rules related to how users want the VMs be placed on the host CPUs. Using such properties are basically adding constraints but we do not consume extra host CPUs and join with the NUMA topology placement also proposed in image metadata we provide to users possibilities to fit their applications in the best way inside the guest image.\n\nSo without exact use case and for the reasons I said, I\u0027d say it does not make any sense to add such complexity.\n\n[1] https://review.openstack.org/#/c/385023/","commit_id":"cc42fb1c5522b5e818115d8839e8e61233934396"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"b70581f3e2434b47c3828434b776b298141552e1","unresolved":false,"context_lines":[{"line_number":12,"context_line":"way for users to provide pre-packaged applications that will, for"},{"line_number":13,"context_line":"example, always have pinned CPUs or always have N serial ports. The"},{"line_number":14,"context_line":"emulator threads policy should also be configurable in the manner for"},{"line_number":15,"context_line":"the exact same reason. Correct this oversight in the spec."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The property itself has changed names since the spec was written. This"},{"line_number":18,"context_line":"is also corrected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a71b18c_786fc7fb","line":15,"in_reply_to":"3a71b18c_44c22cea","updated":"2016-12-06 16:15:53.000000000","message":"\u003e Yep, as sahid says, we explicitly did *not* specify any way to set this against the image, because setting this allows a tenant user to allocate an extra host CPU which is something only the cloud admin should be allowed todo via the flavour.\n\nRight, but this is no different to the \u0027cpu_policy\u0027 or \u0027cpu_thread_policy\u0027. The operator can prevent this by setting the flavor property to \u0027share\u0027. IMO, there are benefits in being able to package an application that\u0027s \u0027Realtime Ready (TM)\u0027 but we can only do that if we can specify these fields in the image metadata. If this is not the case, why do we have \u0027hw_cpu_policy\u0027 and \u0027hw_cpu_thread_policy\u0027 image metadata props? Also,\n\n \u003e Using such properties are basically adding constraints but we do not consume extra host CPUs...\n\n\u0027hw_cpu_thread_policy\u003disolate\u0027 will result in 2x core usage on an x86 host with HyperThreading enabled, so that\u0027s true.","commit_id":"cc42fb1c5522b5e818115d8839e8e61233934396"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"5f6fb675be2ecf9a42d263741b3e03374ecf39e3","unresolved":false,"context_lines":[{"line_number":12,"context_line":"way for users to provide pre-packaged applications that will, for"},{"line_number":13,"context_line":"example, always have pinned CPUs or always have N serial ports. The"},{"line_number":14,"context_line":"emulator threads policy should also be configurable in the manner for"},{"line_number":15,"context_line":"the exact same reason. Correct this oversight in the spec."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The property itself has changed names since the spec was written. This"},{"line_number":18,"context_line":"is also corrected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a71b18c_626b7185","line":15,"in_reply_to":"3a71b18c_786fc7fb","updated":"2016-12-07 10:10:50.000000000","message":"We are expecting operators to use host aggregates. It\u0027s still possible to build a realtime ready image, that image will have to run on a realtime ready host and a realtime ready flavor.","commit_id":"cc42fb1c5522b5e818115d8839e8e61233934396"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"4f4066efe0ed143e668f5e027bd884d771a57b2a","unresolved":false,"context_lines":[{"line_number":12,"context_line":"way for users to provide pre-packaged applications that will, for"},{"line_number":13,"context_line":"example, always have pinned CPUs or always have N serial ports. The"},{"line_number":14,"context_line":"emulator threads policy should also be configurable in the manner for"},{"line_number":15,"context_line":"the exact same reason. Correct this oversight in the spec."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The property itself has changed names since the spec was written. This"},{"line_number":18,"context_line":"is also corrected."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a71b18c_44c22cea","line":15,"in_reply_to":"3a71b18c_be386fd4","updated":"2016-12-06 14:53:58.000000000","message":"Yep, as sahid says, we explicitly did *not* specify any way to set this against the image, because setting this allows a tenant user to allocate an extra host CPU which is something only the cloud admin should be allowed todo via the flavour.","commit_id":"cc42fb1c5522b5e818115d8839e8e61233934396"}]}
