Merge "Discourage using non-matching versions of Bifrost and Ironic"

This commit is contained in:
Zuul 2020-09-17 09:14:15 +00:00 committed by Gerrit Code Review
commit 27521c77c4
2 changed files with 20 additions and 1 deletions

View File

@ -182,7 +182,8 @@ def parse_args():
'testenv', help='Prepare a virtual testing environment')
testenv.set_defaults(func=cmd_testenv)
testenv.add_argument('--release', default='master',
help='release branch to use (master, ussuri, etc)')
help='release branch to use (master, ussuri, etc), '
'must match the release of bifrost.')
testenv.add_argument('--count', type=int, default=2,
help='number of nodes to create')
testenv.add_argument('--memory', type=int, default=3072,

View File

@ -228,6 +228,16 @@ Additionally, the following parameters can be useful:
.. warning::
If using Keystone_, see :ref:`keystone-tls` for important notes.
``--release``
If using a stable version of Bifrost, the corresponding version of Ironic
is usually detected from the git checkout. If it is not possible (e.g.
you're using Bifrost from a tarball), use this argument to provide
the matching version.
.. note::
Using Bifrost to install older versions of Ironic may work, but is not
guaranteed.
See the built-in documentation for more details:
.. code-block:: bash
@ -451,6 +461,14 @@ below::
$ ansible-playbook -K -vvvv -i inventory/target install.yaml -e cleaning_disk_erase=true
If installing a stable release, you need to set two more parameters, e.g.::
-e git_branch=stable/train -e ipa_upstream_release=stable-train
.. note::
Note the difference in format: git branch uses slashes, IPA release uses
dashes.
After you have performed an installation, you can edit
``/etc/ironic/ironic.conf`` to enable or disable cleaning as desired.
It is highly encouraged to utilize cleaning in any production environment.