)]}'
{"neutron_tempest_plugin/common/ssh.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a5acf5b5bfd9b96d589279d6a2dc19eec7aa5295","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class Client(ssh.Client):"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Import configurations from tempest.conf"},{"line_number":26,"context_line":"    timeout \u003d CONF.validation.ssh_timeout"},{"line_number":27,"context_line":"    proxy_jump_host \u003d CONF.neutron_plugin_options.ssh_proxy_jump_host"},{"line_number":28,"context_line":"    proxy_jump_username \u003d CONF.neutron_plugin_options.ssh_proxy_jump_username"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_a73a37e4","line":25,"updated":"2018-05-24 17:54:13.000000000","message":"IMHO this comment is not necessary here :)","commit_id":"3a7c51f1d728c70820aafa10bb096571e15ef403"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"112258111afe8d3d1a0a51ada698700155507cb7","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class Client(ssh.Client):"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Import configurations from tempest.conf"},{"line_number":26,"context_line":"    timeout \u003d CONF.validation.ssh_timeout"},{"line_number":27,"context_line":"    proxy_jump_host \u003d CONF.neutron_plugin_options.ssh_proxy_jump_host"},{"line_number":28,"context_line":"    proxy_jump_username \u003d CONF.neutron_plugin_options.ssh_proxy_jump_username"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_4fef7a1c","line":25,"in_reply_to":"5f7c97a3_a73a37e4","updated":"2018-05-30 09:27:11.000000000","message":"Done","commit_id":"3a7c51f1d728c70820aafa10bb096571e15ef403"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"41738fdce028a2b82083df50d8064a6dcea76728","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        timeout \u003d timeout or self.timeout"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        if proxy_client is None and self.proxy_jump_host:"},{"line_number":39,"context_line":"            # Perform all SSH connections passing throw configured SSH server"},{"line_number":40,"context_line":"            proxy_client \u003d ssh.Client("},{"line_number":41,"context_line":"                host\u003dself.proxy_jump_host,"},{"line_number":42,"context_line":"                username\u003dself.proxy_jump_username,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_81e9e2e3","line":39,"range":{"start_line":39,"start_character":50,"end_line":39,"end_character":55},"updated":"2018-05-30 15:58:25.000000000","message":"nit: through","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"41738fdce028a2b82083df50d8064a6dcea76728","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            proxy_client \u003d ssh.Client("},{"line_number":41,"context_line":"                host\u003dself.proxy_jump_host,"},{"line_number":42,"context_line":"                username\u003dself.proxy_jump_username,"},{"line_number":43,"context_line":"                password\u003dself.proxy_jump_password or None,"},{"line_number":44,"context_line":"                timeout\u003dtimeout,"},{"line_number":45,"context_line":"                pkey\u003dNone,"},{"line_number":46,"context_line":"                channel_timeout\u003dchannel_timeout,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_6175a631","line":43,"range":{"start_line":43,"start_character":49,"end_line":43,"end_character":57},"updated":"2018-05-30 15:58:25.000000000","message":"the default for ssh_proxy_jump_password is None so this shouldn\u0027t be necessary","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"db38f4cd857bb2918c739dfefa1b91b77ff1d684","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            proxy_client \u003d ssh.Client("},{"line_number":41,"context_line":"                host\u003dself.proxy_jump_host,"},{"line_number":42,"context_line":"                username\u003dself.proxy_jump_username,"},{"line_number":43,"context_line":"                password\u003dself.proxy_jump_password or None,"},{"line_number":44,"context_line":"                timeout\u003dtimeout,"},{"line_number":45,"context_line":"                pkey\u003dNone,"},{"line_number":46,"context_line":"                channel_timeout\u003dchannel_timeout,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_bfb5ed33","line":43,"range":{"start_line":43,"start_character":49,"end_line":43,"end_character":57},"in_reply_to":"5f7c97a3_24e48e3b","updated":"2018-06-01 15:49:07.000000000","message":"The other values would have the same issue then, for example setting port\u003d\u0027\u0027 would fail.  We can\u0027t really stop a user from mis-configuring things.","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"d4ae41129f6da8f7ca5303cea648ff123028fcc7","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            proxy_client \u003d ssh.Client("},{"line_number":41,"context_line":"                host\u003dself.proxy_jump_host,"},{"line_number":42,"context_line":"                username\u003dself.proxy_jump_username,"},{"line_number":43,"context_line":"                password\u003dself.proxy_jump_password or None,"},{"line_number":44,"context_line":"                timeout\u003dtimeout,"},{"line_number":45,"context_line":"                pkey\u003dNone,"},{"line_number":46,"context_line":"                channel_timeout\u003dchannel_timeout,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_24e48e3b","line":43,"range":{"start_line":43,"start_character":49,"end_line":43,"end_character":57},"in_reply_to":"5f7c97a3_6175a631","updated":"2018-06-01 13:27:18.000000000","message":"true but if in proxy.conf we have below entry:\n \n [neutron_plugin_options].ssh_proxy_jump_password\n ssh_proxy_jump_password\u003d\n\nThen password would be \u0027\u0027 instead of None. This ensure it to be None or an non-empty string","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"ec231bccb1cfd2485b983167d908332ab51c3b6a","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            proxy_client \u003d ssh.Client("},{"line_number":41,"context_line":"                host\u003dself.proxy_jump_host,"},{"line_number":42,"context_line":"                username\u003dself.proxy_jump_username,"},{"line_number":43,"context_line":"                password\u003dself.proxy_jump_password or None,"},{"line_number":44,"context_line":"                timeout\u003dtimeout,"},{"line_number":45,"context_line":"                pkey\u003dNone,"},{"line_number":46,"context_line":"                channel_timeout\u003dchannel_timeout,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_e1b97115","line":43,"range":{"start_line":43,"start_character":49,"end_line":43,"end_character":57},"in_reply_to":"5f7c97a3_bfb5ed33","updated":"2018-06-04 09:42:05.000000000","message":"Port is an integer and cannot have an empty string as value. It would fail before reaching this code inside oslo_config. I consider instead an empty string a synonymous of None in the mind of the user, therefore a valid value for a password.\nValidation of configuration values other than what is performed from oslo library because of the type of data has to be done and give the user a frindly error in the case it make sense. In this case I thing it doesn\u0027t make sense when the intention of the user is clear and can be performed with a simple condition check like here.","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"3ecfef94936f96e8b6bbfb15afa083b5f99fe64a","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        # Port must be a positive integer"},{"line_number":91,"context_line":"        port \u003d cls.proxy_jump_port"},{"line_number":92,"context_line":"        if port \u003c\u003d 0:"},{"line_number":93,"context_line":"            raise ValueError("},{"line_number":94,"context_line":"                \"Invalid value for \u0027proxy_jump_port\u0027 configuration option: \""},{"line_number":95,"context_line":"                \"{!r}\".format(port))"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_b578612b","line":92,"updated":"2018-06-06 08:39:04.000000000","message":"port also can\u0027t be higher than 65535","commit_id":"84d9ab0ae8a9076366666ba2d5c2a758a332541d"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"efec5f4d21aeb55c8bbdd3b5c01463f6a4c38440","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        # Port must be a positive integer"},{"line_number":91,"context_line":"        port \u003d cls.proxy_jump_port"},{"line_number":92,"context_line":"        if port \u003c\u003d 0:"},{"line_number":93,"context_line":"            raise ValueError("},{"line_number":94,"context_line":"                \"Invalid value for \u0027proxy_jump_port\u0027 configuration option: \""},{"line_number":95,"context_line":"                \"{!r}\".format(port))"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_00fc70b3","line":92,"in_reply_to":"5f7c97a3_b578612b","updated":"2018-06-25 13:09:17.000000000","message":"DOH!","commit_id":"84d9ab0ae8a9076366666ba2d5c2a758a332541d"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"46fb5283fbc902643d48ea0c0c4d6da272898832","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            # This message could help the user to identify a"},{"line_number":86,"context_line":"            # mis-configuration in tempest.conf"},{"line_number":87,"context_line":"            LOG.info(\"Both proxy_jump_password and proxy_jump_keyfile \""},{"line_number":88,"context_line":"                     \"options are empty.\")"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        # Port must be a positive integer"},{"line_number":91,"context_line":"        port \u003d cls.proxy_jump_port"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_97e13b2e","line":88,"updated":"2018-06-11 19:36:48.000000000","message":"Do you want to raise here?  Will the test run without a keyfile or password?","commit_id":"04ce0f75ed74b533c99e8ef9d1ccfed9dce085f2"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"efec5f4d21aeb55c8bbdd3b5c01463f6a4c38440","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            # This message could help the user to identify a"},{"line_number":86,"context_line":"            # mis-configuration in tempest.conf"},{"line_number":87,"context_line":"            LOG.info(\"Both proxy_jump_password and proxy_jump_keyfile \""},{"line_number":88,"context_line":"                     \"options are empty.\")"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        # Port must be a positive integer"},{"line_number":91,"context_line":"        port \u003d cls.proxy_jump_port"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_0ae7bdae","line":88,"in_reply_to":"5f7c97a3_97e13b2e","updated":"2018-06-25 13:09:17.000000000","message":"Keyfile will be taken from ~/.ssh/ folder if look_for_keys is True.","commit_id":"04ce0f75ed74b533c99e8ef9d1ccfed9dce085f2"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"25fe49aa0dd6801018126f03471a07356b18197f","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        # options"},{"line_number":64,"context_line":"        password \u003d cls.proxy_jump_password or None"},{"line_number":65,"context_line":"        key_file \u003d cls.proxy_jump_keyfile or None"},{"line_number":66,"context_line":"        username \u003d cls.proxy_jump_username or \u0027root\u0027"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        # Port must be a positive integer"},{"line_number":69,"context_line":"        port \u003d cls.proxy_jump_port"}],"source_content_type":"text/x-python","patch_set":12,"id":"5f7c97a3_ae3be698","line":66,"updated":"2018-06-21 07:48:05.000000000","message":"nit: You already have default \u0027root\u0027 on the config option, so you don\u0027t need that.","commit_id":"f5329b78f4ccb1b931288c1553f1f621802d1241"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"efec5f4d21aeb55c8bbdd3b5c01463f6a4c38440","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        # options"},{"line_number":64,"context_line":"        password \u003d cls.proxy_jump_password or None"},{"line_number":65,"context_line":"        key_file \u003d cls.proxy_jump_keyfile or None"},{"line_number":66,"context_line":"        username \u003d cls.proxy_jump_username or \u0027root\u0027"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        # Port must be a positive integer"},{"line_number":69,"context_line":"        port \u003d cls.proxy_jump_port"}],"source_content_type":"text/x-python","patch_set":12,"id":"5f7c97a3_1cdd3913","line":66,"in_reply_to":"5f7c97a3_ae3be698","updated":"2018-06-25 13:09:17.000000000","message":"Done","commit_id":"f5329b78f4ccb1b931288c1553f1f621802d1241"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"0f719a58520c5b460d78a12a3eb5eb9d8b932130","unresolved":false,"context_lines":[{"line_number":98,"context_line":"            # in tempest.conf"},{"line_number":99,"context_line":"            LOG.info(\"Both \u0027proxy_jump_password\u0027 and \u0027proxy_jump_keyfile\u0027 \""},{"line_number":100,"context_line":"                     \"options are empty. Going to create SSH connection to %r \""},{"line_number":101,"context_line":"                     \"looking for key file location into %r directory.\","},{"line_number":102,"context_line":"                     login, os.path.expanduser(\u0027~/.ssh\u0027))"},{"line_number":103,"context_line":"        else:"},{"line_number":104,"context_line":"            # An user that forces look_for_keys\u003dFalse should really know what"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_902efcf6","line":101,"range":{"start_line":101,"start_character":43,"end_line":101,"end_character":56},"updated":"2018-07-19 19:09:00.000000000","message":"nit: s/in","commit_id":"e9c89bf0acfeb1115b9b63ea08f135c503f76971"}],"neutron_tempest_plugin/config.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"41738fdce028a2b82083df50d8064a6dcea76728","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    # server"},{"line_number":63,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_host\u0027,"},{"line_number":64,"context_line":"               default\u003dNone,"},{"line_number":65,"context_line":"               help\u003d\u0027SSH server host used as proxy to connect VMs using SSH.\u0027),"},{"line_number":66,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_username\u0027,"},{"line_number":67,"context_line":"               default\u003dNone,"},{"line_number":68,"context_line":"               help\u003d\u0027User name used to connect to \"ssh_proxy_jump_host\" host.\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_418f4a29","line":65,"range":{"start_line":65,"start_character":21,"end_line":65,"end_character":76},"updated":"2018-05-30 15:58:25.000000000","message":"s/Proxy jump host used to connect via SSH to VMs.","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"d4ae41129f6da8f7ca5303cea648ff123028fcc7","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    # server"},{"line_number":63,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_host\u0027,"},{"line_number":64,"context_line":"               default\u003dNone,"},{"line_number":65,"context_line":"               help\u003d\u0027SSH server host used as proxy to connect VMs using SSH.\u0027),"},{"line_number":66,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_username\u0027,"},{"line_number":67,"context_line":"               default\u003dNone,"},{"line_number":68,"context_line":"               help\u003d\u0027User name used to connect to \"ssh_proxy_jump_host\" host.\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_c9ed9825","line":65,"range":{"start_line":65,"start_character":21,"end_line":65,"end_character":76},"in_reply_to":"5f7c97a3_418f4a29","updated":"2018-06-01 13:27:18.000000000","message":"\u003e s/Proxy jump host used to connect via SSH to VMs.","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"41738fdce028a2b82083df50d8064a6dcea76728","unresolved":false,"context_lines":[{"line_number":65,"context_line":"               help\u003d\u0027SSH server host used as proxy to connect VMs using SSH.\u0027),"},{"line_number":66,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_username\u0027,"},{"line_number":67,"context_line":"               default\u003dNone,"},{"line_number":68,"context_line":"               help\u003d\u0027User name used to connect to \"ssh_proxy_jump_host\" host.\u0027"},{"line_number":69,"context_line":"               ),"},{"line_number":70,"context_line":"    cfg.StrOpt(\u0027ssh_proxy_jump_password\u0027,"},{"line_number":71,"context_line":"               default\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_e181b6fc","line":68,"range":{"start_line":68,"start_character":72,"end_line":68,"end_character":76},"updated":"2018-05-30 15:58:25.000000000","message":"can drop the last \"host\" here and below.","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"41738fdce028a2b82083df50d8064a6dcea76728","unresolved":false,"context_lines":[{"line_number":75,"context_line":"               help\u003d\u0027Keyfile used to connect to \"ssh_proxy_jump_host\" host.\u0027),"},{"line_number":76,"context_line":"    cfg.IntOpt(\u0027ssh_proxy_jump_port\u0027,"},{"line_number":77,"context_line":"               default\u003d22,"},{"line_number":78,"context_line":"               help\u003d\u0027port used to connect to \"ssh_proxy_jump_host\" host.\u0027),"},{"line_number":79,"context_line":"]"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"# TODO(amuller): Redo configuration options registration as part of the planned"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_e1b3f608","line":78,"range":{"start_line":78,"start_character":21,"end_line":78,"end_character":25},"updated":"2018-05-30 15:58:25.000000000","message":"s/Port","commit_id":"76dd682aa0b1efa60a68afaa99046e0ba4fa27ea"}]}
