)]}'
{"scripts/ironic_generate-images.sh":[{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"027e105f9aa7152603e13f24a606900621c0e82f","unresolved":false,"context_lines":[{"line_number":13,"context_line":"  unset DIB_HPSSACLI_URL IRONIC_AGENT_VERSION"},{"line_number":14,"context_line":"  unset -f make-base-image"},{"line_number":15,"context_line":"  unset -f cleanup"},{"line_number":16,"context_line":"openstacktivate"},{"line_number":17,"context_line":"}"},{"line_number":18,"context_line":"# clean up our variables on exit, even exit on error"},{"line_number":19,"context_line":"trap cleanup EXIT"}],"source_content_type":"text/x-sh","patch_set":1,"id":"3f79a3b5_83302158","line":16,"updated":"2018-08-23 18:35:57.000000000","message":"this was to deactivate the venv why did it change?","commit_id":"7a80541f3360983b8e5507a2ddd505cd30f9c780"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"027e105f9aa7152603e13f24a606900621c0e82f","unresolved":false,"context_lines":[{"line_number":30,"context_line":"                                    --disk-format aki \\"},{"line_number":31,"context_line":"                                    --property hypervisor_type\u003dbaremetal \\"},{"line_number":32,"context_line":"                                    --protected \\"},{"line_number":33,"context_line":"                                    --container-format aki \u003c ~/images/baremetal-$DISTRO_NAME-$DIB_RELEASE.vmlinuz baremetal-$DISTRO_NAME-$DIB_RELEASE.vmlinuz\" \\"},{"line_number":34,"context_line":"                                    | awk \u0027/\\| id/ {print $4}\u0027) \\"},{"line_number":35,"context_line":"  INITRD_UUID\u003d$(ssh -o StrictHostKeyChecking\u003dno \"${UTILITY01_HOSTNAME}\" \"source ~/openrc; openstack image create --name baremetal-$DISTRO_NAME-$DIB_RELEASE.initrd \\"},{"line_number":36,"context_line":"                                   --visibility public \\"}],"source_content_type":"text/x-sh","patch_set":1,"id":"3f79a3b5_430f6987","line":33,"range":{"start_line":33,"start_character":59,"end_line":33,"end_character":60},"updated":"2018-08-23 18:35:57.000000000","message":"everything after the file redirect (stdin) is pulled into the image create, the name needs to go before it, not after.\n\n(same on the five calls below)","commit_id":"7a80541f3360983b8e5507a2ddd505cd30f9c780"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"babe4032537343a43cc523ea327edb512cb656da","unresolved":false,"context_lines":[{"line_number":13,"context_line":"  unset DIB_HPSSACLI_URL IRONIC_AGENT_VERSION"},{"line_number":14,"context_line":"  unset -f make-base-image"},{"line_number":15,"context_line":"  unset -f cleanup"},{"line_number":16,"context_line":"deactivate"},{"line_number":17,"context_line":"}"},{"line_number":18,"context_line":"# clean up our variables on exit, even exit on error"},{"line_number":19,"context_line":"trap cleanup EXIT"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3f79a3b5_198a0bbb","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":10},"updated":"2018-09-07 17:48:11.000000000","message":"spacing","commit_id":"47a6d67f5423cf6fc82f1a1001e95066da2132ca"}],"scripts/ironic_register-nodes.sh":[{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"027e105f9aa7152603e13f24a606900621c0e82f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"openstack#!/usr/bin/env bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -e -u"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3f79a3b5_a31d1dbf","line":1,"updated":"2018-08-23 18:35:57.000000000","message":"wat","commit_id":"7a80541f3360983b8e5507a2ddd505cd30f9c780"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"027e105f9aa7152603e13f24a606900621c0e82f","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    openstack flavor set resources:CUSTOM_${NOVA_RESOURCE_FLAVOR_NAME}\u003d1 ${RESOURCE_CLASS}"},{"line_number":62,"context_line":"fi"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"openstack baremetal --os-baremetal-api-version 1.22 node-set--propertyrovision-state \"${NODE_UUID}\" manage"},{"line_number":65,"context_line":"sleep 1m  # necessary to get power state"},{"line_number":66,"context_line":"openstack baremetal --os-baremetal-api-version 1.22 node-set--propertyrovision-state \"${NODE_UUID}\" provide"}],"source_content_type":"text/x-sh","patch_set":1,"id":"3f79a3b5_c34859b4","line":64,"range":{"start_line":64,"start_character":62,"end_line":64,"end_character":78},"updated":"2018-08-23 18:35:57.000000000","message":"This one doesn\u0027t look right, the the node-set--propertyrovision-state looks like a typo (same as below).","commit_id":"7a80541f3360983b8e5507a2ddd505cd30f9c780"},{"author":{"_account_id":21740,"name":"Xin","email":"zxuuzx@gmail.com","username":"FrankZhang"},"change_message_id":"5c4ce5e013756c048f9e29d96d568801c204800a","unresolved":false,"context_lines":[{"line_number":52,"context_line":"if ! openstack flavor list | grep \"${RESOURCE_CLASS}\"; then"},{"line_number":53,"context_line":"    FLAVOR_ID\u003d$(cat /proc/sys/kernel/random/uuid)"},{"line_number":54,"context_line":"    openstack flavor create  ${FLAVOR_ID} --ram ${image_ram} --disk ${image_disk_root} --vcpus ${image_vcpu} ${RESOURCE_CLASS}"},{"line_number":55,"context_line":"    openstack flavor set cpu_arch\u003dx86_64 ${RESOURCE_CLASS}"},{"line_number":56,"context_line":"    openstack flavor set capabilities:boot_option\u003d\"local\" ${RESOURCE_CLASS}"},{"line_number":57,"context_line":"    openstack flavor set capabilities:disk_label\u003d\"gpt\" ${RESOURCE_CLASS}"},{"line_number":58,"context_line":"    openstack flavor set resources:VCPU\u003d0 ${RESOURCE_CLASS}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_6b58a5f9","line":55,"updated":"2018-08-30 20:28:26.000000000","message":"Though this is converting from old cli command to openstack one, original logic is a bit complicated which is creating the flavor then modifying it. Thinking creating it with all args together is more intuitive and straight forward.","commit_id":"4f67d9126916dd810eba7b6a4620dfe98c5001d6"}]}
