diff --git a/ansible/controller.yaml b/ansible/controller.yaml index 476ef2b..d2d6683 100644 --- a/ansible/controller.yaml +++ b/ansible/controller.yaml @@ -17,8 +17,7 @@ when: not development - template: src=files/openrc.j2 dest=/home/vagrant/openrc owner=vagrant group=vagrant mode=0644 - lineinfile: dest=/home/vagrant/.bashrc line='source $HOME/openrc' -- copy: src=files/setup.sh dest=/home/vagrant/scripts/setup.sh owner=vagrant group=vagrant mode=0755 -- copy: src=files/rally.sh dest=/home/vagrant/scripts/rally.sh owner=vagrant group=vagrant mode=0755 +- copy: src=files/scripts/ dest=/home/vagrant/scripts/ owner=vagrant group=vagrant mode=0755 - filesystem: fstype=xfs dev=/dev/sdb force=yes - filesystem: fstype=xfs dev=/dev/sdc force=yes - template: src=files/packstack.answers.j2 dest=/home/vagrant/packstack.answers owner=vagrant group=vagrant diff --git a/doc/source/usage.rst b/doc/source/usage.rst index 3aa9466..835e69a 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -28,10 +28,23 @@ APIs All OpenStack API services are running on the controller node with the default IP address ``10.100.50.10``. +Helper scripts +-------------- + +All helper scripts can be found on the ``controller`` node in the +``/home/vagrant/scripts`` directory. + Rally ------ +~~~~~ Install `Rally `_, a framework for performance analysis and benchmarking of individual OpenStack components, with ``/home/vagrant/scripts/rally.sh`` to ``/opt/rally``. The directory is accessible through the webserver, by default at http://10.100.50.10/rally/. + +Fake Drivers +~~~~~~~~~~~~ + +To enable the `fake drivers `_ +for the ``nova-compute`` service on all compute nodes run the +script ``/home/vagrant/scripts/nova_fake.sh``. diff --git a/files/scripts/nova_fake.sh b/files/scripts/nova_fake.sh new file mode 100755 index 0000000..ca316ca --- /dev/null +++ b/files/scripts/nova_fake.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +for node in $(sed -n '/<<< Packstack >>>/{:a;n;/>>> Packstack <<