Update ironic inspector document for dropping py2.x

Support for python2 was dropped during the Ussuri development
cycle.

Change-Id: Ibe7514b0fbd7619f24a75cf3f0230f652a6243cf
This commit is contained in:
junyiwan-gtc 2020-02-03 22:06:04 +08:00
parent 2c2193a1b7
commit e964b18b99
1 changed files with 3 additions and 7 deletions

View File

@ -41,16 +41,12 @@ Next checkout and create environments::
tox
Repeat *tox* command each time you need to run tests. If you don't have Python
interpreter of one of supported versions (currently 2.7 and 3.4), use
interpreter of one of supported versions (currently 3.6 and 3.7), use
``-e`` flag to select only some environments, e.g.
::
tox -e py27
.. note::
Support for Python 3 is highly experimental, stay with Python 2 for the
production environment for now.
tox -e py36
.. note::
This command also runs tests for database migrations. By default the sqlite
@ -75,7 +71,7 @@ should regenerate :ref:`State machine diagram <state_machine_diagram>` with::
Run the service with::
.tox/py27/bin/ironic-inspector --config-file example.conf
.tox/py36/bin/ironic-inspector --config-file example.conf
Of course you may have to modify ``example.conf`` to match your OpenStack
environment. See the `install guide <../install#sample-configuration-files>`_