Skip to content

Commit

Permalink
Merge "Rally deployment check"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Jun 28, 2017
2 parents 81ab85e + 22492fd commit e266e4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ansible/install/roles/rally/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@

- name: Setup rally deployment
shell: . {{ rally_venv }}/bin/activate; . {{ overcloudrc }}; rally deployment create --fromenv --name overcloud

- name: Check Rally deployment
shell: . {{ rally_venv }}/bin/activate; . {{ overcloudrc }}; rally deployment check
register: rally_deployment_check

- name: Fail if Rally deployment cannot be verfied
fail:
msg: "Failed to verify that your deployment is ready to benchmark"
when: rally_deployment_check.rc != 0

0 comments on commit e266e4f

Please sign in to comment.