)]}'
{".zuul.yaml":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"4a8e8c8688eec5aafc3cfd34b8e4bb5cf9e0d1a4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":28,"id":"9fdfeff1_ad1093a9","updated":"2019-01-29 22:38:05.000000000","message":"Working with the zfsonlinux job. We can now revert changes to this file.","commit_id":"c403f256eec9ea60243005259bba00ecb110e250"}],"manila_tempest_tests/tests/scenario/manager_share.py":[{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                            ssh_user\u003dself.ssh_user))"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        self.security_group \u003d self._create_security_group()"},{"line_number":105,"context_line":"        self.share_network \u003d self.create_share_network()"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def mount_share(self, location, remote_client, target_dir\u003dNone):"},{"line_number":108,"context_line":"        raise NotImplementedError"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_702496c3","line":105,"range":{"start_line":105,"start_character":8,"end_line":105,"end_character":56},"updated":"2018-07-06 23:01:53.000000000","message":"We only need to create a share network if our backend under test is running in DHSS\u003dTrue mode. We should add a check for that here.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"041ad1578923db1e436c02756dc1ca6b8590c0a5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                            ssh_user\u003dself.ssh_user))"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        self.security_group \u003d self._create_security_group()"},{"line_number":105,"context_line":"        self.share_network \u003d self.create_share_network()"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def mount_share(self, location, remote_client, target_dir\u003dNone):"},{"line_number":108,"context_line":"        raise NotImplementedError"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_9079a583","line":105,"range":{"start_line":105,"start_character":8,"end_line":105,"end_character":56},"in_reply_to":"5f7c97a3_702496c3","updated":"2018-07-16 15:02:28.000000000","message":"Done - also moved up the call to self._create_network() which is needed regardless of DHSS","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    def mount_share(self, location, remote_client, target_dir\u003dNone):"},{"line_number":108,"context_line":"        raise NotImplementedError"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    def umount_share(self, remote_client, target_dir\u003dNone):"},{"line_number":111,"context_line":"        target_dir \u003d target_dir or \"/mnt\""},{"line_number":112,"context_line":"        remote_client.exec_command(\"sudo umount %s\" % target_dir)"},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_dced8124","line":110,"range":{"start_line":110,"start_character":8,"end_line":110,"end_character":20},"updated":"2018-07-06 23:01:53.000000000","message":"This should be updated to unmount_share.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"041ad1578923db1e436c02756dc1ca6b8590c0a5","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    def mount_share(self, location, remote_client, target_dir\u003dNone):"},{"line_number":108,"context_line":"        raise NotImplementedError"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    def umount_share(self, remote_client, target_dir\u003dNone):"},{"line_number":111,"context_line":"        target_dir \u003d target_dir or \"/mnt\""},{"line_number":112,"context_line":"        remote_client.exec_command(\"sudo umount %s\" % target_dir)"},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_90ee851f","line":110,"range":{"start_line":110,"start_character":8,"end_line":110,"end_character":20},"in_reply_to":"5f7c97a3_dced8124","updated":"2018-07-16 15:02:28.000000000","message":"Done","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                                   .format(escaped_string\u003descaped_string,"},{"line_number":178,"context_line":"                                           mount_point\u003dmount_point))"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def write_data_to_mounted_share_using_dd(self, block_count, mount_point,"},{"line_number":181,"context_line":"                                             remote_client):"},{"line_number":182,"context_line":"        remote_client.exec_command(\"sudo sh -c \\\"dd bs\u003d1024 count\u003d%s\""},{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_1c753998","line":181,"range":{"start_line":180,"start_character":0,"end_line":181,"end_character":60},"updated":"2018-07-06 23:01:53.000000000","message":"We should add some doctext to this method to help others understand what this is doing. We can also add an example for how to write 512MB of data to it as well.\n\nWe might also want to add an \"input_file\" parameter to this method so that a developer could select which source to grab data from other than just defaulting to /dev/zero.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"041ad1578923db1e436c02756dc1ca6b8590c0a5","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                                   .format(escaped_string\u003descaped_string,"},{"line_number":178,"context_line":"                                           mount_point\u003dmount_point))"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def write_data_to_mounted_share_using_dd(self, block_count, mount_point,"},{"line_number":181,"context_line":"                                             remote_client):"},{"line_number":182,"context_line":"        remote_client.exec_command(\"sudo sh -c \\\"dd bs\u003d1024 count\u003d%s\""},{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_d0471d7a","line":181,"range":{"start_line":180,"start_character":0,"end_line":181,"end_character":60},"in_reply_to":"5f7c97a3_1c753998","updated":"2018-07-16 15:02:28.000000000","message":"Ok - trying out a new version.\nIf I remember correctly Tatyana has used redirection in order ot block execution until dd was done.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"d8bc8e64f259154729cb6a8c01187d46103ddabf","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                                   .format(escaped_string\u003descaped_string,"},{"line_number":178,"context_line":"                                           mount_point\u003dmount_point))"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def write_data_to_mounted_share_using_dd(self, block_count, mount_point,"},{"line_number":181,"context_line":"                                             remote_client):"},{"line_number":182,"context_line":"        remote_client.exec_command(\"sudo sh -c \\\"dd bs\u003d1024 count\u003d%s\""},{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_c2b6418a","line":181,"range":{"start_line":180,"start_character":0,"end_line":181,"end_character":60},"in_reply_to":"5f7c97a3_d0471d7a","updated":"2018-07-16 21:13:12.000000000","message":"Oooh, that\u0027s clever! I say we do it like that then!","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":180,"context_line":"    def write_data_to_mounted_share_using_dd(self, block_count, mount_point,"},{"line_number":181,"context_line":"                                             remote_client):"},{"line_number":182,"context_line":"        remote_client.exec_command(\"sudo sh -c \\\"dd bs\u003d1024 count\u003d%s\""},{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"    def read_data_from_mounted_share(self,"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_304e1e96","line":183,"range":{"start_line":183,"start_character":37,"end_line":183,"end_character":59},"updated":"2018-07-06 23:01:53.000000000","message":"Could we use the \"if\" and \"of\" parameters to dd here instead of redirection?","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"041ad1578923db1e436c02756dc1ca6b8590c0a5","unresolved":false,"context_lines":[{"line_number":180,"context_line":"    def write_data_to_mounted_share_using_dd(self, block_count, mount_point,"},{"line_number":181,"context_line":"                                             remote_client):"},{"line_number":182,"context_line":"        remote_client.exec_command(\"sudo sh -c \\\"dd bs\u003d1024 count\u003d%s\""},{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"    def read_data_from_mounted_share(self,"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_d02cfdb3","line":183,"range":{"start_line":183,"start_character":37,"end_line":183,"end_character":59},"in_reply_to":"5f7c97a3_304e1e96","updated":"2018-07-16 15:02:28.000000000","message":"Testing a new version using these params","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":183,"context_line":"                                   \" \u003c/dev/zero \u003e /mnt/%s\\\"\" %"},{"line_number":184,"context_line":"                                   (block_count, mount_point))"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"    def read_data_from_mounted_share(self,"},{"line_number":187,"context_line":"                                     remote_client,"},{"line_number":188,"context_line":"                                     mount_point\u003d\u0027/mnt/t1\u0027):"},{"line_number":189,"context_line":"        data \u003d remote_client.exec_command(\"sudo cat {mount_point}\""}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_9c3f09b4","line":186,"range":{"start_line":186,"start_character":8,"end_line":186,"end_character":36},"updated":"2018-07-06 23:01:53.000000000","message":"All of these methods that rely on the remote_client all put it in different places in their method signatures. We should make them consistent. I would suggest either as the first parameter or the last one.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        return self.os_primary.servers_client.show_server("},{"line_number":311,"context_line":"            instance_id)[\"server\"]"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    def _get_share_type(self):"},{"line_number":314,"context_line":"        if CONF.share.default_share_type_name:"},{"line_number":315,"context_line":"            return self.shares_client.get_share_type("},{"line_number":316,"context_line":"                CONF.share.default_share_type_name)[\u0027share_type\u0027]"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_7cdc6d70","line":313,"range":{"start_line":313,"start_character":8,"end_line":313,"end_character":23},"updated":"2018-07-06 23:01:53.000000000","message":"Any reason why this is a \"private\" method?","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"041ad1578923db1e436c02756dc1ca6b8590c0a5","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        return self.os_primary.servers_client.show_server("},{"line_number":311,"context_line":"            instance_id)[\"server\"]"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    def _get_share_type(self):"},{"line_number":314,"context_line":"        if CONF.share.default_share_type_name:"},{"line_number":315,"context_line":"            return self.shares_client.get_share_type("},{"line_number":316,"context_line":"                CONF.share.default_share_type_name)[\u0027share_type\u0027]"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_2362a416","line":313,"range":{"start_line":313,"start_character":8,"end_line":313,"end_character":23},"in_reply_to":"5f7c97a3_7cdc6d70","updated":"2018-07-16 15:02:28.000000000","message":"None - fixed :)","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"58f9b15db34c6dc15045fb22919b830b751a5adf","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                            ssh_user\u003dself.ssh_user))"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        self.security_group \u003d self._create_security_group()"},{"line_number":105,"context_line":"        self.net \u003d self._create_network(namestart\u003d\"manila-share\")"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"        if CONF.share.multitenancy_enabled:"},{"line_number":108,"context_line":"            # Skip if DHSS\u003dFalse"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_eefef537","line":105,"range":{"start_line":105,"start_character":13,"end_line":105,"end_character":16},"updated":"2018-07-16 21:11:41.000000000","message":"Let\u0027s refactor this to network to make it a little bit more explicit.","commit_id":"52dddae4db88519c6b7417d9f532b0ffa0406eff"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"58f9b15db34c6dc15045fb22919b830b751a5adf","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        self.net \u003d self._create_network(namestart\u003d\"manila-share\")"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"        if CONF.share.multitenancy_enabled:"},{"line_number":108,"context_line":"            # Skip if DHSS\u003dFalse"},{"line_number":109,"context_line":"            self.share_network \u003d self.create_share_network()"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def mount_share(self, location, remote_client, target_dir\u003dNone):"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_91fd2609","line":108,"range":{"start_line":108,"start_character":12,"end_line":108,"end_character":32},"updated":"2018-07-16 21:11:41.000000000","message":"Let\u0027s move this comment above the if statement and make it clear what we\u0027re skipping and why. Something like:\n\n # Share network is only needed when DHSS\u003dTrue","commit_id":"52dddae4db88519c6b7417d9f532b0ffa0406eff"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"58f9b15db34c6dc15045fb22919b830b751a5adf","unresolved":false,"context_lines":[{"line_number":184,"context_line":"                                             output_file,"},{"line_number":185,"context_line":"                                             block_count,"},{"line_number":186,"context_line":"                                             input_file\u003d\u0027/dev/zero\u0027):"},{"line_number":187,"context_line":"        \"\"\""},{"line_number":188,"context_line":"        Example Usage for writing 512Mb to a file on /mnt"},{"line_number":189,"context_line":"        (remote_client, block_count\u003d512000, output_file\u003d\u0027/mnt/512mb_of_zeros\u0027,"},{"line_number":190,"context_line":"        input_file\u003d\u0027/dev/zero\u0027)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"        :param remote_client: An SSH client"},{"line_number":193,"context_line":"        :param output_file: /mnt/filename for example"},{"line_number":194,"context_line":"        :param block_count: 512000 means 512Mb"},{"line_number":195,"context_line":"        :param input_file: File to write, defaults to /dev/zero"},{"line_number":196,"context_line":"        \"\"\""},{"line_number":197,"context_line":"        remote_client.exec_command("},{"line_number":198,"context_line":"            \"sudo sh -c \\\"dd bs\u003d1024 count\u003d{} if\u003d{} of\u003d{} conv\u003dfsync\\\"\""},{"line_number":199,"context_line":"            .format(block_count, input_file, output_file))"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_6023ceab","line":196,"range":{"start_line":187,"start_character":8,"end_line":196,"end_character":11},"updated":"2018-07-16 21:11:41.000000000","message":"Looks like the linter and hacking checks don\u0027t like the format of this doctext. I did a little messing around with it after looking at the hacking checks for docstrings https://docs.openstack.org/hacking/latest/user/hacking.html#docstrings it looks like we could do something like this:\n\n \"\"\"Writes data to mounted share using dd command\n \n Example Usage for writing 512Mb to a file on /mnt/\n (remote_client, block_size\u003d1024, block_count\u003d512000,\n output_file\u003d\u0027/mnt/512mb_of_zeros\u0027, input_file\u003d\u0027/dev/zero\u0027)\n\n\n For more information, refer to the dd man page.\n \n :param remote_client: An SSH client connection to the Nova instance\n :param block_size: The size of an individual block in bytes\n :param block_count: The number of blocks to write\n :param output_file: Path to the file to be written\n :param input_file: Path to the file to read from\n \"\"\"","commit_id":"52dddae4db88519c6b7417d9f532b0ffa0406eff"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"58f9b15db34c6dc15045fb22919b830b751a5adf","unresolved":false,"context_lines":[{"line_number":195,"context_line":"        :param input_file: File to write, defaults to /dev/zero"},{"line_number":196,"context_line":"        \"\"\""},{"line_number":197,"context_line":"        remote_client.exec_command("},{"line_number":198,"context_line":"            \"sudo sh -c \\\"dd bs\u003d1024 count\u003d{} if\u003d{} of\u003d{} conv\u003dfsync\\\"\""},{"line_number":199,"context_line":"            .format(block_count, input_file, output_file))"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    def read_data_from_mounted_share(self,"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_116036d0","line":198,"range":{"start_line":198,"start_character":29,"end_line":198,"end_character":36},"updated":"2018-07-16 21:11:41.000000000","message":"We should probably provide the ability to also specify a block size here as well. We can add it to the method parameters here.","commit_id":"52dddae4db88519c6b7417d9f532b0ffa0406eff"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"6f0887bd60017f93120019815c36ef365484de34","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                                            ssh_user\u003dself.ssh_user))"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        self.security_group \u003d self._create_security_group()"},{"line_number":105,"context_line":"        self.network \u003d self._create_network(namestart\u003d\"manila-share\")"},{"line_number":106,"context_line":"        self.subnet \u003d self._create_subnet("},{"line_number":107,"context_line":"            network\u003dself.network,"},{"line_number":108,"context_line":"            namestart\u003d\"manila-share-sub\","}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_309eac06","line":105,"range":{"start_line":105,"start_character":28,"end_line":105,"end_character":43},"updated":"2018-07-24 14:01:04.000000000","message":"Should this method be \"private?\" It looks like we\u0027d likely want to refactor this method to remove the implicit private indicated by the leading underscore.","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"6f0887bd60017f93120019815c36ef365484de34","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        self.security_group \u003d self._create_security_group()"},{"line_number":105,"context_line":"        self.network \u003d self._create_network(namestart\u003d\"manila-share\")"},{"line_number":106,"context_line":"        self.subnet \u003d self._create_subnet("},{"line_number":107,"context_line":"            network\u003dself.network,"},{"line_number":108,"context_line":"            namestart\u003d\"manila-share-sub\","},{"line_number":109,"context_line":"            ip_version\u003dself.ip_version,"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_10b29097","line":106,"range":{"start_line":106,"start_character":27,"end_line":106,"end_character":41},"updated":"2018-07-24 14:01:04.000000000","message":"Same as the above; we should remove the leading underscore to indicate that this should actually be a public method.","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"4a8e8c8688eec5aafc3cfd34b8e4bb5cf9e0d1a4","unresolved":false,"context_lines":[{"line_number":356,"context_line":"    def _create_share(self, share_protocol\u003dNone, size\u003dNone, name\u003dNone,"},{"line_number":357,"context_line":"                      snapshot_id\u003dNone, description\u003dNone, metadata\u003dNone,"},{"line_number":358,"context_line":"                      share_network_id\u003dNone, share_type_id\u003dNone,"},{"line_number":359,"context_line":"                      client\u003dNone, cleanup_in_class\u003dTrue):"},{"line_number":360,"context_line":"        \"\"\"Create a share"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"        :param share_protocol: NFS or CIFS"}],"source_content_type":"text/x-python","patch_set":28,"id":"9fdfeff1_2dc0232a","line":359,"range":{"start_line":359,"start_character":34,"end_line":359,"end_character":56},"updated":"2019-01-29 22:38:05.000000000","message":"this was unused previously, can you change this to \"cleanup\"\n\n\"cleanup_in_class\" means a very specific thing in these tests; since you\u0027re skipping cleanup altogether if this is set to False, go ahead and just call it \"cleanup\"","commit_id":"c403f256eec9ea60243005259bba00ecb110e250"}],"manila_tempest_tests/tests/scenario/test_share_manage_unmanage.py":[{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    \"\"\""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    @tc.attr(base.TAG_POSITIVE, base.TAG_BACKEND)"},{"line_number":57,"context_line":"    @testtools.skipUnless("},{"line_number":58,"context_line":"        CONF.share.run_manage_unmanage_tests,"},{"line_number":59,"context_line":"        \"Manage/unmanage tests are disabled.\")"},{"line_number":60,"context_line":"    def test_create_manage_and_write(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_b391d89c","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":26},"updated":"2018-07-06 23:01:53.000000000","message":"We should also skip this test if we\u0027re running in DHSS\u003dTrue mode. According to the spec, this test only applies to DHSS\u003dFalse operating modes.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    \"\"\""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    @tc.attr(base.TAG_POSITIVE, base.TAG_BACKEND)"},{"line_number":57,"context_line":"    @testtools.skipUnless("},{"line_number":58,"context_line":"        CONF.share.run_manage_unmanage_tests,"},{"line_number":59,"context_line":"        \"Manage/unmanage tests are disabled.\")"},{"line_number":60,"context_line":"    def test_create_manage_and_write(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_445fe1e3","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":26},"in_reply_to":"5f7c97a3_b391d89c","updated":"2018-07-24 19:58:14.000000000","message":"Fixed","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dFalse)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        LOG.debug(\u0027Step 3 - wait for active instance\u0027)"},{"line_number":70,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"},{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_c1703add","line":69,"range":{"start_line":69,"start_character":0,"end_line":69,"end_character":54},"updated":"2018-07-06 23:01:53.000000000","message":"According to the spec, step 3 is \"Providing RW access to S1\"","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dFalse)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        LOG.debug(\u0027Step 3 - wait for active instance\u0027)"},{"line_number":70,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"},{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_a444b51b","line":69,"range":{"start_line":69,"start_character":0,"end_line":69,"end_character":54},"in_reply_to":"5f7c97a3_c1703add","updated":"2018-07-24 19:58:14.000000000","message":"Fixed","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"},{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        LOG.debug(\u0027Step 4 - grant access\u0027)"},{"line_number":74,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_8176c2d4","line":73,"range":{"start_line":73,"start_character":0,"end_line":73,"end_character":42},"updated":"2018-07-06 23:01:53.000000000","message":"According to the spec, step 4 is \"SSH to UVM\"","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"},{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        LOG.debug(\u0027Step 4 - grant access\u0027)"},{"line_number":74,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_644e9d3a","line":73,"range":{"start_line":73,"start_character":0,"end_line":73,"end_character":42},"in_reply_to":"5f7c97a3_8176c2d4","updated":"2018-07-24 19:58:14.000000000","message":"Fixed","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        LOG.debug(\u0027Step 4 - grant access\u0027)"},{"line_number":74,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"},{"line_number":77,"context_line":"            locations \u003d self.share[\u0027export_locations\u0027]"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_7c11cdf7","line":74,"range":{"start_line":74,"start_character":13,"end_line":74,"end_character":49},"updated":"2018-07-06 23:01:53.000000000","message":"What makes the instance that we created auxiliary?","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        LOG.debug(\u0027Step 4 - grant access\u0027)"},{"line_number":74,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"},{"line_number":77,"context_line":"            locations \u003d self.share[\u0027export_locations\u0027]"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_24e3c53c","line":74,"range":{"start_line":74,"start_character":13,"end_line":74,"end_character":49},"in_reply_to":"5f7c97a3_7c11cdf7","updated":"2018-07-24 19:58:14.000000000","message":"That\u0027s true - looks like I can just remove the work auxiliary from the method name. What do you think ?","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            self.mount_share(location, remote_client)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"            LOG.debug(\u0027Step 6a - create file\u0027)"},{"line_number":88,"context_line":"            remote_client.exec_command(\"sudo touch /mnt/t1\")"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"            LOG.debug(\u0027Step 6b - write data\u0027)"},{"line_number":91,"context_line":"            LOG.debug(\u0027Step 6b - writing 640mb\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_e13536f7","line":88,"range":{"start_line":88,"start_character":0,"end_line":88,"end_character":60},"updated":"2018-07-06 23:01:53.000000000","message":"This command will fail if a different target_dir is specified in the mount_share() method.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            self.mount_share(location, remote_client)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"            LOG.debug(\u0027Step 6a - create file\u0027)"},{"line_number":88,"context_line":"            remote_client.exec_command(\"sudo touch /mnt/t1\")"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"            LOG.debug(\u0027Step 6b - write data\u0027)"},{"line_number":91,"context_line":"            LOG.debug(\u0027Step 6b - writing 640mb\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_247e656d","line":88,"range":{"start_line":88,"start_character":0,"end_line":88,"end_character":60},"in_reply_to":"5f7c97a3_e13536f7","updated":"2018-07-24 19:58:14.000000000","message":"WIP","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            LOG.debug(\u0027Step 6b - writing 640mb\u0027)"},{"line_number":92,"context_line":"            self.write_data_to_mounted_share_using_dd(640000, \"t1\","},{"line_number":93,"context_line":"                                                      remote_client)"},{"line_number":94,"context_line":"            ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":95,"context_line":"            LOG.debug(ls_result)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"            LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_bca8c5d8","line":94,"range":{"start_line":94,"start_character":52,"end_line":94,"end_character":56},"updated":"2018-07-06 23:01:53.000000000","message":"Is this sudo necessary?","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            LOG.debug(\u0027Step 6b - writing 640mb\u0027)"},{"line_number":92,"context_line":"            self.write_data_to_mounted_share_using_dd(640000, \"t1\","},{"line_number":93,"context_line":"                                                      remote_client)"},{"line_number":94,"context_line":"            ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":95,"context_line":"            LOG.debug(ls_result)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"            LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_c4a53103","line":94,"range":{"start_line":94,"start_character":52,"end_line":94,"end_character":56},"in_reply_to":"5f7c97a3_bca8c5d8","updated":"2018-07-24 19:58:14.000000000","message":"WIP","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":128,"context_line":"            self.mount_share(location, remote_client)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"            LOG.debug(\u0027Step 12 - verify data\u0027)"},{"line_number":131,"context_line":"            ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":132,"context_line":"            LOG.debug(ls_result)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"            LOG.debug(\u0027Step 13 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_dc54a1c8","line":131,"range":{"start_line":131,"start_character":0,"end_line":131,"end_character":71},"updated":"2018-07-06 23:01:53.000000000","message":"We get the data from the ls command here, but we do not compare it to the output from the previous ls command before re-managing the share. We should add some logic to compare this result to the one before it. Otherwise we\u0027re just verifying that the ls command succeeded.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":128,"context_line":"            self.mount_share(location, remote_client)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"            LOG.debug(\u0027Step 12 - verify data\u0027)"},{"line_number":131,"context_line":"            ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":132,"context_line":"            LOG.debug(ls_result)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"            LOG.debug(\u0027Step 13 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_04a48906","line":131,"range":{"start_line":131,"start_character":0,"end_line":131,"end_character":71},"in_reply_to":"5f7c97a3_dc54a1c8","updated":"2018-07-24 19:58:14.000000000","message":"WIP","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"            LOG.debug(\u0027Step 14 - delete share\u0027)"},{"line_number":138,"context_line":"            self.shares_admin_v2_client.delete_share(self.share[\u0027id\u0027])"},{"line_number":139,"context_line":"            self.shares_admin_v2_client.\\"},{"line_number":140,"context_line":"                wait_for_resource_deletion(self.share[\u0027id\u0027])"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"            LOG.debug(\u0027Step 15 - manage share, should fail\u0027)"},{"line_number":143,"context_line":"            self.assertRaises("}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_fc25dd5b","line":140,"range":{"start_line":139,"start_character":12,"end_line":140,"end_character":60},"updated":"2018-07-06 23:01:53.000000000","message":"It\u0027s strongly preferred to not use backslash for line continuation but rather parentheses. Looks like we can do this by moving the method call up to the previous line and just put the parameter on the next line.\n\nhttps://docs.openstack.org/hacking/latest/user/hacking.html","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"            LOG.debug(\u0027Step 14 - delete share\u0027)"},{"line_number":138,"context_line":"            self.shares_admin_v2_client.delete_share(self.share[\u0027id\u0027])"},{"line_number":139,"context_line":"            self.shares_admin_v2_client.\\"},{"line_number":140,"context_line":"                wait_for_resource_deletion(self.share[\u0027id\u0027])"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"            LOG.debug(\u0027Step 15 - manage share, should fail\u0027)"},{"line_number":143,"context_line":"            self.assertRaises("}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_e49e2db6","line":140,"range":{"start_line":139,"start_character":12,"end_line":140,"end_character":60},"in_reply_to":"5f7c97a3_fc25dd5b","updated":"2018-07-24 19:58:14.000000000","message":"Fixed","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"96b023c2b5b4441e2bf10d0516a2a8294e9a0521","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        )"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"def load_tests(loader, tests, _):"},{"line_number":178,"context_line":"    result \u003d []"},{"line_number":179,"context_line":"    for test_case in tests:"},{"line_number":180,"context_line":"        if type(test_case._tests[0]) is ShareManageUnmanageBase:"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_9ce5c90c","line":177,"range":{"start_line":177,"start_character":0,"end_line":177,"end_character":33},"updated":"2018-07-06 23:01:53.000000000","message":"We should add the note from u_glide here saying what this does from the test_share_basic_ops.py file.","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"1e1a2153ed0dc8a17267f5fd9d6b9da39b148f01","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        )"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"def load_tests(loader, tests, _):"},{"line_number":178,"context_line":"    result \u003d []"},{"line_number":179,"context_line":"    for test_case in tests:"},{"line_number":180,"context_line":"        if type(test_case._tests[0]) is ShareManageUnmanageBase:"}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_24950595","line":177,"range":{"start_line":177,"start_character":0,"end_line":177,"end_character":33},"in_reply_to":"5f7c97a3_9ce5c90c","updated":"2018-07-24 19:58:14.000000000","message":"Fixed","commit_id":"c710dacf0232bdb1a8275ee96f560d97ac1e479d"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        CONF.share.run_manage_unmanage_tests,"},{"line_number":59,"context_line":"        \"Manage/unmanage tests are disabled.\")"},{"line_number":60,"context_line":"    def test_create_manage_and_write(self):"},{"line_number":61,"context_line":"        share_size \u003d 1"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        LOG.debug(\u0027Step 1 - create instance\u0027)"},{"line_number":64,"context_line":"        instance \u003d self.boot_instance(wait_until\u003d\"BUILD\")"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_9b81f8c5","line":61,"range":{"start_line":61,"start_character":21,"end_line":61,"end_character":22},"updated":"2018-07-23 19:47:37.000000000","message":"there\u0027s a conf option for this","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        instance \u003d self.boot_instance(wait_until\u003d\"BUILD\")"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dTrue)"},{"line_number":68,"context_line":"        # Testing a fix for missing attributes in share obj"},{"line_number":69,"context_line":"        self.share \u003d self.shares_v2_client.get_share(self.share[\u0027id\u0027])"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_7b55fc51","line":67,"range":{"start_line":67,"start_character":43,"end_line":67,"end_character":59},"updated":"2018-07-23 19:47:37.000000000","message":"cleanup_in_class\u003dFalse when you\u0027re not creating a share in resource_setup()","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        instance \u003d self.boot_instance(wait_until\u003d\"BUILD\")"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dTrue)"},{"line_number":68,"context_line":"        # Testing a fix for missing attributes in share obj"},{"line_number":69,"context_line":"        self.share \u003d self.shares_v2_client.get_share(self.share[\u0027id\u0027])"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_7b7c1cea","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":65},"updated":"2018-07-23 19:47:37.000000000","message":"share \u003d self.create_share(..","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dTrue)"},{"line_number":68,"context_line":"        # Testing a fix for missing attributes in share obj"},{"line_number":69,"context_line":"        self.share \u003d self.shares_v2_client.get_share(self.share[\u0027id\u0027])"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        LOG.debug(\u0027Step 3 - wait for active instance\u0027)"},{"line_number":72,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_b66f2bc6","line":69,"range":{"start_line":69,"start_character":8,"end_line":69,"end_character":18},"updated":"2018-07-23 19:47:37.000000000","message":"here and all places below, replace self.share with share \n\nshouldn\u0027t create a class variable in a test method..","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        LOG.debug(\u0027Step 2 - create share of size {} Gb\u0027.format(share_size))"},{"line_number":67,"context_line":"        self.create_share(size\u003dshare_size, cleanup_in_class\u003dTrue)"},{"line_number":68,"context_line":"        # Testing a fix for missing attributes in share obj"},{"line_number":69,"context_line":"        self.share \u003d self.shares_v2_client.get_share(self.share[\u0027id\u0027])"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        LOG.debug(\u0027Step 3 - wait for active instance\u0027)"},{"line_number":72,"context_line":"        instance \u003d self.wait_for_active_instance(instance[\"id\"])"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_5b1b6083","line":69,"range":{"start_line":69,"start_character":53,"end_line":69,"end_character":69},"updated":"2018-07-23 19:47:37.000000000","message":"share[\u0027id\u0027]","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        remote_client \u003d self.init_remote_client(instance)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        LOG.debug(\u0027Step 4 - grant access\u0027)"},{"line_number":76,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"},{"line_number":79,"context_line":"            locations \u003d self.share[\u0027export_locations\u0027]"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_566017d1","line":76,"range":{"start_line":76,"start_character":13,"end_line":76,"end_character":49},"updated":"2018-07-23 19:47:37.000000000","message":"self.provide_access_to_auxiliary_instance(instance, share\u003dshare)","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        self.provide_access_to_auxiliary_instance(instance)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        if utils.is_microversion_lt(CONF.share.max_api_microversion, \"2.9\"):"},{"line_number":79,"context_line":"            locations \u003d self.share[\u0027export_locations\u0027]"},{"line_number":80,"context_line":"        else:"},{"line_number":81,"context_line":"            exports \u003d self.shares_v2_client.list_share_export_locations("},{"line_number":82,"context_line":"                self.share[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_bb139468","line":79,"range":{"start_line":79,"start_character":24,"end_line":79,"end_character":28},"updated":"2018-07-23 19:47:37.000000000","message":"remove self, you\u0027re not declaring the share in the init/resource_setup","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                self.share[\u0027id\u0027])"},{"line_number":83,"context_line":"            locations \u003d [x[\u0027path\u0027] for x in exports]"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        for location in locations:"},{"line_number":86,"context_line":"            LOG.debug(\u0027Step 5 - mount\u0027)"},{"line_number":87,"context_line":"            self.mount_share(location, remote_client)"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_3bd464bc","line":85,"range":{"start_line":85,"start_character":0,"end_line":85,"end_character":34},"updated":"2018-07-23 19:47:37.000000000","message":"for each location? you can just mount locations[0]","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":108,"context_line":"                share_id\u003dself.share[\u0027id\u0027])"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"            LOG.debug(\u0027Step 9 - get share, should fail\u0027)"},{"line_number":111,"context_line":"            share_instance_list \u003d \\"},{"line_number":112,"context_line":"                self.shares_admin_v2_client.list_share_instances()"},{"line_number":113,"context_line":"            share_ids \u003d [si[\u0027share_id\u0027] for si in share_instance_list]"},{"line_number":114,"context_line":"            self.assertNotIn(self.share[\u0027id\u0027], share_ids)"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"            LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":117,"context_line":"            share_type \u003d self.get_share_type()"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_bb5cf458","line":114,"range":{"start_line":111,"start_character":12,"end_line":114,"end_character":57},"updated":"2018-07-23 19:47:37.000000000","message":"Step 8b is doing just this, but if you need to do it again:\n\n\nself.assertRaises(\n  exceptions.NotFound,\n  self.shares_v2_client.get_share,\n  self.share[\u0027id\u0027])","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            self.assertNotIn(self.share[\u0027id\u0027], share_ids)"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"            LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":117,"context_line":"            share_type \u003d self.get_share_type()"},{"line_number":118,"context_line":"            managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":119,"context_line":"                self.share[\u0027host\u0027],"},{"line_number":120,"context_line":"                self.share[\u0027share_proto\u0027],"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_fb526c36","line":117,"range":{"start_line":117,"start_character":30,"end_line":117,"end_character":44},"updated":"2018-07-23 19:47:37.000000000","message":"you mean _get_share_type()","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"6f0887bd60017f93120019815c36ef365484de34","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            self.assertNotIn(self.share[\u0027id\u0027], share_ids)"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"            LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":117,"context_line":"            share_type \u003d self.get_share_type()"},{"line_number":118,"context_line":"            managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":119,"context_line":"                self.share[\u0027host\u0027],"},{"line_number":120,"context_line":"                self.share[\u0027share_proto\u0027],"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_9028e098","line":117,"range":{"start_line":117,"start_character":30,"end_line":117,"end_character":44},"in_reply_to":"5f7c97a3_fb526c36","updated":"2018-07-24 14:01:04.000000000","message":"The method in the manager was changed to be \"public\".","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                managed_share[\u0027id\u0027], \u0027available\u0027)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"            LOG.debug(\u0027Step 11 - grant access again\u0027)"},{"line_number":127,"context_line":"            self.provide_access_to_auxiliary_instance(instance)"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"            LOG.debug(\u0027Step 12 - mount\u0027)"},{"line_number":130,"context_line":"            self.mount_share(location, remote_client)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_165a9f1d","line":127,"range":{"start_line":127,"start_character":12,"end_line":127,"end_character":63},"updated":"2018-07-23 19:47:37.000000000","message":"self.provide_access_to_auxiliary_instance(instance, share\u003dmanaged_share)","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":137,"context_line":"            self.unmount_share(remote_client)"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"            LOG.debug(\u0027Step 14 - delete share\u0027)"},{"line_number":140,"context_line":"            self.shares_admin_v2_client.delete_share(self.share[\u0027id\u0027])"},{"line_number":141,"context_line":"            self.shares_admin_v2_client.\\"},{"line_number":142,"context_line":"                wait_for_resource_deletion(self.share[\u0027id\u0027])"},{"line_number":143,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_d682e751","line":140,"range":{"start_line":140,"start_character":53,"end_line":140,"end_character":69},"updated":"2018-07-23 19:47:37.000000000","message":"managed_share[\u0027id\u0027]","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":139,"context_line":"            LOG.debug(\u0027Step 14 - delete share\u0027)"},{"line_number":140,"context_line":"            self.shares_admin_v2_client.delete_share(self.share[\u0027id\u0027])"},{"line_number":141,"context_line":"            self.shares_admin_v2_client.\\"},{"line_number":142,"context_line":"                wait_for_resource_deletion(self.share[\u0027id\u0027])"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"            LOG.debug(\u0027Step 15 - manage share, should fail\u0027)"},{"line_number":145,"context_line":"            self.assertRaises("}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_967c6f72","line":142,"range":{"start_line":142,"start_character":43,"end_line":142,"end_character":59},"updated":"2018-07-23 19:47:37.000000000","message":"managed_share[\u0027id\u0027]","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"72c70eb54bc82dd05f9a7749827b42478121ab26","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        )"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"def load_tests(loader, tests, _):"},{"line_number":180,"context_line":"    result \u003d []"},{"line_number":181,"context_line":"    for test_case in tests:"},{"line_number":182,"context_line":"        if type(test_case._tests[0]) is ShareManageUnmanageBase:"},{"line_number":183,"context_line":"            continue"},{"line_number":184,"context_line":"        result.append(test_case)"},{"line_number":185,"context_line":"    return loader.suiteClass(result)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_16ddbf6c","line":185,"range":{"start_line":179,"start_character":0,"end_line":185,"end_character":36},"updated":"2018-07-23 19:47:37.000000000","message":"why is this necessary?","commit_id":"bf7605497d7e9a669c8168c5a2653719ae4e5dc8"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"73d58e93906d25570f9c0d0aadb8b6e4238c9522","unresolved":false,"context_lines":[{"line_number":90,"context_line":"        share \u003d self.shares_admin_v2_client.get_share(share[\u0027id\u0027])"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"        LOG.debug(\u0027Step 6a - create file\u0027)"},{"line_number":93,"context_line":"        remote_client.exec_command(\"sudo touch /mnt/t1\")"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        LOG.debug(\u0027Step 6b - write data\u0027)"},{"line_number":96,"context_line":"        LOG.debug(\u0027Step 6b - writing 640mb\u0027)"},{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_90f3ec09","line":99,"range":{"start_line":93,"start_character":8,"end_line":99,"end_character":70},"updated":"2018-09-12 21:07:35.000000000","message":"I might be wrong, but I\u0027m not sure that there\u0027s a benefit to separating these two stages, and for using shell utils for that.\nYou can create the file from python and then immediately write it using a context manager (see this answer: https://stackoverflow.com/a/6497779/611034).","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"188a8b1d4fe7bab134505e0ac8ef30598f7eba75","unresolved":false,"context_lines":[{"line_number":90,"context_line":"        share \u003d self.shares_admin_v2_client.get_share(share[\u0027id\u0027])"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"        LOG.debug(\u0027Step 6a - create file\u0027)"},{"line_number":93,"context_line":"        remote_client.exec_command(\"sudo touch /mnt/t1\")"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        LOG.debug(\u0027Step 6b - write data\u0027)"},{"line_number":96,"context_line":"        LOG.debug(\u0027Step 6b - writing 640mb\u0027)"},{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_26fd8207","line":99,"range":{"start_line":93,"start_character":8,"end_line":99,"end_character":70},"in_reply_to":"3f79a3b5_90f3ec09","updated":"2018-10-14 19:33:15.000000000","message":"Not sure I follow you. I would love to use Python, but can I \nassume it is present on the instance which is brought up ?\n\nThings are done through ssh for this reason as far as I understood..","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"73d58e93906d25570f9c0d0aadb8b6e4238c9522","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_6ee3ec07","line":100,"range":{"start_line":100,"start_character":8,"end_line":100,"end_character":17},"updated":"2018-09-12 21:07:35.000000000","message":"I think this requires further validation that a file of the required size was actually created. Although a failure might indicate a backend error, it can also point to an error in creating the share.\n\nIf that is added, I suggest using a Python implementation (os.stat or something from os.path) to check for attributes in /mnt/ instead of parsing the result of \u0027ls\u0027.\n\nAlso, since this is used again further (L137), you can just put this code in a function and call it each time.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"5fa7f4055af81c8a3b93f809eca8f0babcf6956d","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_d17458cf","line":100,"range":{"start_line":100,"start_character":8,"end_line":100,"end_character":17},"in_reply_to":"3f79a3b5_4600be00","updated":"2018-10-16 18:52:17.000000000","message":"I am sure I understand the reason behind creating the file using \"touch\" first instead of using \"dd\" directly. Also, you shouldn\u0027t use python as our service images may not include python in order to retain the smallest size possible","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"2916dc79457ca5eb6113cf1e89d6afe3cb9d0164","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_a880f8bf","line":100,"range":{"start_line":100,"start_character":8,"end_line":100,"end_character":17},"in_reply_to":"3f79a3b5_57efd81a","updated":"2018-10-20 13:20:41.000000000","message":"I don\u0027t understand why it is necessary to touch and then dd. I usually dd directly.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"188a8b1d4fe7bab134505e0ac8ef30598f7eba75","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_4600be00","line":100,"range":{"start_line":100,"start_character":8,"end_line":100,"end_character":17},"in_reply_to":"3f79a3b5_6ee3ec07","updated":"2018-10-14 19:33:15.000000000","message":"Not sure I can use Python, but I was thinking of replacing this with some kind of hash on the file.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5804bd768f3a64c5e9f98a0cc2cc8e14b14371e5","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        LOG.debug(\u0027Step 7 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_57efd81a","line":100,"range":{"start_line":100,"start_character":8,"end_line":100,"end_character":17},"in_reply_to":"3f79a3b5_d17458cf","updated":"2018-10-16 19:32:26.000000000","message":"Rodrigo, do you mean that you *don\u0027t* understand the separation?\nAs for my first comment - sorry, I missed the \"not having Python\" issue.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"3e6dca217d43d1d2c7b30ee104368ae3624506cb","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":120,"context_line":"        share_type \u003d self.get_share_type()"},{"line_number":121,"context_line":"        managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":122,"context_line":"            share[\u0027host\u0027],"},{"line_number":123,"context_line":"            share[\u0027share_proto\u0027],"},{"line_number":124,"context_line":"            locations[0],"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_2bfaad74","line":121,"range":{"start_line":121,"start_character":29,"end_line":121,"end_character":51},"updated":"2018-08-08 05:35:31.000000000","message":"so, the default policy allows only admins to manage/unmanage shares.. So, once managed, the admin owns the new share; and it doesn\u0027t belong to the tenant/project that originally created it above, so the steps below will fail with 403 forbidden... i.e, tenants cannot access shares that belong to the administrator\u0027s project... they can only access shares that belong to their own project.. \n\n \n\nLet\u0027s think for a second how this will play out in a datacenter.. While some tenant admins may be datacenter admins as well, most times, you\u0027d want to have a cloud  storage/manila administrator across tenants; and it seems like there is no way for the admin to \"manage\" something into the tenant\u0027s project. Is this a limitation? We ought to discuss this a bit..","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"188a8b1d4fe7bab134505e0ac8ef30598f7eba75","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":120,"context_line":"        share_type \u003d self.get_share_type()"},{"line_number":121,"context_line":"        managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":122,"context_line":"            share[\u0027host\u0027],"},{"line_number":123,"context_line":"            share[\u0027share_proto\u0027],"},{"line_number":124,"context_line":"            locations[0],"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_e6022a08","line":121,"range":{"start_line":121,"start_character":29,"end_line":121,"end_character":51},"in_reply_to":"3f79a3b5_2bfaad74","updated":"2018-10-14 19:33:15.000000000","message":"From what I read on the denver ptg this is said to be a test only issue - did you find out anything from the tempest group ?","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c6f72be19d839546c52be1a4cbd2d72a672bcd70","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":120,"context_line":"        share_type \u003d self.get_share_type()"},{"line_number":121,"context_line":"        managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":122,"context_line":"            share[\u0027host\u0027],"},{"line_number":123,"context_line":"            share[\u0027share_proto\u0027],"},{"line_number":124,"context_line":"            locations[0],"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_1cd3c7d4","line":121,"range":{"start_line":121,"start_character":29,"end_line":121,"end_character":51},"in_reply_to":"3f79a3b5_d14d3893","updated":"2018-10-16 19:16:40.000000000","message":"Nir: So we discussed this at the PTG and I had some more time to dig into the issue. In real data centers, administrators do have the capability to manage something into a tenant project - this may just be a tempest limitation - i.e, we haven\u0027t played with roles in our tempest tests so far as Rodrigo says - if we thought we have an \"admin-only\" action, we only ever used an admin client to create resources as well. So, that may be a decent workaround here. \n\nI haven\u0027t had time to investigate using tempest credential roles - i.e, creating the share with a non-privileged tenant user role and switching to the admin user to perform the unmanage and manage operations, switching back to the tenant user to reuse the share. That would be ideal. \n\nI\u0027m not convinced we want to find the answer in this particular test. I\u0027m okay with you using only the admin client to perform all actions within this test, we can then work on the tempest credential roles as an improvement. \n\nWhat do you think, Nir and Rodrigo?","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"5fa7f4055af81c8a3b93f809eca8f0babcf6956d","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        LOG.debug(\u0027Step 10 - manage share\u0027)"},{"line_number":120,"context_line":"        share_type \u003d self.get_share_type()"},{"line_number":121,"context_line":"        managed_share \u003d self.shares_admin_v2_client.manage_share("},{"line_number":122,"context_line":"            share[\u0027host\u0027],"},{"line_number":123,"context_line":"            share[\u0027share_proto\u0027],"},{"line_number":124,"context_line":"            locations[0],"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_d14d3893","line":121,"range":{"start_line":121,"start_character":29,"end_line":121,"end_character":51},"in_reply_to":"3f79a3b5_e6022a08","updated":"2018-10-16 18:52:17.000000000","message":"This test requires an Admin Scenario test class. The one that runs migration tests has admin privileges","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"73d58e93906d25570f9c0d0aadb8b6e4238c9522","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        self.mount_share(locations[0], remote_client)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        LOG.debug(\u0027Step 12 - verify data\u0027)"},{"line_number":137,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":138,"context_line":"        LOG.debug(ls_result)"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"        LOG.debug(\u0027Step 13 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_6aff4aab","line":137,"range":{"start_line":137,"start_character":8,"end_line":137,"end_character":17},"updated":"2018-09-12 21:07:35.000000000","message":"See previous comment.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"188a8b1d4fe7bab134505e0ac8ef30598f7eba75","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        self.mount_share(locations[0], remote_client)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        LOG.debug(\u0027Step 12 - verify data\u0027)"},{"line_number":137,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":138,"context_line":"        LOG.debug(ls_result)"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"        LOG.debug(\u0027Step 13 - unmount share\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_66161a4d","line":137,"range":{"start_line":137,"start_character":8,"end_line":137,"end_character":17},"in_reply_to":"3f79a3b5_6aff4aab","updated":"2018-10-14 19:33:15.000000000","message":"Agree will replace.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"73d58e93906d25570f9c0d0aadb8b6e4238c9522","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        )"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"# NOTE(u_glide): this function is required to exclude ShareManageUnmanageBase"},{"line_number":184,"context_line":"# from executed test cases."},{"line_number":185,"context_line":"# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol"},{"line_number":186,"context_line":"# for details."}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_5058f455","line":183,"range":{"start_line":183,"start_character":0,"end_line":183,"end_character":77},"updated":"2018-09-12 21:07:35.000000000","message":"Personally I don\u0027t like solutions which iterate over a collection (in this case, the classes in the file) and test equivalency to a very specific value each iteration (ShareManageUnmanageBase). It\u0027s OK but can be improved with some Python \"magic\" :) :\nWe can use a class attribute called \"should_skip\" which defaults to True in base classes, then add a setUpClass classmethod (part of the unittest.TestCase base classmethods) which tests for the value of \"should_skip\" and skips if its true.\nSet this value to False for classes which contain real tests (the NFS and CIFS ones).\n\nSince this has been a part of the test infrastructure before this test has been added, and relevant for other scenario test files as well, I can commit this change if we decide to go with this.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"5fa7f4055af81c8a3b93f809eca8f0babcf6956d","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        )"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"# NOTE(u_glide): this function is required to exclude ShareManageUnmanageBase"},{"line_number":184,"context_line":"# from executed test cases."},{"line_number":185,"context_line":"# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol"},{"line_number":186,"context_line":"# for details."}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_d1fbf812","line":183,"range":{"start_line":183,"start_character":0,"end_line":183,"end_character":77},"in_reply_to":"3f79a3b5_061f265a","updated":"2018-10-16 18:52:17.000000000","message":"All of our scenario test classes have this workaround, I\u0027d say this is unrelated to the test you are adding, we should focus on finding a solution to this under a different changeset.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26535,"name":"Nir Gilboa","email":"gilboa.nir@gmail.com","username":"nirgilbo"},"change_message_id":"188a8b1d4fe7bab134505e0ac8ef30598f7eba75","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        )"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"# NOTE(u_glide): this function is required to exclude ShareManageUnmanageBase"},{"line_number":184,"context_line":"# from executed test cases."},{"line_number":185,"context_line":"# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol"},{"line_number":186,"context_line":"# for details."}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_061f265a","line":183,"range":{"start_line":183,"start_character":0,"end_line":183,"end_character":77},"in_reply_to":"3f79a3b5_5058f455","updated":"2018-10-14 19:33:15.000000000","message":"That sounds really good ! If this is done we can hide the logic in a base class and the class attribute will be the only thing visible.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5804bd768f3a64c5e9f98a0cc2cc8e14b14371e5","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        )"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"# NOTE(u_glide): this function is required to exclude ShareManageUnmanageBase"},{"line_number":184,"context_line":"# from executed test cases."},{"line_number":185,"context_line":"# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol"},{"line_number":186,"context_line":"# for details."}],"source_content_type":"text/x-python","patch_set":18,"id":"3f79a3b5_d7b3e833","line":183,"range":{"start_line":183,"start_character":0,"end_line":183,"end_character":77},"in_reply_to":"3f79a3b5_d1fbf812","updated":"2018-10-16 19:32:26.000000000","message":"Agreed, just noticed that and thought to bring it up. I can try and take care of it in a separate change set.","commit_id":"032a1fae6d429058257d66fb04975d8abfc30b71"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"707a6c35921155db894fca78bb93ee7e9634cf79","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            share\u003dmanaged_share,"},{"line_number":133,"context_line":"            client\u003dself.shares_admin_v2_client)"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        # Testing fix for export locations"},{"line_number":136,"context_line":"        exports \u003d self.shares_v2_client.list_share_export_locations("},{"line_number":137,"context_line":"            share[\u0027id\u0027])"},{"line_number":138,"context_line":"        locations \u003d [x[\u0027path\u0027] for x in exports]"}],"source_content_type":"text/x-python","patch_set":21,"id":"9fdfeff1_74fa9ebd","line":135,"range":{"start_line":135,"start_character":8,"end_line":135,"end_character":42},"updated":"2019-01-27 19:22:31.000000000","message":"you\u0027re doing the right thing now.. exports could have changed after unmanage/manage","commit_id":"c1945d59a9002dc840104ec222a32b6b3aa206d5"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"707a6c35921155db894fca78bb93ee7e9634cf79","unresolved":false,"context_lines":[{"line_number":133,"context_line":"            client\u003dself.shares_admin_v2_client)"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        # Testing fix for export locations"},{"line_number":136,"context_line":"        exports \u003d self.shares_v2_client.list_share_export_locations("},{"line_number":137,"context_line":"            share[\u0027id\u0027])"},{"line_number":138,"context_line":"        locations \u003d [x[\u0027path\u0027] for x in exports]"},{"line_number":139,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"9fdfeff1_140c72eb","line":136,"range":{"start_line":136,"start_character":23,"end_line":136,"end_character":39},"updated":"2019-01-27 19:22:31.000000000","message":"This should be shares_admin_v2_client","commit_id":"c1945d59a9002dc840104ec222a32b6b3aa206d5"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"78ab0c0b2da4ba4ea9912b50349cffe45f8d9b50","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            share\u003dmanaged_share,"},{"line_number":133,"context_line":"            client\u003dself.shares_admin_v2_client)"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        # Testing fix for export locations"},{"line_number":136,"context_line":"        exports \u003d self.shares_admin_v2_client.list_share_export_locations("},{"line_number":137,"context_line":"            share[\u0027id\u0027])"},{"line_number":138,"context_line":"        locations \u003d [x[\u0027path\u0027] for x in exports]"}],"source_content_type":"text/x-python","patch_set":22,"id":"9fdfeff1_80dfb2d4","line":135,"range":{"start_line":135,"start_character":8,"end_line":135,"end_character":42},"updated":"2019-01-28 17:24:56.000000000","message":"remove","commit_id":"2629312e340eaa92df1feaba0d623fc5cb55af9f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"78ab0c0b2da4ba4ea9912b50349cffe45f8d9b50","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        # Testing fix for export locations"},{"line_number":136,"context_line":"        exports \u003d self.shares_admin_v2_client.list_share_export_locations("},{"line_number":137,"context_line":"            share[\u0027id\u0027])"},{"line_number":138,"context_line":"        locations \u003d [x[\u0027path\u0027] for x in exports]"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"        LOG.debug(\u0027Step 12 - mount\u0027)"}],"source_content_type":"text/x-python","patch_set":22,"id":"9fdfeff1_60e2cea2","line":137,"range":{"start_line":137,"start_character":12,"end_line":137,"end_character":17},"updated":"2019-01-28 17:24:56.000000000","message":"managed_share","commit_id":"2629312e340eaa92df1feaba0d623fc5cb55af9f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e7818b5f955d82e9065d29a186291051c6a6fcc5","unresolved":false,"context_lines":[{"line_number":152,"context_line":"            share_id\u003dmanaged_share[\u0027id\u0027])"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        LOG.debug(\u0027Step 15 - manage share, should fail\u0027)"},{"line_number":155,"context_line":"        self.assertRaises("},{"line_number":156,"context_line":"            exceptions.NotFound,"},{"line_number":157,"context_line":"            self.shares_admin_v2_client.manage_share,"},{"line_number":158,"context_line":"            share[\u0027host\u0027],"},{"line_number":159,"context_line":"            share[\u0027share_proto\u0027],"},{"line_number":160,"context_line":"            locations[0],"},{"line_number":161,"context_line":"            share_type[\u0027id\u0027]"},{"line_number":162,"context_line":"        )"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        LOG.debug(\u0027Step 16 - delete instance\u0027)"},{"line_number":165,"context_line":"        self.servers_client.delete_server(instance[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":25,"id":"9fdfeff1_b38eb776","line":162,"range":{"start_line":155,"start_character":0,"end_line":162,"end_character":9},"updated":"2019-01-29 18:57:26.000000000","message":"This assert is wrong - Manila can\u0027t straightaway determine if a resource it doesn\u0027t manage is available. \n\nThe manage API will succeed, but it will asynchronously fail at the share driver. So, after attempting manage, you\u0027ll need to add this:\n\n  remanaged_share \u003d self.shares_admin_v2_client.manage_share(\n            share[\u0027host\u0027],\n            share[\u0027share_proto\u0027],\n            locations[0],\n            share_type[\u0027id\u0027])\n  self.shares_admin_v2_client.wait_for_share_status(\n            remanaged_share[\u0027id\u0027], \u0027error\u0027)","commit_id":"1b39478689c1bdf5c77836ebf594b88ab5f3b1a7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"97cfa5cb01fc2a172056b8e7948fa1acf6a7fab4","unresolved":false,"context_lines":[{"line_number":158,"context_line":"            locations[0],"},{"line_number":159,"context_line":"            share_type[\u0027id\u0027])"},{"line_number":160,"context_line":"        self.shares_admin_v2_client.wait_for_share_status("},{"line_number":161,"context_line":"            remanaged_share[\u0027id\u0027], \u0027error\u0027)"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        LOG.debug(\u0027Step 16 - delete instance\u0027)"},{"line_number":164,"context_line":"        self.servers_client.delete_server(instance[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":26,"id":"9fdfeff1_69006002","line":161,"range":{"start_line":161,"start_character":36,"end_line":161,"end_character":41},"updated":"2019-01-29 20:46:29.000000000","message":"I\u0027m sorry, the status you\u0027re looking for is \"manage_error\"","commit_id":"8f3e1ce69232ce18662358ee32fc585fb3cd3331"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"4a8e8c8688eec5aafc3cfd34b8e4bb5cf9e0d1a4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2018 OpenStack Foundation"},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":28,"id":"9fdfeff1_0dd8bf1b","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":37},"updated":"2019-01-29 22:38:05.000000000","message":"The foundation does not require this copyright, please remove","commit_id":"c403f256eec9ea60243005259bba00ecb110e250"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"4a8e8c8688eec5aafc3cfd34b8e4bb5cf9e0d1a4","unresolved":false,"context_lines":[{"line_number":96,"context_line":"        LOG.debug(\u0027Step 6b - writing 640mb\u0027)"},{"line_number":97,"context_line":"        self.write_data_to_mounted_share_using_dd(remote_client,"},{"line_number":98,"context_line":"                                                  \u0027/mnt/t1\u0027, 1024,"},{"line_number":99,"context_line":"                                                  640000, \u0027/dev/zero\u0027)"},{"line_number":100,"context_line":"        ls_result \u003d remote_client.exec_command(\"sudo ls -lA /mnt/\")"},{"line_number":101,"context_line":"        LOG.debug(ls_result)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"9fdfeff1_ed1a1bca","line":99,"range":{"start_line":99,"start_character":50,"end_line":99,"end_character":56},"updated":"2019-01-29 22:38:05.000000000","message":"curious why this number, and not just 2048 or something to save time?","commit_id":"c403f256eec9ea60243005259bba00ecb110e250"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"5ace8cb05746ada2c6ed70334da5e73426ef87c5","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":29,"id":"9fdfeff1_7d980774","updated":"2019-01-30 19:53:47.000000000","message":"You still need the Apache V2 license, don\u0027t remove that part!","commit_id":"0b21fc9e74212ad8e7ad0241e4ca2a64cb9ee1a6"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"fec0cca2e4fe3f54040ef58f015f69ca5b0cca51","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        self.shares_admin_v2_client.reset_state(remanaged_share[\u0027id\u0027])"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"        LOG.debug(\u0027Step 16 - delete instance\u0027)"},{"line_number":163,"context_line":"        self.servers_client.delete_server(instance[\u0027id\u0027])"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"class ShareManageUnmanageNFS(ShareManageUnmanageBase):"}],"source_content_type":"text/x-python","patch_set":30,"id":"9fdfeff1_66be3800","line":163,"range":{"start_line":162,"start_character":0,"end_line":163,"end_character":57},"updated":"2019-01-30 23:08:57.000000000","message":"You shouldn\u0027t need this step because the cleanup (and waiting on cleanup) is part of the method \"create_server\") [1]\n\n[1] https://github.com/openstack/manila-tempest-plugin/blob/a2bb0cb/manila_tempest_tests/tests/scenario/manager.py#L202","commit_id":"796bd4585a2d9c3d39d4d3826507c8a10b0590e5"}]}
