AMBARI-8607 Rolling upgrade process: integration with API. (atkach)