diff --git a/.zuul.yaml b/.zuul.yaml index b0e3c62a4..c6b59ab31 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -22,23 +22,13 @@ - openstack-tox-functional-py35 - openstack-tox-functional-py36 -# TODO(cdent): Using devstack (even minimal) here is more than we need. We -# ought to be able to take a blank node, install placement on it, use -# environment variables for configuration, run placeload, and collect the logs. -# However, that requires more knowledge of zuul and ansible than I currently -# have and we can iterate. - job: name: placement-perfload - parent: devstack-minimal + parent: base description: | - Run a tiny devstack with just placement and keystone and log placement - performance. + A simple node on which to run placement with the barest of configs and + make performance related tests against it. required-projects: - - git.openstack.org/openstack/keystone - git.openstack.org/openstack/placement run: playbooks/perfload.yaml - vars: - devstack_services: - mysql: true - placement-api: true - key: true + post-run: playbooks/post.yaml diff --git a/playbooks/perfload.yaml b/playbooks/perfload.yaml index 5be09f6dc..03f85e940 100644 --- a/playbooks/perfload.yaml +++ b/playbooks/perfload.yaml @@ -1,9 +1,3 @@ -- hosts: all - # Do the default devstack orchestration and then follow with perfload - strategy: linear - roles: - - orchestrate-devstack - - hosts: all tasks: # Borrowed from devstack tasks but we want it early. @@ -13,7 +7,39 @@ path: "{{ ansible_user_dir }}/logs" state: directory owner: "{{ ansible_user }}" + - name: start placement + args: + chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/placement" + shell: + executable: /bin/bash + cmd: | + set -x + # TODO(cdent): Presumably ansible can do this, perhaps with 'package'. + # create database + sudo debconf-set-selections <