[Docs] Add explicit warnings on common mistake
This adds a warning to express, in many places, that the details of the inventory shouldn't be deleted. I hope it would be clearer and prevent user mistakes. Change-Id: I9589f6efc9fa43a31382d4729dcaf4bfc53ba2ca
This commit is contained in:
parent
99f4f17751
commit
41bd98385b
@ -19,6 +19,16 @@ defaults defined in the ``inventory/env.d`` directory.
|
||||
To understand how the dynamic inventory works, see
|
||||
:ref:`inventory-in-depth`.
|
||||
|
||||
.. warning::
|
||||
|
||||
Never edit or delete the files
|
||||
``/etc/openstack_deploy/openstack_inventory.json`` or
|
||||
``/etc/openstack_deploy/openstack_hostnames_ips.yml``. This can
|
||||
lead to file corruptions, and problems with the inventory: hosts
|
||||
and container could disappear and new ones would appear,
|
||||
breaking your existing deployment.
|
||||
|
||||
|
||||
Configuration constraints
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -87,7 +87,8 @@ Once executed, the script will output an ``openstack_inventory.json`` file into
|
||||
the directory specified with the ``--config`` argument. This is used as the
|
||||
source of truth for repeated runs.
|
||||
|
||||
.. note::
|
||||
.. warning::
|
||||
|
||||
The ``openstack_inventory.json`` file is the source of truth for the
|
||||
environment. Deleting this in a production environment means that the UUID
|
||||
portion of container names will be regenerated, which then results in new
|
||||
|
Loading…
Reference in New Issue
Block a user