)]}'
{"scripts/inventory_migrate.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"e8825b820680076cfd62629b019da8d6eac1c865","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    hostvars \u003d inventory[\u0027_meta\u0027][\u0027hostvars\u0027]"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    for hostname, host in hostvars.items():"},{"line_number":73,"context_line":"        if \u0027container_networks\u0027 in host.keys():"},{"line_number":74,"context_line":"            continue"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        networks \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_046c6a06","line":73,"updated":"2015-08-06 23:22:15.000000000","message":"Again, don\u0027t need .keys()","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"e8825b820680076cfd62629b019da8d6eac1c865","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        networks \u003d {}"},{"line_number":77,"context_line":"        for net_type in (\u0027container\u0027, \u0027storage\u0027, \u0027tunnel\u0027):"},{"line_number":78,"context_line":"            if (\u0027%s_address\u0027 % net_type) not in host.keys():"},{"line_number":79,"context_line":"                continue"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"            net_addr \u003d {"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_c4ea02db","line":78,"updated":"2015-08-06 23:22:15.000000000","message":"Can we do all the substitutions once, e.g.,\n\n    for net_type in (\u0027container\u0027, \u0027storage\u0027, \u0027tunnel\u0027):\n        net_type_address \u003d \u0027%s_address\u0027 % net_type\n        net_type_netmask \u003d \u0027%s_netmask\u0027 % net_type\n\n        if net_type_address not in host:  # You don\u0027t need .keys() here\n            continue\n\n        bridge \u003d bridges.get(net_type)\n        net_addr \u003d {\n            \u0027address\u0027: host.get(net_type_address),\n            \u0027netmask\u0027: host.get(net_type_netmask),\n            \u0027bridge\u0027: bridge.get(\u0027name\u0027),\n            \u0027interface\u0027: bridge.get(\u0027iface\u0027),\n        }\n\n        # ...","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"e8825b820680076cfd62629b019da8d6eac1c865","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            net_addr \u003d {"},{"line_number":82,"context_line":"                \u0027address\u0027: host.get(\u0027%s_address\u0027 % net_type),"},{"line_number":83,"context_line":"                \u0027netmask\u0027: host.get(\u0027%s_netmask\u0027 % net_type),"},{"line_number":84,"context_line":"                \u0027bridge\u0027: bridges.get(\u0027%s\u0027 % net_type)[\u0027name\u0027],"},{"line_number":85,"context_line":"                \u0027interface\u0027: bridges.get(\u0027%s\u0027 % net_type)[\u0027iface\u0027],"},{"line_number":86,"context_line":"            }"},{"line_number":87,"context_line":"            networks[\u0027%s_address\u0027 % net_type] \u003d net_addr"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_84f07aca","line":84,"updated":"2015-08-06 23:22:15.000000000","message":"No need for \u0027%s\u0027 % net_type","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"e8825b820680076cfd62629b019da8d6eac1c865","unresolved":false,"context_lines":[{"line_number":84,"context_line":"                \u0027bridge\u0027: bridges.get(\u0027%s\u0027 % net_type)[\u0027name\u0027],"},{"line_number":85,"context_line":"                \u0027interface\u0027: bridges.get(\u0027%s\u0027 % net_type)[\u0027iface\u0027],"},{"line_number":86,"context_line":"            }"},{"line_number":87,"context_line":"            networks[\u0027%s_address\u0027 % net_type] \u003d net_addr"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        host[\u0027container_networks\u0027] \u003d networks"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_a4eb36db","line":87,"updated":"2015-08-06 23:22:15.000000000","message":"networks[net_type_address]","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"}],"scripts/run-upgrade.sh":[{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"e357182c9428c9ddfe4f7a9e3b870f655f2f5d98","unresolved":false,"context_lines":[{"line_number":141,"context_line":"# Upgrade ansible in place"},{"line_number":142,"context_line":"./scripts/bootstrap-ansible.sh"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"# Update the inventory to be kilo-ready"},{"line_number":145,"context_line":"./scripts/inventory_migrate.py --source /etc/openstack_deploy/rpc_inventory.json --output /etc/openstack_deploy/openstack_inventory.json"},{"line_number":146,"context_line":"rm /etc/openstack_deploy/rpc_inventory.json"},{"line_number":147,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a4dcd0f_64c20eeb","line":144,"updated":"2015-08-06 23:25:02.000000000","message":"Stylistically, I would like to see this step stalled until approx line 373 before \"Remove containers\" so that we maintain separation of  configuration changes and inventory adjustments.","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"e8825b820680076cfd62629b019da8d6eac1c865","unresolved":false,"context_lines":[{"line_number":142,"context_line":"./scripts/bootstrap-ansible.sh"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"# Update the inventory to be kilo-ready"},{"line_number":145,"context_line":"./scripts/inventory_migrate.py --source /etc/openstack_deploy/rpc_inventory.json --output /etc/openstack_deploy/openstack_inventory.json"},{"line_number":146,"context_line":"rm /etc/openstack_deploy/rpc_inventory.json"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"# Move the old RPC files to OpenStack files."}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a4dcd0f_64644eb8","line":145,"updated":"2015-08-06 23:22:15.000000000","message":"Please format this over multiple lines:\n\n    ./scripts/inventory_migrate.py --source /etc/openstack_deploy/rpc_inventory.json \\\n        --output /etc/openstack_deploy/openstack_inventory.json\n\n;)","commit_id":"c3e38b13f335c2c2088b676af6fa87f61f338609"}]}
