Replace doc for overcloud validate with manually running Tempest
Change-Id: I1f9acab519eb7af45b4a737f01c9cfb53ce7caad Closes-bug: #1505129
This commit is contained in:
parent
80b41d6535
commit
d9bab42f96
@ -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::
|
can confirm that the network was created with::
|
||||||
|
|
||||||
neutron net-list
|
neutron net-list
|
||||||
|
|
||||||
|
Sample output of the command::
|
||||||
|
|
||||||
+--------------------------------------+-------------+-------------------------------------------------------+
|
+--------------------------------------+-------------+-------------------------------------------------------+
|
||||||
| id | name | subnets |
|
| id | name | subnets |
|
||||||
+--------------------------------------+-------------+-------------------------------------------------------+
|
+--------------------------------------+-------------+-------------------------------------------------------+
|
||||||
@ -376,19 +379,35 @@ and VLAN id based on the environment::
|
|||||||
|
|
||||||
Validate the Overcloud
|
Validate the Overcloud
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
To verify the Overcloud by running Tempest::
|
Source the ``overcloudrc`` file::
|
||||||
|
|
||||||
openstack overcloud validate --overcloud-auth-url $OS_AUTH_URL \
|
source ~/overcloudrc
|
||||||
--overcloud-admin-password $OS_PASSWORD
|
|
||||||
|
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.
|
.. 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
|
Redeploy the Overcloud
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user