)]}'
{"nova/tests/virt/xenapi/test_vm_utils.py":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"1f1903e9b892677b3e8e11e1efb8e613d25c7726","unresolved":false,"context_lines":[{"line_number":997,"context_line":"            vbd_rec \u003d self.session.call_xenapi(\"VBD.get_record\", vbd_ref)"},{"line_number":998,"context_line":"            self.assertEqual(self.vm_ref, vbd_rec[\u0027VM\u0027])"},{"line_number":999,"context_line":"        else:"},{"line_number":1000,"context_line":"            self.assertEqual(0, len(vdi_rec[\"VBDs\"]))"},{"line_number":1001,"context_line":""},{"line_number":1002,"context_line":"    @test_xenapi.stub_vm_utils_with_vdi_attached_here"},{"line_number":1003,"context_line":"    def test_generate_disk_with_no_fs_given(self):"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAATn%2F%2FLsU%3D","line":1000,"updated":"2013-11-13 09:12:14.000000000","message":"This will fail more clearly as:\n\n self.assertThat(vdi_rec[\"VBDs\"], HasLength(0))\n\nto get HasLength:\n\n from testtools.matchers import HasLength #noqa","commit_id":"ce591ef8645266e50f82762440c04544b687cd91"}],"nova/virt/xenapi/vmops.py":[{"author":{"_account_id":2271,"name":"Michael Still","email":"mikal@stillhq.com","username":"mikalstill"},"change_message_id":"7ece43dcb683de7b3bfbd421d955a33411184cc3","unresolved":false,"context_lines":[{"line_number":1101,"context_line":"                else:"},{"line_number":1102,"context_line":"                    LOG.debug(\"Generating new ephemeral vdi %d during resize\","},{"line_number":1103,"context_line":"                              userdevice, instance\u003dinstance)"},{"line_number":1104,"context_line":"                    # NOTE(johngarbutt) we generate but don\u0027t attached"},{"line_number":1105,"context_line":"                    # the new disk to make up any additional ephemeral space"},{"line_number":1106,"context_line":"                    vdi_ref \u003d vm_utils.generate_single_ephemeral("},{"line_number":1107,"context_line":"                        self._session, instance, None, userdevice, new_size)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAATn%2F%2F1mc%3D","line":1104,"updated":"2013-10-28 07:37:20.000000000","message":"s/attach/resize/, right?","commit_id":"d8fc30b1ffc007323b9e2bf396af00b28abc8829"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"90a6fe8d24ec9b24c5269ad206eb3438e7466f36","unresolved":false,"context_lines":[{"line_number":1101,"context_line":"                else:"},{"line_number":1102,"context_line":"                    LOG.debug(\"Generating new ephemeral vdi %d during resize\","},{"line_number":1103,"context_line":"                              userdevice, instance\u003dinstance)"},{"line_number":1104,"context_line":"                    # NOTE(johngarbutt) we generate but don\u0027t attached"},{"line_number":1105,"context_line":"                    # the new disk to make up any additional ephemeral space"},{"line_number":1106,"context_line":"                    vdi_ref \u003d vm_utils.generate_single_ephemeral("},{"line_number":1107,"context_line":"                        self._session, instance, None, userdevice, new_size)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAATn%2F%2FvGM%3D","line":1104,"in_reply_to":"AAAATn%2F%2F1mc%3D","updated":"2013-10-29 18:15:22.000000000","message":"well, its not actually attached to the VM here, that is done later.","commit_id":"d8fc30b1ffc007323b9e2bf396af00b28abc8829"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"1f1903e9b892677b3e8e11e1efb8e613d25c7726","unresolved":false,"context_lines":[{"line_number":1071,"context_line":"                else:"},{"line_number":1072,"context_line":"                    LOG.debug(\"Generating new ephemeral vdi %d during resize\","},{"line_number":1073,"context_line":"                              userdevice, instance\u003dinstance)"},{"line_number":1074,"context_line":"                    # NOTE(johngarbutt) we generate but don\u0027t attached"},{"line_number":1075,"context_line":"                    # the new disk to make up any additional ephemeral space"},{"line_number":1076,"context_line":"                    vdi_ref \u003d vm_utils.generate_single_ephemeral("},{"line_number":1077,"context_line":"                        self._session, instance, None, userdevice, new_size)"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAATn%2F%2FLpk%3D","line":1074,"updated":"2013-11-13 09:12:14.000000000","message":"Grammar error - attach","commit_id":"ce591ef8645266e50f82762440c04544b687cd91"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a0c98a355661cd2707d782e4f469da5cffa371b2","unresolved":false,"context_lines":[{"line_number":1002,"context_line":"        new_gb \u003d instance_type[\"ephemeral_gb\"]"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"        if old_gb \u003e new_gb:"},{"line_number":1005,"context_line":"            reason \u003d _(\"Unable to resize ephemeral disks\")"},{"line_number":1006,"context_line":"            raise exception.ResizeError(reason)"},{"line_number":1007,"context_line":""},{"line_number":1008,"context_line":"    def migrate_disk_and_power_off(self, context, instance, dest,"}],"source_content_type":"text/x-python","patch_set":11,"id":"AAAATn%2F9%2FWg%3D","line":1005,"updated":"2013-12-03 18:06:40.000000000","message":"Hmm, this should probably change to \"Unable to downsize ephemeral disks\" or something, right?","commit_id":"e4a54800697dd407003578932c24b4d1fe8926f5"}]}
