)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"09aabfee302fc0f8c05ea072eea1a06bb1fb065b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"snapshot is in status \"available\". If the snapshot is in state \"creating\""},{"line_number":14,"context_line":"for let\u0027s say 30sec, the server created L200 will fail to boot with message:"},{"line_number":15,"context_line":"InvalidInput: Invalid input received: Invalid snapshot: Originating snapshot status must be one of\u0027available\u0027 values (HTTP 400)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I409eb77475ec3662f395fe0b52c5e03308c48973"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da20952f_a3ff41a9","line":16,"updated":"2015-08-27 19:36:53.000000000","message":"track against bug 1489581 so we can fingerprint in elastic-recheck","commit_id":"c5fcb89060b18200f818fe6a65499476136529a9"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"5726cf210cda3b5757d63f61bd5c8ad5dbd666c8","unresolved":false,"context_lines":[{"line_number":13,"context_line":"snapshot is in status \"available\". If the snapshot is in state \"creating\""},{"line_number":14,"context_line":"for let\u0027s say 30sec, the server created L200 will fail to boot with message:"},{"line_number":15,"context_line":"InvalidInput: Invalid input received: Invalid snapshot: Originating snapshot status must be one of\u0027available\u0027 values (HTTP 400)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I409eb77475ec3662f395fe0b52c5e03308c48973"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da20952f_e378d92d","line":16,"in_reply_to":"da20952f_a3ff41a9","updated":"2015-08-27 19:38:57.000000000","message":"do you mean Related-Bug? or Closes-Bug? or something else?\nsorry for misunderstanding...","commit_id":"c5fcb89060b18200f818fe6a65499476136529a9"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"78987e5eda0b2816344a87a566025318187f31b6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"snapshot is in status \"available\". If the snapshot is in state \"creating\""},{"line_number":14,"context_line":"for let\u0027s say 30sec, the server created L200 will fail to boot with message:"},{"line_number":15,"context_line":"InvalidInput: Invalid input received: Invalid snapshot: Originating snapshot status must be one of\u0027available\u0027 values (HTTP 400)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I409eb77475ec3662f395fe0b52c5e03308c48973"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da20952f_83dc7d13","line":16,"in_reply_to":"da20952f_e378d92d","updated":"2015-08-27 19:40:23.000000000","message":"ok, i\u0027ve understood","commit_id":"c5fcb89060b18200f818fe6a65499476136529a9"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"7183f01121817958d73f69a55dc0983edc54a0da","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Code creates an image, but after, it doesn\u0027t wait that the volume"},{"line_number":13,"context_line":"snapshot is in status \"available\". If the snapshot is in state \"creating\""},{"line_number":14,"context_line":"for let\u0027s say 30sec, the server created L200 will fail to boot with message:"},{"line_number":15,"context_line":"InvalidInput: Invalid input received: Invalid snapshot: Originating snapshot status must be one of\u0027available\u0027 values (HTTP 400)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I409eb77475ec3662f395fe0b52c5e03308c48973"},{"line_number":18,"context_line":"Closes-Bug: #1489581"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da20952f_83079d1b","line":15,"updated":"2015-08-27 19:47:57.000000000","message":"nit: should probably wrap this line at 80 chars","commit_id":"15e26fd58c90b587c172d0f04f9f1b088a717414"}],"tempest/scenario/manager.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"b467a770bbc8942fb048e0ecd7d5531d23f81ace","unresolved":false,"context_lines":[{"line_number":429,"context_line":"                self.addCleanup("},{"line_number":430,"context_line":"                    self.delete_wrapper, self.snapshots_client.delete_snapshot,"},{"line_number":431,"context_line":"                    snapshot_id)"},{"line_number":432,"context_line":"                self.snapshots_client.wait_for_snapshot_status(snapshot_id,"},{"line_number":433,"context_line":"                                                               \u0027available\u0027)"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"        image_name \u003d snapshot_image[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"da20952f_c3559550","line":432,"updated":"2015-08-27 19:42:54.000000000","message":"Seems nova should be doing this wait, I\u0027m not sure why this isn\u0027t happening from here:\n\nhttp://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n1371\n\nShould be used here:\n\nhttp://git.openstack.org/cgit/openstack/nova/tree/nova/virt/block_device.py#n338","commit_id":"15e26fd58c90b587c172d0f04f9f1b088a717414"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"79f1149021f53eeaea79723cfb697da2e5e3bbec","unresolved":false,"context_lines":[{"line_number":429,"context_line":"                self.addCleanup("},{"line_number":430,"context_line":"                    self.delete_wrapper, self.snapshots_client.delete_snapshot,"},{"line_number":431,"context_line":"                    snapshot_id)"},{"line_number":432,"context_line":"                self.snapshots_client.wait_for_snapshot_status(snapshot_id,"},{"line_number":433,"context_line":"                                                               \u0027available\u0027)"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"        image_name \u003d snapshot_image[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"da20952f_fecab06d","line":432,"in_reply_to":"da20952f_634e0998","updated":"2015-08-27 19:56:02.000000000","message":"I agree with you. According to stack trace (that was published by JordanP) it happens before nova calls wait for volume.\nBut I don\u0027t know should nova wait for snapshot or not. Nova doesn\u0027t know about snapshot - it has image only (and image can consist information about snapshot)","commit_id":"15e26fd58c90b587c172d0f04f9f1b088a717414"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"dccfbba94a53635dc3beb76b39820d5204aa5f8f","unresolved":false,"context_lines":[{"line_number":429,"context_line":"                self.addCleanup("},{"line_number":430,"context_line":"                    self.delete_wrapper, self.snapshots_client.delete_snapshot,"},{"line_number":431,"context_line":"                    snapshot_id)"},{"line_number":432,"context_line":"                self.snapshots_client.wait_for_snapshot_status(snapshot_id,"},{"line_number":433,"context_line":"                                                               \u0027available\u0027)"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"        image_name \u003d snapshot_image[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"da20952f_634e0998","line":432,"in_reply_to":"da20952f_c3559550","updated":"2015-08-27 19:47:06.000000000","message":"After talking to jordanP, I guess the gap on the nova side is nova is given a volume snapshot to create the volume for the bdm and the snapshot is not \u0027available\u0027 yet so the volume create fails - nova could be checking the status of the snapshot and waiting for it to be available, like what it does when waiting for the volume it created to be available.  That seems like a lower priority bug for nova, but something that could be addressed with a simple wait function.","commit_id":"15e26fd58c90b587c172d0f04f9f1b088a717414"}]}
