)]}'
{"devstack/lib/ironic":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"d55974a545dd339f861e0316d6cb3cec011c46c1","unresolved":false,"context_lines":[{"line_number":1832,"context_line":"            adjusted_disk\u003d$(($ironic_node_disk - $ironic_ephemeral_disk))"},{"line_number":1833,"context_line":"            # TODO(jroll) use (yet to be defined) new-style flavor here,"},{"line_number":1834,"context_line":"            # if IRONIC_USE_RESOURCE_CLASSES \u003d\u003d True"},{"line_number":1835,"context_line":"            openstack flavor create --ephemeral $ironic_ephemeral_disk --ram $ironic_node_ram --disk $adjusted_disk --vcpus $ironic_node_cpu baremetal"},{"line_number":1836,"context_line":"            openstack flavor set baremetal --property \"cpu_arch\"\u003d\"$ironic_node_arch\""},{"line_number":1837,"context_line":""},{"line_number":1838,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9f436f4f_5ec81054","line":1835,"range":{"start_line":1835,"start_character":12,"end_line":1835,"end_character":150},"updated":"2017-08-09 10:17:05.000000000","message":"I think we need to update flavor as well.","commit_id":"e501faef1c48fd796967299aeb44cca7a1e0e032"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"08b9525c050fadac327c0b664445c8d343fc6fd4","unresolved":false,"context_lines":[{"line_number":1832,"context_line":"            adjusted_disk\u003d$(($ironic_node_disk - $ironic_ephemeral_disk))"},{"line_number":1833,"context_line":"            # TODO(jroll) use (yet to be defined) new-style flavor here,"},{"line_number":1834,"context_line":"            # if IRONIC_USE_RESOURCE_CLASSES \u003d\u003d True"},{"line_number":1835,"context_line":"            openstack flavor create --ephemeral $ironic_ephemeral_disk --ram $ironic_node_ram --disk $adjusted_disk --vcpus $ironic_node_cpu baremetal"},{"line_number":1836,"context_line":"            openstack flavor set baremetal --property \"cpu_arch\"\u003d\"$ironic_node_arch\""},{"line_number":1837,"context_line":""},{"line_number":1838,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9f436f4f_9e39d842","line":1835,"range":{"start_line":1835,"start_character":12,"end_line":1835,"end_character":150},"in_reply_to":"9f436f4f_5ec81054","updated":"2017-08-09 10:20:03.000000000","message":"No, not in this patch. See the next patch instead.","commit_id":"e501faef1c48fd796967299aeb44cca7a1e0e032"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f83759f5ef08afaadc35e85f243b3f2ff04bea53","unresolved":false,"context_lines":[{"line_number":1832,"context_line":"            adjusted_disk\u003d$(($ironic_node_disk - $ironic_ephemeral_disk))"},{"line_number":1833,"context_line":"            # TODO(jroll) use (yet to be defined) new-style flavor here,"},{"line_number":1834,"context_line":"            # if IRONIC_USE_RESOURCE_CLASSES \u003d\u003d True"},{"line_number":1835,"context_line":"            openstack flavor create --ephemeral $ironic_ephemeral_disk --ram $ironic_node_ram --disk $adjusted_disk --vcpus $ironic_node_cpu baremetal"},{"line_number":1836,"context_line":"            openstack flavor set baremetal --property \"cpu_arch\"\u003d\"$ironic_node_arch\""},{"line_number":1837,"context_line":""},{"line_number":1838,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9f436f4f_9e4af87d","line":1835,"range":{"start_line":1835,"start_character":12,"end_line":1835,"end_character":150},"in_reply_to":"9f436f4f_9e39d842","updated":"2017-08-09 10:28:59.000000000","message":"Oh, yes. Got it. Did not see that it has chain of patches.","commit_id":"e501faef1c48fd796967299aeb44cca7a1e0e032"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"1d25dec6e3d228763a47eca0b8667510069d8872","unresolved":false,"context_lines":[{"line_number":138,"context_line":"fi"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"IRONIC_DEFAULT_API_VERSION\u003d${IRONIC_DEFAULT_API_VERSION:-latest}"},{"line_number":141,"context_line":"IRONIC_CMD\u003d\"openstack --os-baremetal-api-version $IRONIC_DEFAULT_API_VERSION baremetal\""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"# driver / hardware type options"},{"line_number":144,"context_line":"IRONIC_ENABLED_DRIVERS\u003d${IRONIC_ENABLED_DRIVERS:-fake,pxe_ipmitool,agent_ipmitool}"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_03891022","line":141,"updated":"2017-08-09 13:02:04.000000000","message":"this relies on shell vars for auth etc being present in the context\n\nBy the time we execute those commands, the /etc/openstack/clouds.yaml is already created, so I propose to call CLI as in\n\n  openstack --os-cloud devstack-admin ...","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d63f7de53d457c2bb44604583a4f0e35e745dc39","unresolved":false,"context_lines":[{"line_number":138,"context_line":"fi"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"IRONIC_DEFAULT_API_VERSION\u003d${IRONIC_DEFAULT_API_VERSION:-latest}"},{"line_number":141,"context_line":"IRONIC_CMD\u003d\"openstack --os-baremetal-api-version $IRONIC_DEFAULT_API_VERSION baremetal\""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"# driver / hardware type options"},{"line_number":144,"context_line":"IRONIC_ENABLED_DRIVERS\u003d${IRONIC_ENABLED_DRIVERS:-fake,pxe_ipmitool,agent_ipmitool}"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_46a606c4","line":141,"in_reply_to":"9f436f4f_03891022","updated":"2017-08-09 13:34:11.000000000","message":"I\u0027m fine with it, but I\u0027d prefer to do it in a separate patch. After all, this patch does not change where we call commands.","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c9adc9a3af56e6c2017bc8d788161ccb0690b14f","unresolved":false,"context_lines":[{"line_number":138,"context_line":"fi"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"IRONIC_DEFAULT_API_VERSION\u003d${IRONIC_DEFAULT_API_VERSION:-latest}"},{"line_number":141,"context_line":"IRONIC_CMD\u003d\"openstack --os-baremetal-api-version $IRONIC_DEFAULT_API_VERSION baremetal\""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"# driver / hardware type options"},{"line_number":144,"context_line":"IRONIC_ENABLED_DRIVERS\u003d${IRONIC_ENABLED_DRIVERS:-fake,pxe_ipmitool,agent_ipmitool}"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_4667264f","line":141,"in_reply_to":"9f436f4f_46a606c4","updated":"2017-08-09 13:46:41.000000000","message":"fair point. I also have to confirm with os-client-config folks the actual precedence order between the shell vars and values in the clouds.yaml, I remember there were some inconsistencies there...","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"1d25dec6e3d228763a47eca0b8667510069d8872","unresolved":false,"context_lines":[{"line_number":1784,"context_line":"            -f value -c uuid)"},{"line_number":1785,"context_line":"        die_if_not_set $LINENO node_id \"Failed to create node\""},{"line_number":1786,"context_line":""},{"line_number":1787,"context_line":"        $IRONIC_CMD node manage $node_id --wait 300 || \\"},{"line_number":1788,"context_line":"            die $LINENO \"Node did not reach manageable state in 5 minutes\""},{"line_number":1789,"context_line":""},{"line_number":1790,"context_line":"        # NOTE(vsaienko) IPA didn\u0027t automatically recognize root devices less than 4Gb."}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_03059077","line":1787,"range":{"start_line":1787,"start_character":48,"end_line":1787,"end_character":51},"updated":"2017-08-09 13:02:04.000000000","message":"make in configurable?","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d63f7de53d457c2bb44604583a4f0e35e745dc39","unresolved":false,"context_lines":[{"line_number":1784,"context_line":"            -f value -c uuid)"},{"line_number":1785,"context_line":"        die_if_not_set $LINENO node_id \"Failed to create node\""},{"line_number":1786,"context_line":""},{"line_number":1787,"context_line":"        $IRONIC_CMD node manage $node_id --wait 300 || \\"},{"line_number":1788,"context_line":"            die $LINENO \"Node did not reach manageable state in 5 minutes\""},{"line_number":1789,"context_line":""},{"line_number":1790,"context_line":"        # NOTE(vsaienko) IPA didn\u0027t automatically recognize root devices less than 4Gb."}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_06b0fef3","line":1787,"range":{"start_line":1787,"start_character":48,"end_line":1787,"end_character":51},"in_reply_to":"9f436f4f_03059077","updated":"2017-08-09 13:34:11.000000000","message":"Feels a bit overkill, but I can do it, if I have to create another revision..","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c9adc9a3af56e6c2017bc8d788161ccb0690b14f","unresolved":false,"context_lines":[{"line_number":1784,"context_line":"            -f value -c uuid)"},{"line_number":1785,"context_line":"        die_if_not_set $LINENO node_id \"Failed to create node\""},{"line_number":1786,"context_line":""},{"line_number":1787,"context_line":"        $IRONIC_CMD node manage $node_id --wait 300 || \\"},{"line_number":1788,"context_line":"            die $LINENO \"Node did not reach manageable state in 5 minutes\""},{"line_number":1789,"context_line":""},{"line_number":1790,"context_line":"        # NOTE(vsaienko) IPA didn\u0027t automatically recognize root devices less than 4Gb."}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_a680128d","line":1787,"range":{"start_line":1787,"start_character":48,"end_line":1787,"end_character":51},"in_reply_to":"9f436f4f_06b0fef3","updated":"2017-08-09 13:46:41.000000000","message":"Well, may be not configurable as per local.conf right away, but at least put the magic number to a var. Also line 1844+ is a bit too hardcoded to my taste in this regard as well :)\n\nDo we force cleaning off always in devstack? Since depending on this there might be timeouts when devstack is deploying real BM nodes (3rd party CI)...","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c35c211cd65656de30d424b3f802d875dd90be4d","unresolved":false,"context_lines":[{"line_number":1784,"context_line":"            -f value -c uuid)"},{"line_number":1785,"context_line":"        die_if_not_set $LINENO node_id \"Failed to create node\""},{"line_number":1786,"context_line":""},{"line_number":1787,"context_line":"        $IRONIC_CMD node manage $node_id --wait 300 || \\"},{"line_number":1788,"context_line":"            die $LINENO \"Node did not reach manageable state in 5 minutes\""},{"line_number":1789,"context_line":""},{"line_number":1790,"context_line":"        # NOTE(vsaienko) IPA didn\u0027t automatically recognize root devices less than 4Gb."}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9f436f4f_31045a15","line":1787,"range":{"start_line":1787,"start_character":48,"end_line":1787,"end_character":51},"in_reply_to":"9f436f4f_a680128d","updated":"2017-08-09 13:50:09.000000000","message":"We have a variable to enable/disable actual cleaning (it\u0027s used in the HPE CI). Actually, this operation cannot take much, but stuff on 1844 can be configured indeed. I\u0027ll update after I get the results from Jenkins..","commit_id":"4c2ed72d1fc6fc09602af78237c914688381d42f"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"d00b6dfd5705af5d3c1588e2e2f2864b7b5d84ee","unresolved":false,"context_lines":[{"line_number":1607,"context_line":"    local attempt"},{"line_number":1608,"context_line":"    for attempt in $(seq 1 $IRONIC_CLEANING_ATTEMPTS); do"},{"line_number":1609,"context_line":"        local nodes_not_finished\u003d"},{"line_number":1610,"context_line":"        for node_id in $nodes; do"},{"line_number":1611,"context_line":"            state\u003d$($IRONIC_CMD node show $node_id -f value -c provision_state)"},{"line_number":1612,"context_line":"            if [[ \"$state\" !\u003d \"available\" ]]; then"},{"line_number":1613,"context_line":"                nodes_not_finished+\u003d\" $node_id\""},{"line_number":1614,"context_line":"            fi"},{"line_number":1615,"context_line":"        done"},{"line_number":1616,"context_line":""},{"line_number":1617,"context_line":"        nodes\u003d$nodes_not_finished"},{"line_number":1618,"context_line":"        if [[ \"$nodes\" \u003d\u003d \"\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"9f436f4f_5c92374d","line":1615,"range":{"start_line":1610,"start_character":8,"end_line":1615,"end_character":12},"updated":"2017-08-10 11:54:07.000000000","message":"I\u0027d prefer doing a single request here, eg\n\n openstack baremetal node list --fields uuid provision_state -f value\n\nand iterate through the results, checking if uuid is in nodes.","commit_id":"0954f59e9ef69ffa202fd1c3d519dac681df7c82"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"bc43677d69dba218a63cf4b3c3fd80a9a6534ccf","unresolved":false,"context_lines":[{"line_number":1606,"context_line":""},{"line_number":1607,"context_line":"    local attempt"},{"line_number":1608,"context_line":"    for attempt in $(seq 1 $IRONIC_CLEANING_ATTEMPTS); do"},{"line_number":1609,"context_line":"        local available\u003d$(openstack baremetal node list --provision-state available -f value -c UUID)"},{"line_number":1610,"context_line":"        local nodes_not_finished\u003d"},{"line_number":1611,"context_line":"        for node_id in $nodes; do"},{"line_number":1612,"context_line":"            if ! echo $available | grep -q $node_id; then"}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"9f436f4f_df45f916","line":1609,"range":{"start_line":1609,"start_character":26,"end_line":1609,"end_character":45},"updated":"2017-08-10 12:19:13.000000000","message":"$IRONIC_CMD, for consistency?","commit_id":"f8719b020f614f5c184c225582cbbb9139fee51b"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1c68826127b2af632d0354c51992636ae02794f","unresolved":false,"context_lines":[{"line_number":1606,"context_line":""},{"line_number":1607,"context_line":"    local attempt"},{"line_number":1608,"context_line":"    for attempt in $(seq 1 $IRONIC_CLEANING_ATTEMPTS); do"},{"line_number":1609,"context_line":"        local available\u003d$(openstack baremetal node list --provision-state available -f value -c UUID)"},{"line_number":1610,"context_line":"        local nodes_not_finished\u003d"},{"line_number":1611,"context_line":"        for node_id in $nodes; do"},{"line_number":1612,"context_line":"            if ! echo $available | grep -q $node_id; then"}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"9f436f4f_42e7f2e5","line":1609,"range":{"start_line":1609,"start_character":26,"end_line":1609,"end_character":45},"in_reply_to":"9f436f4f_df45f916","updated":"2017-08-10 12:58:55.000000000","message":"Sigh, yes. I\u0027ll fix it in a follow up, or in the next patch set","commit_id":"f8719b020f614f5c184c225582cbbb9139fee51b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"1195870d0ee0ad73583597920b3a12fc41781d55","unresolved":false,"context_lines":[{"line_number":1609,"context_line":"        local available"},{"line_number":1610,"context_line":"        available\u003d$(openstack baremetal node list --provision-state available -f value -c UUID)"},{"line_number":1611,"context_line":""},{"line_number":1612,"context_line":"        local nodes_not_finished\u003d"},{"line_number":1613,"context_line":"        for node_id in $nodes; do"},{"line_number":1614,"context_line":"            if ! echo $available | grep -q $node_id; then"},{"line_number":1615,"context_line":"                nodes_not_finished+\u003d\" $node_id\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9f436f4f_e97c6bec","line":1612,"range":{"start_line":1612,"start_character":32,"end_line":1612,"end_character":33},"updated":"2017-08-11 11:09:45.000000000","message":"is this one necessary? (/me does not have much bash skill :))","commit_id":"1e6bf0f5c0166c7d5c2d6301ac6b434f58ccc127"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a91828838c5163bc42814a8f8db54fb33588808c","unresolved":false,"context_lines":[{"line_number":1609,"context_line":"        local available"},{"line_number":1610,"context_line":"        available\u003d$(openstack baremetal node list --provision-state available -f value -c UUID)"},{"line_number":1611,"context_line":""},{"line_number":1612,"context_line":"        local nodes_not_finished\u003d"},{"line_number":1613,"context_line":"        for node_id in $nodes; do"},{"line_number":1614,"context_line":"            if ! echo $available | grep -q $node_id; then"},{"line_number":1615,"context_line":"                nodes_not_finished+\u003d\" $node_id\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9f436f4f_e450120d","line":1612,"range":{"start_line":1612,"start_character":32,"end_line":1612,"end_character":33},"in_reply_to":"9f436f4f_e97c6bec","updated":"2017-08-11 11:21:12.000000000","message":"to be explicit about setting it to an empty string","commit_id":"1e6bf0f5c0166c7d5c2d6301ac6b434f58ccc127"}]}
