)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"455183cb466a6315b11d38454bab31d9626a21ea","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Akira Yoshiyama \u003cakirayoshiyama@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-11-15 17:24:03 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add universal monkey_patch() to oslo-utils"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":10,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5a890539_8e1c6515","line":7,"updated":"2014-11-19 21:44:14.000000000","message":"We\u0027re trying to adopt a convention of prefixing the spec with the library name. Would you rewrite this to:\n\n  utils: add universal monkey_patch()\n\nfor your next draft?","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"}],"specs/kilo/monkey-patch-utils.rst":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"455183cb466a6315b11d38454bab31d9626a21ea","unresolved":false,"context_lines":[{"line_number":30,"context_line":"------------"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"* Add monkey_patch() to each projects except nova and cinder."},{"line_number":33,"context_line":"* Don\u0027t apply monkey_patch to classes with class methods."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Impact on Existing APIs"},{"line_number":36,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a890539_4e46fd24","line":33,"updated":"2014-11-19 21:44:14.000000000","message":"If class methods can be patched now, should we remove this?","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"986d379f4172cf81c65715616486861a72719c86","unresolved":false,"context_lines":[{"line_number":30,"context_line":"------------"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"* Add monkey_patch() to each projects except nova and cinder."},{"line_number":33,"context_line":"* Don\u0027t apply monkey_patch to classes with class methods."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Impact on Existing APIs"},{"line_number":36,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a890539_9491d854","line":33,"in_reply_to":"5a890539_4e46fd24","updated":"2014-11-19 23:13:07.000000000","message":"nova.utils.monkey_patch() is not fixed it.\nMy draft code is done.","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"c2aef953300578813a171a9f53bbad12ed993443","unresolved":false,"context_lines":[{"line_number":30,"context_line":"------------"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"* Add monkey_patch() to each projects except nova and cinder."},{"line_number":33,"context_line":"* Don\u0027t apply monkey_patch to classes with class methods."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Impact on Existing APIs"},{"line_number":36,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a890539_3c611da9","line":33,"in_reply_to":"5a890539_9491d854","updated":"2014-11-26 17:39:07.000000000","message":"This is an alternative option not chosen, so I think it\u0027s fine to leave it.","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"c2aef953300578813a171a9f53bbad12ed993443","unresolved":false,"context_lines":[{"line_number":50,"context_line":"Configuration Impact"},{"line_number":51,"context_line":"--------------------"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Add a group [monkey_patch] for monkey_patch() and add some parameters below:"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* enabled (\u003d[True|False]): applies monkey_patch() if enabled\u003dtrue."},{"line_number":56,"context_line":"* target_modules (\u003d\u003cmodule\u003e[,...]): module name list to apply."}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a890539_1c9f0167","line":53,"updated":"2014-11-26 17:39:07.000000000","message":"The group name is maybe a little generic, but this doesn\u0027t seem likely to conflict with anything else, so +1.","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"8f5359199bb0141e032a9d07f934688c06e51323","unresolved":false,"context_lines":[{"line_number":55,"context_line":"* enabled (\u003d[True|False]): applies monkey_patch() if enabled\u003dtrue."},{"line_number":56,"context_line":"* target_modules (\u003d\u003cmodule\u003e[,...]): module name list to apply."},{"line_number":57,"context_line":"* exclude_method (\u003d\u003cfuncname\u003e[,...]): function/method name list not to apply."},{"line_number":58,"context_line":"                                      Useful to avoid periodic tasks."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Developer Impact"},{"line_number":61,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5aa745d1_0e6e69c9","line":58,"updated":"2015-05-11 16:42:16.000000000","message":"For me, monkey patch is a developer thing not a deployer thing, this looks weird to allow deployer to change this.","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"8f5359199bb0141e032a9d07f934688c06e51323","unresolved":false,"context_lines":[{"line_number":79,"context_line":".          config.parse_args()"},{"line_number":80,"context_line":".          wsgi.set_eventlet_hub()"},{"line_number":81,"context_line":".          log.setup(\u0027glance\u0027)"},{"line_number":82,"context_line":". +        mp.monkey_patch()"},{"line_number":83,"context_line":".  "},{"line_number":84,"context_line":".          glance_store.register_opts(config.CONF)"},{"line_number":85,"context_line":".          glance_store.create_stores(config.CONF)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5aa745d1_0e20a99a","line":82,"updated":"2015-05-11 16:42:16.000000000","message":"This bootstrap code is wrong, monkey patch must be done before the first import, otherwise you can have some code monley patched and some other not...","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"c2aef953300578813a171a9f53bbad12ed993443","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  and class methods."},{"line_number":92,"context_line":"* 4 unit tests for monkey_patch()."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  case | enabled | target_modules | exclude_method"},{"line_number":95,"context_line":"   1   |  True   | dummy1,dummy2  | dummy_exclude"},{"line_number":96,"context_line":"   2   |  False  | dummy1,dummy2  | dummy_exclude"},{"line_number":97,"context_line":"   3   |  True   | dummy1         | dummy_exclude"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a890539_fc99557a","line":94,"updated":"2014-11-26 17:39:07.000000000","message":"Just to clarify, the exclude_method will be a classmethod that we shouldn\u0027t monkey patch?","commit_id":"2198d851f07495eaf20cff53bd4eadf8de209841"}],"specs/kilo/monkey_patch_utils.rst":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":10,"context_line":"  https://blueprints.launchpad.net/oslo?searchtext\u003dawesome-thing should be"},{"line_number":11,"context_line":"  named awesome-thing.rst."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  For specs targeted at a single project, please prefix the first line"},{"line_number":14,"context_line":"  of your commit message with the name of the project.  For example,"},{"line_number":15,"context_line":"  if you\u0027re submitting a new feature for oslo.config, your git commit"},{"line_number":16,"context_line":"  message should start something like: \"config: My new feature\"."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_10d78fee","line":13,"updated":"2014-11-12 19:48:40.000000000","message":"Please update the commit message following these instructions.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":10,"context_line":"  https://blueprints.launchpad.net/oslo?searchtext\u003dawesome-thing should be"},{"line_number":11,"context_line":"  named awesome-thing.rst."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  For specs targeted at a single project, please prefix the first line"},{"line_number":14,"context_line":"  of your commit message with the name of the project.  For example,"},{"line_number":15,"context_line":"  if you\u0027re submitting a new feature for oslo.config, your git commit"},{"line_number":16,"context_line":"  message should start something like: \"config: My new feature\"."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_d2a9867c","line":13,"in_reply_to":"5a890539_10d78fee","updated":"2014-11-13 02:11:04.000000000","message":"OK, I will.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"  https://blueprints.launchpad.net/oslo?searchtext\u003dawesome-thing should be"},{"line_number":11,"context_line":"  named awesome-thing.rst."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  For specs targeted at a single project, please prefix the first line"},{"line_number":14,"context_line":"  of your commit message with the name of the project.  For example,"},{"line_number":15,"context_line":"  if you\u0027re submitting a new feature for oslo.config, your git commit"},{"line_number":16,"context_line":"  message should start something like: \"config: My new feature\"."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_7178bef2","line":13,"in_reply_to":"5a890539_d2a9867c","updated":"2014-11-14 14:11:58.000000000","message":"Done","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"7b1c39d77da1798f2498bbd7894c156e408c5894","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  based purely on plain text.  Plain text will allow review to proceed without"},{"line_number":27,"context_line":"  having to look at additional files which can not be viewed in gerrit.  It"},{"line_number":28,"context_line":"  will also allow inline feedback on the diagram itself."},{"line_number":29,"context_line":""},{"line_number":30,"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\u003d"},{"line_number":31,"context_line":"Add universal monkey_patch() to oslo-utils"},{"line_number":32,"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\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_879fd5b3","line":29,"updated":"2014-11-12 11:34:28.000000000","message":"Remove all of that?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  based purely on plain text.  Plain text will allow review to proceed without"},{"line_number":27,"context_line":"  having to look at additional files which can not be viewed in gerrit.  It"},{"line_number":28,"context_line":"  will also allow inline feedback on the diagram itself."},{"line_number":29,"context_line":""},{"line_number":30,"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\u003d"},{"line_number":31,"context_line":"Add universal monkey_patch() to oslo-utils"},{"line_number":32,"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\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_b161463b","line":29,"in_reply_to":"5a890539_72e8d2e2","updated":"2014-11-14 14:11:58.000000000","message":"Done","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  based purely on plain text.  Plain text will allow review to proceed without"},{"line_number":27,"context_line":"  having to look at additional files which can not be viewed in gerrit.  It"},{"line_number":28,"context_line":"  will also allow inline feedback on the diagram itself."},{"line_number":29,"context_line":""},{"line_number":30,"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\u003d"},{"line_number":31,"context_line":"Add universal monkey_patch() to oslo-utils"},{"line_number":32,"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\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_72e8d2e2","line":29,"in_reply_to":"5a890539_879fd5b3","updated":"2014-11-13 02:11:04.000000000","message":"Yes, I will.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_b0f87b7d","line":39,"updated":"2014-11-12 19:48:40.000000000","message":"This is an interesting feature. Can you give any examples of how it is being used now, to provide feedback for reviewers of this spec?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"9451d5d8d38bd0caefb860767889052508a23322","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_aee68142","line":39,"in_reply_to":"5a890539_52b916e8","updated":"2014-11-19 21:42:14.000000000","message":"Could you add this information to the body of the spec, so it is published when the spec is approved?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"ff3944b1315d504d8f96e239493e72b9f75d9dd1","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_7e033942","line":39,"in_reply_to":"5a890539_52b916e8","updated":"2014-11-13 07:23:38.000000000","message":"So that sounds like this can be used for aspect oriented additions to code? Which is neat; as long as it doesn\u0027t require this decorator all over the place (?); which would make the code that much harder to figure out in glance/nova...","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"9f175826fb2d31d8e9921b56d0a43a7c2a330c31","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_66e642b6","line":39,"in_reply_to":"5a890539_7e033942","updated":"2014-11-13 14:05:42.000000000","message":"Yes, you\u0027re right. Monkey-patching is a kind of AOP, and it\u0027s configuration-based. Users can apply additional functions without modifying source code of nova, glance and so on. Of course, it\u0027s easy to unapply them.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"277c299dd12114643dce1135f636cbdcbf025bf4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_549e9057","line":39,"in_reply_to":"5a890539_aee68142","updated":"2014-11-19 23:12:16.000000000","message":"Sure. I\u0027ll do it.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Nova has a function nova.utils.monkey_patch() to add an extra decorator to"},{"line_number":37,"context_line":"functions/methods specified in nova.conf. It\u0027s useful to debug/extend Nova"},{"line_number":38,"context_line":"without changing Nova source code. This blueprint implements extended"},{"line_number":39,"context_line":"monkey_patch as a utility in oslo."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Problem description"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\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":"5a890539_52b916e8","line":39,"in_reply_to":"5a890539_b0f87b7d","updated":"2014-11-13 02:11:04.000000000","message":"For example, I have a call trace of creating a vm instance of nova/glance/neutron juno.\nhttps://gist.github.com/yosshy/94473483f34dc58c8d35","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  on glance, neutron, and other projects."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Current monkey_patch() doesn\u0027t care classmethod. So, if a class has"},{"line_number":48,"context_line":"  @classmethod, patching will fail."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_90b45fd2","line":48,"updated":"2014-11-12 19:48:40.000000000","message":"This sounds like something that could be fixed later or by adding a different implementation for class methods.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"9451d5d8d38bd0caefb860767889052508a23322","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  on glance, neutron, and other projects."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Current monkey_patch() doesn\u0027t care classmethod. So, if a class has"},{"line_number":48,"context_line":"  @classmethod, patching will fail."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_ee36c9b3","line":48,"in_reply_to":"5a890539_52e2f603","updated":"2014-11-19 21:42:14.000000000","message":"If that is fixed, can we remove the caveat from this list?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  on glance, neutron, and other projects."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Current monkey_patch() doesn\u0027t care classmethod. So, if a class has"},{"line_number":48,"context_line":"  @classmethod, patching will fail."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_52e2f603","line":48,"in_reply_to":"5a890539_90b45fd2","updated":"2014-11-13 02:11:04.000000000","message":"Actually, already done.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"277c299dd12114643dce1135f636cbdcbf025bf4","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  on glance, neutron, and other projects."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Current monkey_patch() doesn\u0027t care classmethod. So, if a class has"},{"line_number":48,"context_line":"  @classmethod, patching will fail."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_14096895","line":48,"in_reply_to":"5a890539_ee36c9b3","updated":"2014-11-19 23:12:16.000000000","message":"nova.utils.monkey_patch() is not fixed it now.\nMy draft code is already done.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":93,"context_line":"Developer Impact"},{"line_number":94,"context_line":"----------------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"None"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Testing Impact"},{"line_number":99,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_30d48b1f","line":96,"updated":"2014-11-12 19:48:40.000000000","message":"It looks like application developers have to explicitly call monkey_patch() somewhere in their application. Is that right?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":93,"context_line":"Developer Impact"},{"line_number":94,"context_line":"----------------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"None"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Testing Impact"},{"line_number":99,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_72a452a6","line":96,"in_reply_to":"5a890539_30d48b1f","updated":"2014-11-13 02:11:04.000000000","message":"Yes, you\u0027re right. Basically, nova binaries call utils.monkey_patch() during boot strapping. The new one needs so. I\u0027ll fix the document.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"Developer Impact"},{"line_number":94,"context_line":"----------------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"None"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Testing Impact"},{"line_number":99,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_11177a52","line":96,"in_reply_to":"5a890539_72a452a6","updated":"2014-11-14 14:11:58.000000000","message":"Done","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Working patch exists. So,"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"* Implement unit tests."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Incubation"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_70837304","line":136,"updated":"2014-11-12 19:48:40.000000000","message":"The existing implementation in nova needs to be changed to register the configuration options at runtime inside of monkey_patch(). We should also consider changing the API to pass a configuration object in to it instead of using the global value.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Incubation"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"If this work reflects the addition of a new module through the"},{"line_number":142,"context_line":"incubator process, we want to ensure that the full life-cycle for the"},{"line_number":143,"context_line":"module has been thought out."},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_f076833d","line":141,"updated":"2014-11-12 19:48:40.000000000","message":"You can remove this text, since it is part of the instructions in the template.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Incubation"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"If this work reflects the addition of a new module through the"},{"line_number":142,"context_line":"incubator process, we want to ensure that the full life-cycle for the"},{"line_number":143,"context_line":"module has been thought out."},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_e84498b8","line":141,"in_reply_to":"5a890539_32848a0b","updated":"2014-11-14 14:11:58.000000000","message":"Done","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Incubation"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"If this work reflects the addition of a new module through the"},{"line_number":142,"context_line":"incubator process, we want to ensure that the full life-cycle for the"},{"line_number":143,"context_line":"module has been thought out."},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_32848a0b","line":141,"in_reply_to":"5a890539_f076833d","updated":"2014-11-13 02:11:04.000000000","message":"OK.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Adoption"},{"line_number":146,"context_line":"--------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Library"},{"line_number":151,"context_line":"-------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_f0ada389","line":148,"updated":"2014-11-12 19:48:40.000000000","message":"I would hope nova at least would adopt the new version?","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Adoption"},{"line_number":146,"context_line":"--------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Library"},{"line_number":151,"context_line":"-------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_2868601c","line":148,"in_reply_to":"5a890539_f0ada389","updated":"2014-11-14 14:11:58.000000000","message":"Yes. Kilo or L-release of nova and cinder.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":155,"context_line":"Anticipated API Stabilization"},{"line_number":156,"context_line":"-----------------------------"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"API is as same as nova\u0027s monkey_patch()."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Documentation Impact"},{"line_number":161,"context_line":"\u003d\u003d\u003d\u003d\u003d\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":"5a890539_b07cfb21","line":158,"updated":"2014-11-12 19:48:40.000000000","message":"See proposed change above.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ed28d5a701821465b7074defbd82bee58d4ec1b3","unresolved":false,"context_lines":[{"line_number":160,"context_line":"Documentation Impact"},{"line_number":161,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Need to add a document for configuration."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dependencies"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_10722f49","line":163,"updated":"2014-11-12 19:48:40.000000000","message":"We also need developer documentation added to oslo.utils.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"b9a193070030564e78b4e7b13fe1bfa92a243047","unresolved":false,"context_lines":[{"line_number":160,"context_line":"Documentation Impact"},{"line_number":161,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Need to add a document for configuration."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dependencies"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_9278de2c","line":163,"in_reply_to":"5a890539_10722f49","updated":"2014-11-13 02:11:04.000000000","message":"Yes.","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"76c3d1ae23e540163a7baf57d161267842a3fe9e","unresolved":false,"context_lines":[{"line_number":160,"context_line":"Documentation Impact"},{"line_number":161,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Need to add a document for configuration."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dependencies"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a890539_08bf2462","line":163,"in_reply_to":"5a890539_9278de2c","updated":"2014-11-14 14:11:58.000000000","message":"Done","commit_id":"7f6b2404cc4fbda788ae39ff810ab8f52fa897dd"}]}
