)]}'
{"etc/ironic/ironic.conf.sample":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"ff4378f0ab88573f9473c1bcb9db588928326903","unresolved":false,"context_lines":[{"line_number":1902,"context_line":"#"},{"line_number":1903,"context_line":""},{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_475bbe86","line":1905,"range":{"start_line":1905,"start_character":15,"end_line":1905,"end_character":33},"updated":"2017-07-12 09:57:02.000000000","message":"is retryable","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33ece2bcd9444fd6c6da0550c926fec6d334d4cb","unresolved":false,"context_lines":[{"line_number":1902,"context_line":"#"},{"line_number":1903,"context_line":""},{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_850e64e3","line":1905,"range":{"start_line":1905,"start_character":15,"end_line":1905,"end_character":33},"in_reply_to":"1f1a1f67_475bbe86","updated":"2017-07-12 15:11:59.000000000","message":"oops.","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"ff4378f0ab88573f9473c1bcb9db588928326903","unresolved":false,"context_lines":[{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"},{"line_number":1909,"context_line":"# setting too high can cause the sync power state periodic"},{"line_number":1910,"context_line":"# task to hang when there are slow or unresponsive BMCs."},{"line_number":1911,"context_line":"# (integer value)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_27d562ba","line":1908,"range":{"start_line":1907,"start_character":38,"end_line":1908,"end_character":53},"updated":"2017-07-12 09:57:02.000000000","message":"I\u0027m not sure that this is true any more, I think this applies more to the command interval option below.","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b78b672b739613eb7b12ba91fc9d81fc224f0f20","unresolved":false,"context_lines":[{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"},{"line_number":1909,"context_line":"# setting too high can cause the sync power state periodic"},{"line_number":1910,"context_line":"# task to hang when there are slow or unresponsive BMCs."},{"line_number":1911,"context_line":"# (integer value)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_eea7354f","line":1908,"range":{"start_line":1907,"start_character":38,"end_line":1908,"end_character":53},"in_reply_to":"1f1a1f67_05ac948a","updated":"2017-07-12 16:33:21.000000000","message":"Ok ... so looking at when this option was introduced ... it was originally introduced by the ipminative driver which used it as the timeout for waiting until the power state changed to the requested state. Reading between the lines in the commits that added this option and documentation, the \"setting this too low might break things\" comment originates from bugs in IPMInative.\n\nLater on the IPMItool driver then overloaded this configuration option and changed its meaning by introducing the min_command_interval config option. It continued to be used for the timeout for waiting for requested state, but it also now contributed to the the number of times a IPMItool command would retry retryable errors, which was/is worked out by dividing retry_timeout by min_command_interval. \n\nNow IPMInative no longer in tree I think we should clean up some of this information. I don\u0027t mind if its in this patch or not.","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33ece2bcd9444fd6c6da0550c926fec6d334d4cb","unresolved":false,"context_lines":[{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"},{"line_number":1909,"context_line":"# setting too high can cause the sync power state periodic"},{"line_number":1910,"context_line":"# task to hang when there are slow or unresponsive BMCs."},{"line_number":1911,"context_line":"# (integer value)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_05ac948a","line":1908,"range":{"start_line":1907,"start_character":38,"end_line":1908,"end_character":53},"in_reply_to":"1f1a1f67_27d562ba","updated":"2017-07-12 15:11:59.000000000","message":"I\u0027ve already forgotten how the original retry_timeout option was used. Maybe it isn\u0027t true cuz you changed to use a diff (was it backing off?\n alg) wrt the waits between retries. Don\u0027t have time now to revisit -- if anyone else knows for sure, let me know, otherwise I\u0027ll get back to this later...","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"ca1a86bf32e82ddc0f3f742b6b914848ddf31d42","unresolved":false,"context_lines":[{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"},{"line_number":1909,"context_line":"# setting too high can cause the sync power state periodic"},{"line_number":1910,"context_line":"# task to hang when there are slow or unresponsive BMCs."},{"line_number":1911,"context_line":"# (integer value)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_a6249d0e","line":1908,"range":{"start_line":1907,"start_character":38,"end_line":1908,"end_character":53},"in_reply_to":"1f1a1f67_951b091a","updated":"2017-07-13 15:16:09.000000000","message":"Thanks rloo :)","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a446611e515456eb514166f08d5259e047223867","unresolved":false,"context_lines":[{"line_number":1904,"context_line":"# Maximum time in seconds to retry retryable IPMI operations."},{"line_number":1905,"context_line":"# (An operation is not retryable, for example, if the"},{"line_number":1906,"context_line":"# requested operation fails because the BMC is busy.) There is"},{"line_number":1907,"context_line":"# a tradeoff when setting this value. Setting this too low may"},{"line_number":1908,"context_line":"# cause older BMCs to crash and require a hard reset. However,"},{"line_number":1909,"context_line":"# setting too high can cause the sync power state periodic"},{"line_number":1910,"context_line":"# task to hang when there are slow or unresponsive BMCs."},{"line_number":1911,"context_line":"# (integer value)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"1f1a1f67_951b091a","line":1908,"range":{"start_line":1907,"start_character":38,"end_line":1908,"end_character":53},"in_reply_to":"1f1a1f67_eea7354f","updated":"2017-07-13 14:42:43.000000000","message":"thx for looking into it. It needs to be cleaned up but seems outside the scope of this followup. But if we don\u0027t do it in this patch, will we remember to do it? I pushed up a separate patch [1] as a place-holder for this (cuz, yeah, I don\u0027t have time to work on this now...)\n\n[1] https://review.openstack.org/483432","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"}],"ironic/conf/ipmi.py":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"a2e9a34ad480a44a79cac642ba997aae5d2c1b51","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    cfg.IntOpt(\u0027command_retry_timeout\u0027,"},{"line_number":24,"context_line":"               default\u003d60,"},{"line_number":25,"context_line":"               help\u003d_(\u0027Maximum time in seconds to retry retryable IPMI \u0027"},{"line_number":26,"context_line":"                      \u0027operations. (An operation is not retryable, for \u0027"},{"line_number":27,"context_line":"                      \u0027example, if the requested operation fails \u0027"},{"line_number":28,"context_line":"                      \u0027because the BMC is busy.) There is a tradeoff when \u0027"},{"line_number":29,"context_line":"                      \u0027setting this value. Setting this too low may cause \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_afe47bad","line":26,"range":{"start_line":26,"start_character":52,"end_line":26,"end_character":65},"updated":"2017-07-13 11:21:15.000000000","message":"retryable, as sam pointed out.","commit_id":"1a07bcef74a9f59614d553c8607d81575da80f68"}]}
