)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7160,"name":"arkady kanevsky","email":"akanevsk@redhat.com","username":"arkady"},"change_message_id":"b966d1900c1dd1fdeea95bcc4892f5217de3161e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Dell EMC SC: Raise on _init_volume create_snapshot failure"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If init_volume fails to activate a volume when creating a snapshot"},{"line_number":10,"context_line":"we now raise with the message \u0027Unable to create snapshot from empty"},{"line_number":11,"context_line":"volume.\u0027"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I6c6e0ce990f1c251ca1332f5d131e08275b55f03"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"bff0334d_b3753934","line":10,"range":{"start_line":10,"start_character":7,"end_line":10,"end_character":18},"updated":"2017-04-12 19:32:45.000000000","message":"raise exception with","commit_id":"de7f83c08b8e424fff29d651fa2ca3048b62786d"}],"cinder/volume/drivers/dell/dell_storagecenter_api.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"7fec2b83a8fd1c93e01a012e8e70338a29a37123","unresolved":false,"context_lines":[{"line_number":2015,"context_line":"                if not self._is_active(scvolume):"},{"line_number":2016,"context_line":"                    raise exception.VolumeBackendAPIException("},{"line_number":2017,"context_line":"                        message\u003d("},{"line_number":2018,"context_line":"                            \u0027Unable to create snapshot from empty volume. %s\u0027"},{"line_number":2019,"context_line":"                            % scvolume[\u0027name\u0027]))"},{"line_number":2020,"context_line":"            # We have a volume and it is initialized."},{"line_number":2021,"context_line":"            payload \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_0076cd70","line":2018,"range":{"start_line":2018,"start_character":28,"end_line":2018,"end_character":29},"updated":"2017-04-12 18:46:40.000000000","message":"Needs _() marker.","commit_id":"32a877241d8b08b8fef8c97a32a64b78dd467b94"},{"author":{"_account_id":12112,"name":"Tom Swanson","email":"tom_swanson@dell.com","username":"tomswanson"},"change_message_id":"e6d0f1521e33d880888a1024f094efc71d593a2d","unresolved":false,"context_lines":[{"line_number":2015,"context_line":"                if not self._is_active(scvolume):"},{"line_number":2016,"context_line":"                    raise exception.VolumeBackendAPIException("},{"line_number":2017,"context_line":"                        message\u003d("},{"line_number":2018,"context_line":"                            \u0027Unable to create snapshot from empty volume. %s\u0027"},{"line_number":2019,"context_line":"                            % scvolume[\u0027name\u0027]))"},{"line_number":2020,"context_line":"            # We have a volume and it is initialized."},{"line_number":2021,"context_line":"            payload \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_33ca49a0","line":2018,"range":{"start_line":2018,"start_character":28,"end_line":2018,"end_character":29},"in_reply_to":"bff0334d_0076cd70","updated":"2017-04-12 19:23:53.000000000","message":"Done","commit_id":"32a877241d8b08b8fef8c97a32a64b78dd467b94"},{"author":{"_account_id":10379,"name":"Rajini Karthik","email":"rrajini@gmail.com","username":"rajinir"},"change_message_id":"d3f8c88e1c916415e438a84a0f569ea371eb0220","unresolved":false,"context_lines":[{"line_number":2015,"context_line":"                if not self._is_active(scvolume):"},{"line_number":2016,"context_line":"                    raise exception.VolumeBackendAPIException("},{"line_number":2017,"context_line":"                        message\u003d("},{"line_number":2018,"context_line":"                            \u0027Unable to create snapshot from empty volume. %s\u0027"},{"line_number":2019,"context_line":"                            % scvolume[\u0027name\u0027]))"},{"line_number":2020,"context_line":"            # We have a volume and it is initialized."},{"line_number":2021,"context_line":"            payload \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_d391dd53","line":2018,"range":{"start_line":2018,"start_character":28,"end_line":2018,"end_character":29},"in_reply_to":"bff0334d_33ca49a0","updated":"2017-04-12 19:30:46.000000000","message":"Its not obvious if the volume is empty. I see you are only checking for active and replayAllowed. Is there a volume size you can check for?","commit_id":"32a877241d8b08b8fef8c97a32a64b78dd467b94"}]}
