From d9bab42f964bb18b12b24929bd5fc55e768ebfbf Mon Sep 17 00:00:00 2001 From: Imre Farkas Date: Wed, 9 Sep 2015 11:19:38 +0200 Subject: [PATCH] Replace doc for overcloud validate with manually running Tempest Change-Id: I1f9acab519eb7af45b4a737f01c9cfb53ce7caad Closes-bug: #1505129 --- .../basic_deployment/basic_deployment_cli.rst | 37 ++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/doc/source/basic_deployment/basic_deployment_cli.rst b/doc/source/basic_deployment/basic_deployment_cli.rst index 2cfbe869..3739ced9 100644 --- a/doc/source/basic_deployment/basic_deployment_cli.rst +++ b/doc/source/basic_deployment/basic_deployment_cli.rst @@ -358,6 +358,9 @@ tests to pass, based on the default floating pool name set in nova.conf. You can confirm that the network was created with:: neutron net-list + +Sample output of the command:: + +--------------------------------------+-------------+-------------------------------------------------------+ | id | name | subnets | +--------------------------------------+-------------+-------------------------------------------------------+ @@ -376,19 +379,35 @@ and VLAN id based on the environment:: Validate the Overcloud ^^^^^^^^^^^^^^^^^^^^^^ -To verify the Overcloud by running Tempest:: +Source the ``overcloudrc`` file:: - openstack overcloud validate --overcloud-auth-url $OS_AUTH_URL \ - --overcloud-admin-password $OS_PASSWORD + source ~/overcloudrc + +Create a directory for Tempest (eg. naming it ``tempest``):: + + mkdir ~/tempest + cd ~/tempest + +Tempest expects the tests it discovers to be in the current working directory. +Set it up accordingly:: + + /usr/share/openstack-tempest-liberty/tools/configure-tempest-directory + +The ``~/tempest-deployer-input.conf`` file was created during deployment and +contains deployment specific settings. Use that file to configure +Tempest:: + + tools/config_tempest.py --deployer-input ~/tempest-deployer-input.conf \ + --debug --create \ + identity.uri $OS_AUTH_URL \ + identity.admin_password $OS_PASSWORD + +Run Tempest:: + + tools/run-tests.sh .. note:: The full Tempest test suite might take hours to run on a single CPU. -To run only a part of the Tempest test suite (eg. tests with ``smoke`` tag):: - - openstack overcloud validate --overcloud-auth-url $OS_AUTH_URL \ - --overcloud-admin-password $OS_PASSWORD \ - --tempest-args smoke - Redeploy the Overcloud ^^^^^^^^^^^^^^^^^^^^^^