)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"922a93ea0770e47f63c3102cdc3536f16209e3b7","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Scale back a bit again, nail this one before M since nothing has"},{"line_number":10,"context_line":"released on old version and move on to Tiramisu."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I9fc6870ea657906e9ff35b3134e6b61bf69a4193"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7a5de9d1_027fd715","line":11,"updated":"2016-01-29 15:53:31.000000000","message":"Can you throw in a bp so we can link it in here.","commit_id":"b2a21f39f22e7914cc1e18bf96cc496ae781c685"}],"specs/mitaka/cheesecake.rst":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        if the Admin wants to set things up so that \"all\" volumes are"},{"line_number":59,"context_line":"        replicated that the Type creation may or may not be necessary."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"2.  Tenant creates a Volume that is replicated (either by specifying apropriate"},{"line_number":62,"context_line":"    Type, or by the nature of the backend device)"},{"line_number":63,"context_line":"    Result in this example is a Volume we\u0027ll call \"Foo\""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_d118b320","line":61,"updated":"2016-01-29 15:50:27.000000000","message":"appropriate  :)","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"04b4a2643667ef1661b14924c06ceaccf5ddcd32","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    Type, or by the nature of the backend device)"},{"line_number":63,"context_line":"    Result in this example is a Volume we\u0027ll call \"Foo\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"3.  Backend-A is caught in the crossfire of a water ballloon fight that"},{"line_number":66,"context_line":"    shouldn\u0027t have been taking place in the data center, and looses it\u0027s magic"},{"line_number":67,"context_line":"    smoke, \"It\u0027s dead Jim!\""},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_f1eccff4","line":65,"updated":"2016-01-29 15:50:10.000000000","message":"Brilliant.  This must have been written post fireball.  ;-)","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    Result in this example is a Volume we\u0027ll call \"Foo\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"3.  Backend-A is caught in the crossfire of a water ballloon fight that"},{"line_number":66,"context_line":"    shouldn\u0027t have been taking place in the data center, and looses it\u0027s magic"},{"line_number":67,"context_line":"    smoke, \"It\u0027s dead Jim!\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"4.  Admin issues \"cinder replication-failover\" command with possible arguments"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_0c44f047","line":66,"updated":"2016-01-29 15:50:27.000000000","message":"lose its","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"62cf0943a6e9db3cb8bf591ba7e897e3e2134913","unresolved":false,"context_lines":[{"line_number":65,"context_line":"3.  Backend-A is caught in the crossfire of a water ballloon fight that"},{"line_number":66,"context_line":"    shouldn\u0027t have been taking place in the data center, and looses it\u0027s magic"},{"line_number":67,"context_line":"    smoke, \"It\u0027s dead Jim!\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"4.  Admin issues \"cinder replication-failover\" command with possible arguments"},{"line_number":70,"context_line":"    a.  Call propogates to Cinder Driver, which performs appropriate steps for"},{"line_number":71,"context_line":"        that driver to now point to the secondary (target) device (Backend-B)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_47263e16","line":68,"updated":"2016-01-29 16:29:22.000000000","message":"Meant to say +1000 for your example","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    b.  The Service Table in Cinder\u0027s database is updated to indicate that a"},{"line_number":74,"context_line":"        replication failover event has occured, and the driver is currently"},{"line_number":75,"context_line":"        pointing to an alternate taret  device."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_31cee782","line":75,"updated":"2016-01-29 15:50:27.000000000","message":"target (a couple instances of this)\n\nWe had also discussed multi-site replication. If we are going to support that (which I think we probably should) we should have a way to specify the failover target.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":13258,"name":"craig delatte","email":"delattec@gmail.com","username":"cdelatte"},"change_message_id":"e930dd2e9ede75bca01dcd2ab1b1fe45dc9c4e48","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"},{"line_number":79,"context_line":"    provided in the failover command.  If no restrictions are set we expect to"},{"line_number":80,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":83,"context_line":"    will require additional steps.  The Tenant will be required in this case to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_b6facd41","line":80,"updated":"2016-01-29 14:58:50.000000000","message":"this seems dangerous.  say a application is still writing data to the source volumes after you initiated the failover command.  so you are now out of sync with your source being ahead of your failover.  wouldn\u0027t it be better to basically design it to freeze IO or even pause the instances so they can\u0027t write?  at least we would know the data is consistent for that point in time","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"62cf0943a6e9db3cb8bf591ba7e897e3e2134913","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"},{"line_number":79,"context_line":"    provided in the failover command.  If no restrictions are set we expect to"},{"line_number":80,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":83,"context_line":"    will require additional steps.  The Tenant will be required in this case to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_c73eae8b","line":80,"in_reply_to":"7a5de9d1_51104359","updated":"2016-01-29 16:29:22.000000000","message":"Right now we don\u0027t have any mechanism to enforce an I/O pause. The driver can do it when it gets told to do a failover if the backend has the facility - we aren\u0027t prohibiting that.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"},{"line_number":79,"context_line":"    provided in the failover command.  If no restrictions are set we expect to"},{"line_number":80,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":83,"context_line":"    will require additional steps.  The Tenant will be required in this case to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_84b754f4","line":80,"in_reply_to":"7a5de9d1_51104359","updated":"2016-01-29 16:08:31.000000000","message":"Yeah... sorry you couldn\u0027t make it.  Hopefully this works out :)","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":13258,"name":"craig delatte","email":"delattec@gmail.com","username":"cdelatte"},"change_message_id":"a9dac72b293d8b21009b01d00dbace27d13b2b04","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"},{"line_number":79,"context_line":"    provided in the failover command.  If no restrictions are set we expect to"},{"line_number":80,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":83,"context_line":"    will require additional steps.  The Tenant will be required in this case to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_51104359","line":80,"in_reply_to":"7a5de9d1_5124c35e","updated":"2016-01-29 15:16:37.000000000","message":"yeah.  I was assuming your DC was gone, meaning you can no longer write data if that is the case, so why let it continue to write?  \n\nFor the pause I was thinking of pausing the instance itself, not the IO.  basically force it to not write data and have users go to a crash consistent state on the other side.  \n\nWas just thinking of the issues it would cause our users.  But knowing the limitations it would definitely be something we could work around, for instance  only static content can replicated..  that sort of thing\n\nSorry I couldn\u0027t be there, work got in the way.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"663003e67b98bd3e47abae2a8ea26217da82dd9b","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    In this scenario volumes that were replicated should still be accessible by"},{"line_number":78,"context_line":"    tenants.  The usage may or may not be restricted depending on options"},{"line_number":79,"context_line":"    provided in the failover command.  If no restrictions are set we expect to"},{"line_number":80,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":83,"context_line":"    will require additional steps.  The Tenant will be required in this case to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_5124c35e","line":80,"in_reply_to":"7a5de9d1_b6facd41","updated":"2016-01-29 15:08:14.000000000","message":"It would, and this is *dangerous* as you put it... but if you\u0027re DC is burning down at least you have a shot and not loosing everything.\n\nThere\u0027s currently no way to suspend IO on an Instance, and there\u0027s no way to do it on the Cinder side.  There is some mechanism in Libvirt but there\u0027s nothing in Nova to enable it that I\u0027m aware of.\n\nThis isn\u0027t perfect, and as indicated this is very much a DR scenario so you don\u0027t have to loose EVERYTHING you had.  That\u0027s all.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":89,"context_line":"       The failover command includes a \"freeze\" option.  This option indicates"},{"line_number":90,"context_line":"       that a volume may still be read or written to, HOWEVER that we will not"},{"line_number":91,"context_line":"       allow any additonal resource create or delete options until an admin"},{"line_number":92,"context_line":"       issues an \"thaw\" command.  This means that attempts to call"},{"line_number":93,"context_line":"       snapshot-create, xxx-delete, resize, retype etc should return an"},{"line_number":94,"context_line":"       InvalidCommand error.  This is intended to try and keep things in as"},{"line_number":95,"context_line":"       stable of a state as possible, to help in recovering from the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_310ca740","line":92,"updated":"2016-01-29 15:50:27.000000000","message":"/issues an/issues a/","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":93,"context_line":"       snapshot-create, xxx-delete, resize, retype etc should return an"},{"line_number":94,"context_line":"       InvalidCommand error.  This is intended to try and keep things in as"},{"line_number":95,"context_line":"       stable of a state as possible, to help in recovering from the"},{"line_number":96,"context_line":"       catastrophic event."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"5.  How to get back to \"normal\""},{"line_number":99,"context_line":"    a.  If the oroginal backend device is salvageable, the failover command"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_d1c2f333","line":96,"updated":"2016-01-29 15:50:27.000000000","message":"IIRC, basically the control pane becomes read only, with the exception of attach/detach. Can we add a note about those two exceptions?","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":13258,"name":"craig delatte","email":"delattec@gmail.com","username":"cdelatte"},"change_message_id":"e930dd2e9ede75bca01dcd2ab1b1fe45dc9c4e48","unresolved":false,"context_lines":[{"line_number":96,"context_line":"       catastrophic event."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"5.  How to get back to \"normal\""},{"line_number":99,"context_line":"    a.  If the oroginal backend device is salvageable, the failover command"},{"line_number":100,"context_line":"    should be used to switch back to the original primary device.  This of"},{"line_number":101,"context_line":"    course means that there should be some mechanism on the backend and"},{"line_number":102,"context_line":"    operations performed by the Admin that ensures the resources still exist on"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_36801df7","line":99,"updated":"2016-01-29 14:58:50.000000000","message":"original","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This does mean that non-replicated type volumes will be left behind and"},{"line_number":127,"context_line":"inaccessible (unavailable), that\u0027s an expectation in this use case (the"},{"line_number":128,"context_line":"device burst into flames)."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"For simplicity in the first iteration, we\u0027re specifying the device as a driver"},{"line_number":131,"context_line":"parameter in the config file and we\u0027re not trying to just read in a secondary"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_cc01f8b0","line":128,"updated":"2016-01-29 15:50:27.000000000","message":"We should update the database to mark these \"left behind\" volumes in a different state so it\u0027s clear and user\u0027s can\u0027t try to take actions and just get a NotFound. ReplicationsStatus\u003d\"VolumeScrewed\"?","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"62cf0943a6e9db3cb8bf591ba7e897e3e2134913","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This does mean that non-replicated type volumes will be left behind and"},{"line_number":127,"context_line":"inaccessible (unavailable), that\u0027s an expectation in this use case (the"},{"line_number":128,"context_line":"device burst into flames)."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"For simplicity in the first iteration, we\u0027re specifying the device as a driver"},{"line_number":131,"context_line":"parameter in the config file and we\u0027re not trying to just read in a secondary"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_87b756f4","line":128,"in_reply_to":"7a5de9d1_44e71c11","updated":"2016-01-29 16:29:22.000000000","message":"I see your \u0027I don\u0027t really care\u0027 comment below. I think we can sort this out in code review time, if it\u0027s easy to make it clear then great.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This does mean that non-replicated type volumes will be left behind and"},{"line_number":127,"context_line":"inaccessible (unavailable), that\u0027s an expectation in this use case (the"},{"line_number":128,"context_line":"device burst into flames)."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"For simplicity in the first iteration, we\u0027re specifying the device as a driver"},{"line_number":131,"context_line":"parameter in the config file and we\u0027re not trying to just read in a secondary"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_44e71c11","line":128,"in_reply_to":"7a5de9d1_cc01f8b0","updated":"2016-01-29 16:08:31.000000000","message":"should we?  So the thing is that IMO they should just behave as they do if you were to yank the backend out from under Cinder (because that\u0027s what you\u0027re doing here really).\n\nRather than have special cases and different code paths why not just use what we have?  You try and do something with them and they\u0027re not replicated... they go into error-state.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Ideally, if the volume fails over the type specifications would match, but if"},{"line_number":159,"context_line":"  this isn\u0027t possible it\u0027s probably acceptable, and if it needs to be handled"},{"line_number":160,"context_line":"  by the driver via a retype/modification after the failover, that\u0027s fine as"},{"line_number":161,"context_line":"  well."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"* async vs sync"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_6cea44ae","line":160,"updated":"2016-01-29 15:50:27.000000000","message":"Some discussion on this. Not sure if we want the driver to do an implicit retype. Some drivers do create the replication target using the same type, but Patrick pointed out hypothetically there may be some cases where the target volume does not have the same capabilities as the source.\n\nSo maybe we can just take out this retype section for now. Leave it up to driver implementation if they honor the volume type for now. We may want to implement retyping in the future, but let\u0027s just get rid of this for now.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Ideally, if the volume fails over the type specifications would match, but if"},{"line_number":159,"context_line":"  this isn\u0027t possible it\u0027s probably acceptable, and if it needs to be handled"},{"line_number":160,"context_line":"  by the driver via a retype/modification after the failover, that\u0027s fine as"},{"line_number":161,"context_line":"  well."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"* async vs sync"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_02b35799","line":160,"in_reply_to":"7a5de9d1_6cea44ae","updated":"2016-01-29 16:08:31.000000000","message":"I\u0027m down with that, note this stated explicitly you could \"do whatever you want\", I\u0027m sure that the ambiguity of removing this will result in weeping and gnashing of teeth by somebody.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":170,"context_line":"* transport"},{"line_number":171,"context_line":"  Implementation details and the *how* the backend performs replication"},{"line_number":172,"context_line":"  is completely up to the backend.  The requirements are that the interfaces"},{"line_number":173,"context_line":"  and end results are consistent."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"* The Volume driver for the replicated backend MUST have the ability to"},{"line_number":176,"context_line":"  communicate with the other backend and route the calls correctly based on"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_87ebd912","line":173,"updated":"2016-01-29 15:50:27.000000000","message":"+1","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":187,"context_line":"  in a \"failed-over\" state, and if it\u0027s \"frozen\"."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"In the case of a failover where volumes are no longer available on the new"},{"line_number":190,"context_line":"backend, the driver should raise a NotFound Exception for an API calls that attempt to access"},{"line_number":191,"context_line":"them."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_31ca674f","line":190,"range":{"start_line":190,"start_character":35,"end_line":190,"end_character":43},"updated":"2016-01-29 15:17:41.000000000","message":"Not sure this should be \u0027NotFound\u0027, since they might come back - \u0027Unavailable\u0027 or similar is preferable IMO","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":187,"context_line":"  in a \"failed-over\" state, and if it\u0027s \"frozen\"."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"In the case of a failover where volumes are no longer available on the new"},{"line_number":190,"context_line":"backend, the driver should raise a NotFound Exception for an API calls that attempt to access"},{"line_number":191,"context_line":"them."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_e7c3ad55","line":190,"in_reply_to":"7a5de9d1_31ca674f","updated":"2016-01-29 15:50:27.000000000","message":"Agreed. See comment above about marking left behind volume status in the database.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":187,"context_line":"  in a \"failed-over\" state, and if it\u0027s \"frozen\"."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"In the case of a failover where volumes are no longer available on the new"},{"line_number":190,"context_line":"backend, the driver should raise a NotFound Exception for an API calls that attempt to access"},{"line_number":191,"context_line":"them."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_27ca254f","line":190,"range":{"start_line":190,"start_character":35,"end_line":190,"end_character":43},"in_reply_to":"7a5de9d1_31ca674f","updated":"2016-01-29 16:08:31.000000000","message":"I don\u0027t really care to be honest.  From the driver however it seems like NotFound is what it is... what Cinder does is different.\n\nThis reminds me why I had to start calling this Cheesecake.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":213,"context_line":"  require?"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"We\u0027ll need a new column in the host table that indicates \"failed-over\" and"},{"line_number":216,"context_line":"\"frozen\"  status."},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"We\u0027ll also need a new property for volumes, indicating if they\u0027re failed-over"},{"line_number":219,"context_line":"and if they\u0027re frozen or not."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_6701fd69","line":216,"updated":"2016-01-29 15:50:27.000000000","message":"In the case of multisite cheesecaking, we need to track where it was failed over to. Make the failed over column the target or add another column with the info?","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":213,"context_line":"  require?"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"We\u0027ll need a new column in the host table that indicates \"failed-over\" and"},{"line_number":216,"context_line":"\"frozen\"  status."},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"We\u0027ll also need a new property for volumes, indicating if they\u0027re failed-over"},{"line_number":219,"context_line":"and if they\u0027re frozen or not."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_04ffe4aa","line":216,"in_reply_to":"7a5de9d1_6701fd69","updated":"2016-01-29 16:08:31.000000000","message":"Yeah, see patchset 2 and 3, already added that","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":215,"context_line":"We\u0027ll need a new column in the host table that indicates \"failed-over\" and"},{"line_number":216,"context_line":"\"frozen\"  status."},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"We\u0027ll also need a new property for volumes, indicating if they\u0027re failed-over"},{"line_number":219,"context_line":"and if they\u0027re frozen or not."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_87be7963","line":218,"updated":"2016-01-29 15:50:27.000000000","message":"Not sure where we ended up yesterday. Were we going to track this per-volume or host-wide. There\u0027s some concern that we shouldn\u0027t do it for each volume, just do a join against the service table.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":215,"context_line":"We\u0027ll need a new column in the host table that indicates \"failed-over\" and"},{"line_number":216,"context_line":"\"frozen\"  status."},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"We\u0027ll also need a new property for volumes, indicating if they\u0027re failed-over"},{"line_number":219,"context_line":"and if they\u0027re frozen or not."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_8412f407","line":218,"in_reply_to":"7a5de9d1_87be7963","updated":"2016-01-29 16:08:31.000000000","message":"Host wide, but I wanted to include a column incase we decide we want to display the info.  The important piece here is the Service table IMO","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"replication-failover [--freeze] \u0027backend-name\u0027"},{"line_number":229,"context_line":"  This triggers the failover event, assuming that the current primary"},{"line_number":230,"context_line":"  backend is no longer accessible."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_625a4b2c","line":230,"updated":"2016-01-29 15:50:27.000000000","message":"We also need a thaw command.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"replication-failover [--freeze] \u0027backend-name\u0027"},{"line_number":229,"context_line":"  This triggers the failover event, assuming that the current primary"},{"line_number":230,"context_line":"  backend is no longer accessible."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_244ea03b","line":230,"in_reply_to":"7a5de9d1_625a4b2c","updated":"2016-01-29 16:08:31.000000000","message":"Done","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":228,"context_line":"replication-failover [--freeze] \u0027backend-name\u0027"},{"line_number":229,"context_line":"  This triggers the failover event, assuming that the current primary"},{"line_number":230,"context_line":"  backend is no longer accessible."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Security impact"},{"line_number":234,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_7138df3d","line":231,"updated":"2016-01-29 15:17:41.000000000","message":"There\u0027ll also be some additional fields in the volume show output as noted above","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":274,"context_line":"Notifications impact"},{"line_number":275,"context_line":"--------------------"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"We\u0027d certainly want to add a notification event that we \"failed over\""},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"Other end user impact"},{"line_number":280,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_e2b4fb35","line":277,"updated":"2016-01-29 15:50:27.000000000","message":"And thawed? Probably enable and disable as well.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":274,"context_line":"Notifications impact"},{"line_number":275,"context_line":"--------------------"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"We\u0027d certainly want to add a notification event that we \"failed over\""},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"Other end user impact"},{"line_number":280,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_2499c0c4","line":277,"in_reply_to":"7a5de9d1_e2b4fb35","updated":"2016-01-29 16:08:31.000000000","message":"Done","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":283,"context_line":"feature?"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"* Does this change have an impact on python-cinderclient? What does the user"},{"line_number":286,"context_line":"  interface there look like?"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"Performance Impact"},{"line_number":289,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_3154a751","line":286,"updated":"2016-01-29 15:17:41.000000000","message":"TBD","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":283,"context_line":"feature?"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"* Does this change have an impact on python-cinderclient? What does the user"},{"line_number":286,"context_line":"  interface there look like?"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"Performance Impact"},{"line_number":289,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_a4eb7012","line":286,"in_reply_to":"7a5de9d1_3154a751","updated":"2016-01-29 16:08:31.000000000","message":"Done","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":305,"context_line":"  large impacts on performance."},{"line_number":306,"context_line":""},{"line_number":307,"context_line":"* Calls which result in a database queries can have a profound impact on"},{"line_number":308,"context_line":"  performance, especially in critical sections of code."},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"* Will the change include any locking, and if so what considerations are there"},{"line_number":311,"context_line":"  on holding the lock?"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_71b9bf78","line":308,"range":{"start_line":308,"start_character":54,"end_line":308,"end_character":55},"updated":"2016-01-29 15:17:41.000000000","message":"Some DB changes, e.g. a new join in volume list. These should be fine, but should be tested","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":319,"context_line":"* What config options are being added? Should they be more generic than"},{"line_number":320,"context_line":"  proposed (for example a flag that other volume drivers might want to"},{"line_number":321,"context_line":"  implement as well)? Are the default values ones which will work well in"},{"line_number":322,"context_line":"  real deployments?"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":"* Is this a change that takes immediate effect after its merged, or is it"},{"line_number":325,"context_line":"  something that has to be explicitly enabled?"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_d12d13a9","line":322,"range":{"start_line":322,"start_character":18,"end_line":322,"end_character":19},"updated":"2016-01-29 15:17:41.000000000","message":"TBD","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":323,"context_line":""},{"line_number":324,"context_line":"* Is this a change that takes immediate effect after its merged, or is it"},{"line_number":325,"context_line":"  something that has to be explicitly enabled?"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"* If this change is a new binary, how would it be deployed?"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"* Please state anything that those doing continuous deployment, or those"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_8c01c007","line":326,"updated":"2016-01-29 15:17:41.000000000","message":"Explicitly enabled","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"e8b485076307d86cfe99c8b7d332e357fdab19ad","unresolved":false,"context_lines":[{"line_number":341,"context_line":"such as:"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"* If the blueprint proposes a change to the driver API, discussion of how"},{"line_number":344,"context_line":"  other volume drivers would implement the feature is required."},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_8c4f806a","line":344,"range":{"start_line":344,"start_character":54,"end_line":344,"end_character":62},"updated":"2016-01-29 15:17:41.000000000","message":"Dev ref eventually required","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"69a57dd61843c56bc1dea17cfd5d63868e9228ec","unresolved":false,"context_lines":[{"line_number":341,"context_line":"such as:"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"* If the blueprint proposes a change to the driver API, discussion of how"},{"line_number":344,"context_line":"  other volume drivers would implement the feature is required."},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_c71eb1ba","line":344,"range":{"start_line":344,"start_character":54,"end_line":344,"end_character":62},"in_reply_to":"7a5de9d1_8c4f806a","updated":"2016-01-29 16:08:31.000000000","message":"IMO that\u0027s always required for stuff like this, people should -1 any review of a feature like this that doesn\u0027t have one.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"62cf0943a6e9db3cb8bf591ba7e897e3e2134913","unresolved":false,"context_lines":[{"line_number":341,"context_line":"such as:"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"* If the blueprint proposes a change to the driver API, discussion of how"},{"line_number":344,"context_line":"  other volume drivers would implement the feature is required."},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_8701966c","line":344,"range":{"start_line":344,"start_character":54,"end_line":344,"end_character":62},"in_reply_to":"7a5de9d1_c71eb1ba","updated":"2016-01-29 16:29:22.000000000","message":"Totally agreed, just double for this :-)","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bd05471b5091a233bde5f010d84bdd0c9c9a9fd3","unresolved":false,"context_lines":[{"line_number":382,"context_line":""},{"line_number":383,"context_line":"* Does this feature require any new library dependencies or code otherwise not"},{"line_number":384,"context_line":"  included in OpenStack? Or does it depend on a specific version of library?"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":""},{"line_number":387,"context_line":"Testing"},{"line_number":388,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_22c4538f","line":385,"updated":"2016-01-29 15:50:27.000000000","message":"Should note that we will need to follow up with Horizon so they know what to do with new volume states, etc.","commit_id":"0ed5ca402840960a680748443035c5c56ccdf32c"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"718e8bc234ce138e1ca7b19b5516d6ab73121594","unresolved":false,"context_lines":[{"line_number":164,"context_line":"  well."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"* async vs sync"},{"line_number":167,"context_line":"  This spec assumes async replication only for now.  It can easily be"},{"line_number":168,"context_line":"  extended later for the synchronous case, but for now it\u0027s specific"},{"line_number":169,"context_line":"  to async.  If/When sync is added it can be specified as an additional"},{"line_number":170,"context_line":"  backend capability.  It\u0027s also possible for this to be specified via"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a5de9d1_47b40181","line":167,"updated":"2016-01-29 15:44:05.000000000","message":"Our driver only supports sync now.  Can you let driver decide to do either async or sync?  Maybe the code won\u0027t prevent driver from supporting sync, but this first sense seems to suggest that only async can be supported in the first pass.","commit_id":"59024a31004036a6bd5d35a406fab2692152650c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"922a93ea0770e47f63c3102cdc3536f16209e3b7","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"* async vs sync"},{"line_number":167,"context_line":"  This spec does not make any assumptions about what replication method"},{"line_number":168,"context_line":"  the backend uses, nor does it care."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"* transport"},{"line_number":171,"context_line":"  Implementation details and the *how* the backend performs replication"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a5de9d1_82bc27dd","line":168,"updated":"2016-01-29 15:53:31.000000000","message":"+1","commit_id":"b2a21f39f22e7914cc1e18bf96cc496ae781c685"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"228c863961e79fae649ff1a68e00c9c2481c6fb2","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"* async vs sync"},{"line_number":167,"context_line":"  This spec does not make any assumptions about what replication method"},{"line_number":168,"context_line":"  the backend uses, nor does it care."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"* transport"},{"line_number":171,"context_line":"  Implementation details and the *how* the backend performs replication"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a5de9d1_42338f62","line":168,"in_reply_to":"7a5de9d1_82bc27dd","updated":"2016-01-29 15:54:59.000000000","message":"+1 Thanks for the update!","commit_id":"b2a21f39f22e7914cc1e18bf96cc496ae781c685"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"88e272ef98194fbb973c151cfdf34e9ef407cff8","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/cinder/+spec/replication"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This spec proposes further refinement to the Cinder replication."},{"line_number":16,"context_line":"After more vendors have tried to implement replication and we\u0027ve"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_2798e277","line":13,"range":{"start_line":13,"start_character":46,"end_line":13,"end_character":57},"updated":"2016-01-29 16:29:17.000000000","message":"-2  ;-)","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"},{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"d0802d999b9fba358cc7503581f6d06077f24edc","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    be able to continue using them as we would prior to the failure event."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    Volumes that were attached/in-use are a special case in this scenario and"},{"line_number":84,"context_line":"    will require additional steps.  The Tenant will be required in this case to"},{"line_number":85,"context_line":"    detach the volumes from any instances manually.  Cinder does not have the"},{"line_number":86,"context_line":"    ability to call Nova\u0027s volume-detach methods, so this has to be done by the"},{"line_number":87,"context_line":"    Tenant or the Admin."},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_67b25a08","line":85,"range":{"start_line":84,"start_character":36,"end_line":85,"end_character":51},"updated":"2016-01-29 16:32:48.000000000","message":"What if we cannot ask the primary array to detach? Are we stuck? This was also an issue in the current implementation, but something I think should be talked about.","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"88e272ef98194fbb973c151cfdf34e9ef407cff8","unresolved":false,"context_lines":[{"line_number":95,"context_line":"       InvalidCommand error.  This is intended to try and keep things in as"},{"line_number":96,"context_line":"       stable of a state as possible, to help in recovering from the"},{"line_number":97,"context_line":"       catastrophic event.  We think of this as the backend resources becoming"},{"line_number":98,"context_line":"       ReadOnly from a management/control plan perspective.  This does not mean"},{"line_number":99,"context_line":"       you can\u0027t R/W IO from an instance to the volume."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"5.  How to get back to \"normal\""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_e7740a37","line":98,"range":{"start_line":98,"start_character":42,"end_line":98,"end_character":46},"updated":"2016-01-29 16:29:17.000000000","message":"plan -\u003e plane if there is another patch set.","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"},{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"d0802d999b9fba358cc7503581f6d06077f24edc","unresolved":false,"context_lines":[{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    [driver-foo]"},{"line_number":140,"context_line":"    volume_driver\u003dxxxx"},{"line_number":141,"context_line":"    valid_replication_devices\u003d\u0027remote_device\u003d{\u0027some unique access meta}\u0027,..."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"NOTE That the remote_device access MUST be handled via the"},{"line_number":144,"context_line":"configured driver."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_87851608","line":141,"range":{"start_line":141,"start_character":4,"end_line":141,"end_character":29},"updated":"2016-01-29 16:32:48.000000000","message":"Devices makes it sound like we can have multiple, If we do, we would probably need a list backends API call.","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"},{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"d0802d999b9fba358cc7503581f6d06077f24edc","unresolved":false,"context_lines":[{"line_number":218,"context_line":"where the fail-over was sent to.  In other words, make sure the driver has"},{"line_number":219,"context_line":"a way to set things back up correctly on an init."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"REST API impact"},{"line_number":222,"context_line":"---------------"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"replication-enable/disable \u0027backend-name\u0027"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_277f8216","line":221,"range":{"start_line":221,"start_character":0,"end_line":221,"end_character":15},"updated":"2016-01-29 16:32:48.000000000","message":"Do we want to provide a way to list valid backends to fail-over to? I have not seen anything mention you can only have one configured replication backend. If this is the case, it would be nice to list the possible targets.","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"},{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"d0802d999b9fba358cc7503581f6d06077f24edc","unresolved":false,"context_lines":[{"line_number":284,"context_line":"Aside from the API, are there other ways a user will interact with this"},{"line_number":285,"context_line":"feature?"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"* Does this change have an impact on python-cinderclient? What does the user"},{"line_number":288,"context_line":"  interface there look like?"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"TBD"},{"line_number":291,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_87eaf6aa","line":288,"range":{"start_line":287,"start_character":2,"end_line":288,"end_character":28},"updated":"2016-01-29 16:32:48.000000000","message":"Do you think we can use the existing commands (replication-enable, replication-disable, replication-failover [replication-thaw will be new], and [maybe] replication-list-targets), and just tweak how they work? \n\nThere will be no for these current commands in the API/python-cinderclient, they may be able to be repurposed.","commit_id":"be5cbb9bd2b9d2a87185c7de24d8d4ceaf6b2b80"}]}
