)]}'
{"projects/60_nova/resources.sh":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"120d3119f87dfb31391685cc4e6abce543edb456","unresolved":false,"context_lines":[{"line_number":157,"context_line":"        fi"},{"line_number":158,"context_line":"    fi"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    _nova_wait_for_services compute $(resource_get nova nova_compute_count)"},{"line_number":161,"context_line":"}"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"function verify_noapi {"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3a461143_9bc2bb83","line":160,"updated":"2017-01-31 18:04:59.000000000","message":"I would like to put this in verify_noapi and call verify_noapi before we start the top-level nova services in nova/upgrade.sh. Is that cool?","commit_id":"f1cbc919488669ce2b1c119955205de4817712df"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"4029205a658b21c68dea3d3d4d6ecf226d92d607","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"function _nova_count_service {"},{"line_number":41,"context_line":"    local service\u003d\"$1\""},{"line_number":42,"context_line":"    nova service-list | grep -c \"nova-${service}.*enabled | up\""},{"line_number":43,"context_line":"}"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"function _nova_wait_for_services {"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a461143_c14a9454","line":42,"updated":"2017-01-31 18:51:17.000000000","message":"I would suggest to use openstack client here:\n\necho $(openstack compute service list --service nova-$service -f value -c State |grep up | wc -l)","commit_id":"669c91bade22c479c397d9a25fd31fc0816a75ff"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"4029205a658b21c68dea3d3d4d6ecf226d92d607","unresolved":false,"context_lines":[{"line_number":66,"context_line":"function create {"},{"line_number":67,"context_line":"    # NOTE(danms): This needs to be before we switch to the regular user"},{"line_number":68,"context_line":"    # as it can\u0027t call admin interfaces like service-list."},{"line_number":69,"context_line":"    resource_save nova nova_compute_count $(_nova_count_service compute)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    # creates a tenant for the server"},{"line_number":72,"context_line":"    eval $(openstack project create -f shell -c id $NOVA_PROJECT)"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a461143_01857c58","line":69,"updated":"2017-01-31 18:51:17.000000000","message":"How do we know that we got expected value here? It will show 1 if n-cpu on subnode failed, and we will treat it as expected value?","commit_id":"669c91bade22c479c397d9a25fd31fc0816a75ff"}]}
