)]}'
{"ironic/drivers/modules/deploy_utils.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0c49c104ad5b7637bee7b4a32eeab9362e77f2a8","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    cfg.StrOpt(\u0027dd_block_size\u0027,"},{"line_number":49,"context_line":"               default\u003d\u00271M\u0027,"},{"line_number":50,"context_line":"               help\u003d\u0027Block size to use when writing to the nodes disk.\u0027),"},{"line_number":51,"context_line":"    cfg.IntOpt(\u0027iscsi_login_sleep_time\u0027,"},{"line_number":52,"context_line":"               default\u003d3,"},{"line_number":53,"context_line":"               help\u003d\u0027Time to sleep after an iSCSI login.\u0027),"},{"line_number":54,"context_line":"    ]"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_672461c5","line":51,"updated":"2015-02-04 08:44:34.000000000","message":"hmm we should not really rename config options without deprecating the old ones :/","commit_id":"72b392e5f97f651a46615722b707570f6f6be21b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5c19835f311328ff3a6294a17d2ca8d44b6f0301","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    cfg.StrOpt(\u0027dd_block_size\u0027,"},{"line_number":49,"context_line":"               default\u003d\u00271M\u0027,"},{"line_number":50,"context_line":"               help\u003d\u0027Block size to use when writing to the nodes disk.\u0027),"},{"line_number":51,"context_line":"    cfg.IntOpt(\u0027iscsi_login_sleep_time\u0027,"},{"line_number":52,"context_line":"               default\u003d3,"},{"line_number":53,"context_line":"               help\u003d\u0027Time to sleep after an iSCSI login.\u0027),"},{"line_number":54,"context_line":"    ]"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_cded2bb9","line":51,"in_reply_to":"da86d52c_0733a463","updated":"2015-02-04 10:03:44.000000000","message":"Right. Well, it\u0027s not complete broken. Dan could have reverted the patch adding the verify_iscsi_connection() because it broke things, but instead the temporarily fix was by re-adding the sleep(3).\n\nThat\u0027s because replacing the sleep with a proper verification is a good thing. Now this patch is reverting/removing that code and making the sleep() configurable, that\u0027s like a double temporary fix in a row and I\u0027m not sure if it\u0027s good.\n\nI don\u0027t consider sleep() to be actually fixing the problem that the iscsi connection didn\u0027t activate, plus, adding a config option for a workaround does not sounds very good.\n\nI still think that we should fix the verification code. We could even increase the sleep time to 10 for now just to be very safe, but that\u0027s still workaround.","commit_id":"72b392e5f97f651a46615722b707570f6f6be21b"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ce5c6a443783668dc14046f68204a3cd30d0909e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    cfg.StrOpt(\u0027dd_block_size\u0027,"},{"line_number":49,"context_line":"               default\u003d\u00271M\u0027,"},{"line_number":50,"context_line":"               help\u003d\u0027Block size to use when writing to the nodes disk.\u0027),"},{"line_number":51,"context_line":"    cfg.IntOpt(\u0027iscsi_login_sleep_time\u0027,"},{"line_number":52,"context_line":"               default\u003d3,"},{"line_number":53,"context_line":"               help\u003d\u0027Time to sleep after an iSCSI login.\u0027),"},{"line_number":54,"context_line":"    ]"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_0733a463","line":51,"in_reply_to":"da86d52c_672461c5","updated":"2015-02-04 09:08:20.000000000","message":"I don\u0027t think we should deprecate broken options introduced a couple of days ago...","commit_id":"72b392e5f97f651a46615722b707570f6f6be21b"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7de3302d1a939f2628da36dfb4e855a3c5a838b6","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    force_iscsi_lun_update(target_iqn)"},{"line_number":93,"context_line":"    # ensure file system sees the block device"},{"line_number":94,"context_line":"    check_file_system_for_iscsi_device(portal_address,"},{"line_number":95,"context_line":"                                        portal_port,"},{"line_number":96,"context_line":"                                        target_iqn)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_9e6988c0","line":95,"updated":"2015-02-04 18:10:15.000000000","message":"Nit: Indentation seems off","commit_id":"7f0353eacfe287b19de2d3a8ed2e0f32b344bacc"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7de3302d1a939f2628da36dfb4e855a3c5a838b6","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"def check_file_system_for_iscsi_device(portal_address,"},{"line_number":100,"context_line":"                                        portal_port,"},{"line_number":101,"context_line":"                                        target_iqn):"},{"line_number":102,"context_line":"    \"\"\"Ensure the file system sees the iSCSI block device.\"\"\""},{"line_number":103,"context_line":"    check_dir \u003d \"/dev/disk/by-path/ip-%s:%s-iscsi-%s-lun-1\" % (portal_address,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_be664ceb","line":100,"updated":"2015-02-04 18:10:15.000000000","message":"Nit: Indentation seems off","commit_id":"7f0353eacfe287b19de2d3a8ed2e0f32b344bacc"},{"author":{"_account_id":6896,"name":"Loganathan Parthipan","email":"parthi@hpe.com","username":"parthipan"},"change_message_id":"39725460551010e3c303e6bad5d32d45f73c1cc5","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    check_dir \u003d \"/dev/disk/by-path/ip-%s:%s-iscsi-%s-lun-1\" % (portal_address,"},{"line_number":104,"context_line":"                                                               portal_port,"},{"line_number":105,"context_line":"                                                               target_iqn)"},{"line_number":106,"context_line":"    total_checks \u003d CONF.deploy.iscsi_verify_attempts"},{"line_number":107,"context_line":"    for attempt in range(total_checks):"},{"line_number":108,"context_line":"        if os.path.exists(check_dir):"},{"line_number":109,"context_line":"            break"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_ef82a7c6","line":106,"updated":"2015-02-05 15:43:44.000000000","message":"Would a \u0027udevadm settle\u0027 be useful at this point?","commit_id":"7f0353eacfe287b19de2d3a8ed2e0f32b344bacc"}],"ironic/tests/drivers/test_deploy_utils.py":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7de3302d1a939f2628da36dfb4e855a3c5a838b6","unresolved":false,"context_lines":[{"line_number":465,"context_line":"        iqn \u003d \u0027iqn.xyz\u0027"},{"line_number":466,"context_line":"        ip \u003d \"127.0.0.1\""},{"line_number":467,"context_line":"        port \u003d \"22\""},{"line_number":468,"context_line":"        check_dir \u003d \"/dev/disk/by-path/ip-%s:%s-iscsi-%s-lun-1\" % (ip,"},{"line_number":469,"context_line":"                                                                   port,"},{"line_number":470,"context_line":"                                                                   iqn)"},{"line_number":471,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_3e541cfe","line":468,"updated":"2015-02-04 18:10:15.000000000","message":"Idea but not important.  Can do:\n\n check_dir \u003d (\"/dev/disk/by-path/ip-%s:%s-iscsi-%s-lun-1\" %\n              (ip, port, iqn))\n\nSaves two lines","commit_id":"7f0353eacfe287b19de2d3a8ed2e0f32b344bacc"}]}
