)]}'
{"specs/kilo/create-volume-persistence-taskflow-support-scheduler.rst":[{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"aa6bcd0b286b28c717065f1bc52757b32d4e7ba9","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- When cinder-scheduler dies during request processing (before passing RPC call"},{"line_number":26,"context_line":"  to cinder-volume) created volume is stuck in creating state. It is however"},{"line_number":27,"context_line":"  possible to delete it manually."},{"line_number":28,"context_line":"- ScheduleCreateVolumeTask isn\u0027t idempotent (last call is RPC cast to"},{"line_number":29,"context_line":"  cinder-volume, which can be executed only once) so it may will fail when"},{"line_number":30,"context_line":"  restarted."}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_800e2433","line":27,"updated":"2015-01-21 00:10:06.000000000","message":"Are you sure ? Will a volume in \"creating\" state be deleted manually ?","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"f7bc2f1d7357bc769cd7da7439fc7773f5bec52d","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- When cinder-scheduler dies during request processing (before passing RPC call"},{"line_number":26,"context_line":"  to cinder-volume) created volume is stuck in creating state. It is however"},{"line_number":27,"context_line":"  possible to delete it manually."},{"line_number":28,"context_line":"- ScheduleCreateVolumeTask isn\u0027t idempotent (last call is RPC cast to"},{"line_number":29,"context_line":"  cinder-volume, which can be executed only once) so it may will fail when"},{"line_number":30,"context_line":"  restarted."}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_6cbf65d1","line":27,"in_reply_to":"1a930d6b_800e2433","updated":"2015-01-21 12:13:44.000000000","message":"Yes, I\u0027ve tested that today and was able to delete it without using reset-state (when flow stops in cinder-scheduler). You\u0027ve had different results? Am I missing something?","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"aa6bcd0b286b28c717065f1bc52757b32d4e7ba9","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  possible to delete it manually."},{"line_number":28,"context_line":"- ScheduleCreateVolumeTask isn\u0027t idempotent (last call is RPC cast to"},{"line_number":29,"context_line":"  cinder-volume, which can be executed only once) so it may will fail when"},{"line_number":30,"context_line":"  restarted."},{"line_number":31,"context_line":"- Context object passed between tasks isn\u0027t serialized, so workflow saving"},{"line_number":32,"context_line":"  fails."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_e03368f4","line":30,"updated":"2015-01-21 00:10:06.000000000","message":"What if the RPC was never made ? Do we have a time out mechanism to decide whether the RPC call was actually made or reached host hosting cinder-volume ?","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"f7bc2f1d7357bc769cd7da7439fc7773f5bec52d","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  possible to delete it manually."},{"line_number":28,"context_line":"- ScheduleCreateVolumeTask isn\u0027t idempotent (last call is RPC cast to"},{"line_number":29,"context_line":"  cinder-volume, which can be executed only once) so it may will fail when"},{"line_number":30,"context_line":"  restarted."},{"line_number":31,"context_line":"- Context object passed between tasks isn\u0027t serialized, so workflow saving"},{"line_number":32,"context_line":"  fails."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_8c0c9196","line":30,"in_reply_to":"1a930d6b_e03368f4","updated":"2015-01-21 12:13:44.000000000","message":"No, there\u0027s no timeout mechanism covered by this blueprint.","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"aa6bcd0b286b28c717065f1bc52757b32d4e7ba9","unresolved":false,"context_lines":[{"line_number":45,"context_line":"before workflow is serialized and task marked as completed. This is very"},{"line_number":46,"context_line":"unlikely and there\u0027s no possibility of preventing it, so it will be left as it"},{"line_number":47,"context_line":"is. However when restarting and the volume will have host already marked in the"},{"line_number":48,"context_line":"DB, same host will be choosen (without filtering)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Context object will be serialized using to_dict() method before passing into"},{"line_number":51,"context_line":"workflow and unserialized (from_dict) in task\u0027s execute method as needed."}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_209bb0ca","line":48,"updated":"2015-01-21 00:10:06.000000000","message":"Is there a way to detect whether a RPC was made ? If not can we clean up the entry depending on a specified delay/timeout if we didn\u0027t get the reply. Keep stray entries can be confusing in decision making for the scheduler.","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"f7bc2f1d7357bc769cd7da7439fc7773f5bec52d","unresolved":false,"context_lines":[{"line_number":45,"context_line":"before workflow is serialized and task marked as completed. This is very"},{"line_number":46,"context_line":"unlikely and there\u0027s no possibility of preventing it, so it will be left as it"},{"line_number":47,"context_line":"is. However when restarting and the volume will have host already marked in the"},{"line_number":48,"context_line":"DB, same host will be choosen (without filtering)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Context object will be serialized using to_dict() method before passing into"},{"line_number":51,"context_line":"workflow and unserialized (from_dict) in task\u0027s execute method as needed."}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a930d6b_4c12a9b5","line":48,"in_reply_to":"1a930d6b_209bb0ca","updated":"2015-01-21 12:13:44.000000000","message":"There\u0027s no way. We cannot prevent from every failure. Only correct way to fix this is to make RPC cast idempotent, but this is much more changes that covered by this blueprint.\n\nThe entry is already saved in volumes table before RPC cast, so this isn\u0027t a stray entry. It can be deleted manually with stuck volume using cinder delete \u003cvolume-id\u003e.","commit_id":"dcc613f839b2dc250e9bd5ab43e1f01241e92db8"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"d2c72820d9b6a54e4235e5ed1098c871382a6158","unresolved":false,"context_lines":[{"line_number":41,"context_line":"orphaned resources as once service will be up again resource processing will"},{"line_number":42,"context_line":"continue."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"It may happen that a service die after sending a cast to cinder-volume but"},{"line_number":45,"context_line":"before workflow is serialized and task marked as completed. This is very"},{"line_number":46,"context_line":"unlikely and there\u0027s no possibility of preventing it, so it will be left as it"},{"line_number":47,"context_line":"is. However when restarting and the volume will have host already marked in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da86d52c_b2124b56","line":44,"updated":"2015-02-10 06:21:32.000000000","message":"/It may happen that a service die/A service may die/","commit_id":"092cdb0de5293d71173f81f23b3cb34b120f4348"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"d2c72820d9b6a54e4235e5ed1098c871382a6158","unresolved":false,"context_lines":[{"line_number":42,"context_line":"continue."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"It may happen that a service die after sending a cast to cinder-volume but"},{"line_number":45,"context_line":"before workflow is serialized and task marked as completed. This is very"},{"line_number":46,"context_line":"unlikely and there\u0027s no possibility of preventing it, so it will be left as it"},{"line_number":47,"context_line":"is. However when restarting and the volume will have host already marked in the"},{"line_number":48,"context_line":"DB, same host will be choosen (without filtering)."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da86d52c_d20dff36","line":45,"updated":"2015-02-10 06:21:32.000000000","message":"/before workflow/before the workflow/ /and task/and the task/","commit_id":"092cdb0de5293d71173f81f23b3cb34b120f4348"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"d2c72820d9b6a54e4235e5ed1098c871382a6158","unresolved":false,"context_lines":[{"line_number":44,"context_line":"It may happen that a service die after sending a cast to cinder-volume but"},{"line_number":45,"context_line":"before workflow is serialized and task marked as completed. This is very"},{"line_number":46,"context_line":"unlikely and there\u0027s no possibility of preventing it, so it will be left as it"},{"line_number":47,"context_line":"is. However when restarting and the volume will have host already marked in the"},{"line_number":48,"context_line":"DB, same host will be choosen (without filtering)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Context object will be serialized using to_dict() method before passing into"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da86d52c_f21cc36c","line":47,"updated":"2015-02-10 06:21:32.000000000","message":"/when restarting and the volume will have host/when restarting the scheduler, the volume will have a host/","commit_id":"092cdb0de5293d71173f81f23b3cb34b120f4348"}]}
