)]}'
{"specs/approved/sighup_on_ironic_services.rst":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"196d12f8cd89ffe827d3ac3615741eb5e01d585b","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"It is a common practice for daemons to use SIGHUP as a signal to reconfigure"},{"line_number":26,"context_line":"a server by reloading configuration files (as mentioned in `Wikipedia`_)."},{"line_number":27,"context_line":"This describes how to have an ironic service restart with a small set of"},{"line_number":28,"context_line":"updated configuration options."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"This is useful, for example, during a `rolling upgrade`_. After unpinning"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_b4185581","line":27,"range":{"start_line":27,"start_character":45,"end_line":27,"end_character":52},"updated":"2017-07-13 09:10:32.000000000","message":"Because number of ironic mutable config options are limited maybe not makes sense to use \"restart\" term here and below.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a87425a1d0bb5cee7d5676885bde6b8d16e77d9a","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"It is a common practice for daemons to use SIGHUP as a signal to reconfigure"},{"line_number":26,"context_line":"a server by reloading configuration files (as mentioned in `Wikipedia`_)."},{"line_number":27,"context_line":"This describes how to have an ironic service restart with a small set of"},{"line_number":28,"context_line":"updated configuration options."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"This is useful, for example, during a `rolling upgrade`_. After unpinning"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_1e5a7bf2","line":27,"range":{"start_line":27,"start_character":45,"end_line":27,"end_character":52},"in_reply_to":"1f1a1f67_b4185581","updated":"2017-07-13 13:19:37.000000000","message":"I\u0027m not sure I understand. \u0027restart\u0027 is used throughout this spec; what do you suggest instead?","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c9d1f0d1926657c446246ad240daed625c1a88a1","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"It is a common practice for daemons to use SIGHUP as a signal to reconfigure"},{"line_number":26,"context_line":"a server by reloading configuration files (as mentioned in `Wikipedia`_)."},{"line_number":27,"context_line":"This describes how to have an ironic service restart with a small set of"},{"line_number":28,"context_line":"updated configuration options."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"This is useful, for example, during a `rolling upgrade`_. After unpinning"},{"line_number":31,"context_line":"(resetting the ``pin_release_version`` configuration option), SIGHUP could be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df3967d1_44c7d065","line":28,"range":{"start_line":27,"start_character":0,"end_line":28,"end_character":30},"updated":"2017-08-02 18:48:52.000000000","message":"I think \"This specification is intended to detail the method of supporting SIGHUP, such that select configuration options can be reloaded during runtime.\" fits far better.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c9d1f0d1926657c446246ad240daed625c1a88a1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"  ironic.conf.sample file. It logs any changed mutable configuration options."},{"line_number":53,"context_line":"  It also logs a warning for any changed options that are not mutable."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"With these changes, when a SIGHUP occurs, the service will be restarted with"},{"line_number":56,"context_line":"changes to any mutable options. A warning is logged for changes to any"},{"line_number":57,"context_line":"immutable options."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df3967d1_c432a05e","line":55,"range":{"start_line":55,"start_character":46,"end_line":55,"end_character":72},"updated":"2017-08-02 18:48:52.000000000","message":"Restarted is technically correct although we are not calling main() again and reader perception is that the options will be updated and that the service, as in process ID will continue to operate without interruption somehow","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c9d1f0d1926657c446246ad240daed625c1a88a1","unresolved":false,"context_lines":[{"line_number":70,"context_line":"* ``[DEFAULT]/pin_release_version``"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Other ironic configuration options can be made mutable in the future; such"},{"line_number":73,"context_line":"changes should have corresponding release notes."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Alternatives"},{"line_number":76,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df3967d1_64541454","line":73,"updated":"2017-08-02 18:48:52.000000000","message":"If we are going to have a spec for what, in essence, is a \"no brainer\" to support, we should at least green light all configuration options that are actively leveraged or called as a result of tasks being created.  Essentially, it may be all of our options, because if we advertise any HUP support, operators are going to immediately think that it supports updating the entire configuration, and task initiated configuration references should be safe to update in runtime.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"196d12f8cd89ffe827d3ac3615741eb5e01d585b","unresolved":false,"context_lines":[{"line_number":149,"context_line":"Other deployer impact"},{"line_number":150,"context_line":"---------------------"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Inform deployers about this new behavior of SIGHUP."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Developer impact"},{"line_number":155,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_cfe9fc80","line":152,"updated":"2017-07-13 09:10:32.000000000","message":"nit: deploy stage doc is covered by \"Documentation Impact\" section.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a87425a1d0bb5cee7d5676885bde6b8d16e77d9a","unresolved":false,"context_lines":[{"line_number":149,"context_line":"Other deployer impact"},{"line_number":150,"context_line":"---------------------"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Inform deployers about this new behavior of SIGHUP."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Developer impact"},{"line_number":155,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_7e184f1c","line":152,"in_reply_to":"1f1a1f67_cfe9fc80","updated":"2017-07-13 13:19:37.000000000","message":"True.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c9d1f0d1926657c446246ad240daed625c1a88a1","unresolved":false,"context_lines":[{"line_number":185,"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"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Changing the value of mutable configuration options will now take effect when"},{"line_number":188,"context_line":"a SIGHUP is issued. This would break some use case out there that changed"},{"line_number":189,"context_line":"configuration option values and did not want them to take effect with a SIGHUP."},{"line_number":190,"context_line":"Although I cannot think of a use case like this, I suppose it is possible."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df3967d1_244f2c35","line":189,"range":{"start_line":188,"start_character":20,"end_line":189,"end_character":79},"updated":"2017-08-02 18:48:52.000000000","message":"This is counter to an operational point of view where:\n\nAs an Operator, I expect SIGHUP to reload all configuration options for the service I\u0027m sending the HUP signal to.\n\nThe caveat being, options involving live concurrency are not as easily updated.  tl;dr I think \"Upgrades and Backwards Compatibility\" impact is more along the lines of \"We need this to support rolling upgrades.\" and leave it at that.","commit_id":"dc492e80068ade987775e8e1ac1d84932fbd8105"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"eb84b9f00116bcba552a44d5f5c91f2d50b45915","unresolved":false,"context_lines":[{"line_number":48,"context_line":"* The `oslo.config library`_ adds support for ``mutable`` configuration"},{"line_number":49,"context_line":"  options.  Only mutable configuration options can be reloaded. A `mutable"},{"line_number":50,"context_line":"  option note`_ (\"Note: This option can be changed without restarting.\")"},{"line_number":51,"context_line":"  is added to the description of a mutable configuration option in the"},{"line_number":52,"context_line":"  ironic.conf.sample file. It logs any changed mutable configuration options."},{"line_number":53,"context_line":"  It also logs a warning for any changed options that are not mutable."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f287b81_13035911","line":51,"updated":"2017-08-25 20:14:00.000000000","message":"Question, at what point do we flip this since most of our options should be mutable?","commit_id":"2298f9895fff42c7dbb9f504715e692954db2243"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"eb3acd229239850c27d44dd70665e78e6f48e62d","unresolved":false,"context_lines":[{"line_number":48,"context_line":"* The `oslo.config library`_ adds support for ``mutable`` configuration"},{"line_number":49,"context_line":"  options.  Only mutable configuration options can be reloaded. A `mutable"},{"line_number":50,"context_line":"  option note`_ (\"Note: This option can be changed without restarting.\")"},{"line_number":51,"context_line":"  is added to the description of a mutable configuration option in the"},{"line_number":52,"context_line":"  ironic.conf.sample file. It logs any changed mutable configuration options."},{"line_number":53,"context_line":"  It also logs a warning for any changed options that are not mutable."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f287b81_78d5b8e4","line":51,"in_reply_to":"7f287b81_13035911","updated":"2017-08-28 15:42:24.000000000","message":"When someone does the work? I think adding this flag is the easy part; someone needs to go through \u0026 1. make sure it makes sense to do this; 2. make sure we aren\u0027t caching the value.\n\nI can add another RFE to track that work (no, it won\u0027t need a spec, just needs to list the mutable configs (or non-mutable configs).","commit_id":"2298f9895fff42c7dbb9f504715e692954db2243"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ff1166bb66d3dde89dcbfbec215fc0ff7f62926a","unresolved":false,"context_lines":[{"line_number":174,"context_line":"----------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"* change our services so they are launched with ``restart_method\u003d\u0027mutate\u0027``"},{"line_number":177,"context_line":"* change the desired configuration options so that they are mutable"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Dependencies"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f287b81_e8d001fa","line":177,"updated":"2017-08-24 16:58:16.000000000","message":"we need to make sure that we don\u0027t cache the values of the effected options anywhere ever","commit_id":"2298f9895fff42c7dbb9f504715e692954db2243"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"eb3acd229239850c27d44dd70665e78e6f48e62d","unresolved":false,"context_lines":[{"line_number":174,"context_line":"----------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"* change our services so they are launched with ``restart_method\u003d\u0027mutate\u0027``"},{"line_number":177,"context_line":"* change the desired configuration options so that they are mutable"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Dependencies"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f287b81_5808bc90","line":177,"in_reply_to":"7f287b81_e8d001fa","updated":"2017-08-28 15:42:24.000000000","message":"++ I can add this to the spec, either as a follow on or if I push up another patch set.","commit_id":"2298f9895fff42c7dbb9f504715e692954db2243"}]}
