)]}'
{"projects/60_nova/upgrade.sh":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d2d5ec7750b412808f371f22de8782b51e9d26b8","unresolved":false,"context_lines":[{"line_number":89,"context_line":"# Run the nova-status upgrade check, which was only available starting in Ocata"},{"line_number":90,"context_line":"# so check to make sure it exists before attempting to run it."},{"line_number":91,"context_line":"if [[ -x $(which nova-status) ]]; then"},{"line_number":92,"context_line":"    nova-status upgrade check"},{"line_number":93,"context_line":"fi"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"# Start Nova"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3a461143_23a38301","line":92,"updated":"2017-01-30 22:57:52.000000000","message":"This fails because we haven\u0027t started nova-compute yet so it\u0027s not reporting into the placement API:\n\nhttp://logs.openstack.org/26/426926/2/check/gate-grenade-dsvm-neutron-ubuntu-xenial/8b536f3/logs/grenade.sh.txt.gz#_2017-01-30_22_20_29_466\n\nSo we have 1 compute node record in the database and it\u0027s not reporting to placement until we restart nova-compute on line 97 below.","commit_id":"597c4b0adb1ddaddc6993b12b791e835573f4c25"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"9947dbd2861d48dc3998b29c0a916b2c6fd01da2","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    $errexit"},{"line_number":102,"context_line":"    if [[ $rc -ge 2 ]]; then"},{"line_number":103,"context_line":"        echo \"nova-status upgrade check has failed.\""},{"line_number":104,"context_line":"    fi"},{"line_number":105,"context_line":"fi"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"# Start Nova"}],"source_content_type":"text/x-sh","patch_set":5,"id":"3a461143_506bbeb6","line":104,"updated":"2017-02-01 03:07:29.000000000","message":"Try this?\n\n  nova-status upgrade check || {\n    rc\u003d$?\n    if [[ $rc -ge 2 ]]; then\n      echo \"nova-status upgrade check has failed.\"\n    fi\n  }","commit_id":"6834707ef3950317ed832c738571452a501a21f9"}]}
