diff options
author | melanie witt <melwittt@gmail.com> | 2023-02-15 22:37:40 +0000 |
---|---|---|
committer | melanie witt <melwittt@gmail.com> | 2023-05-10 14:59:21 +0000 |
commit | 8b4b99149a35663fc11d7d163082747b1b210b4d (patch) | |
tree | 9567c16aca8d03c38c04bd84fa0a3a62749d0336 /doc/source/install/compute-install-obs.rst | |
parent | f1009524f2778c482f9e67cc6195f1101b5f6bdc (diff) | |
download | nova-8b4b99149a35663fc11d7d163082747b1b210b4d.tar.gz |
Use force=True for os-brick disconnect during delete
The 'force' parameter of os-brick's disconnect_volume() method allows
callers to ignore flushing errors and ensure that devices are being
removed from the host.
We should use force=True when we are going to delete an instance to
avoid leaving leftover devices connected to the compute host which
could then potentially be reused to map to volumes to an instance that
should not have access to those volumes.
We can use force=True even when disconnecting a volume that will not be
deleted on termination because os-brick will always attempt to flush
and disconnect gracefully before forcefully removing devices.
Closes-Bug: #2004555
Change-Id: I3629b84d3255a8fe9d8a7cea8c6131d7c40899e8
(cherry picked from commit db455548a12beac1153ce04eca5e728d7b773901)
(cherry picked from commit efb01985db88d6333897018174649b425feaa1b4)
Diffstat (limited to 'doc/source/install/compute-install-obs.rst')
-rw-r--r-- | doc/source/install/compute-install-obs.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/source/install/compute-install-obs.rst b/doc/source/install/compute-install-obs.rst index c5c1d29fb3..c227b6eba4 100644 --- a/doc/source/install/compute-install-obs.rst +++ b/doc/source/install/compute-install-obs.rst @@ -92,6 +92,26 @@ Install and configure components Comment out or remove any other options in the ``[keystone_authtoken]`` section. + * In the ``[service_user]`` section, configure :ref:`service user + tokens <service_user_token>`: + + .. path /etc/nova/nova.conf + .. code-block:: ini + + [service_user] + send_service_user_token = true + auth_url = https://controller/identity + auth_strategy = keystone + auth_type = password + project_domain_name = Default + project_name = service + user_domain_name = Default + username = nova + password = NOVA_PASS + + Replace ``NOVA_PASS`` with the password you chose for the ``nova`` user in + the Identity service. + * In the ``[DEFAULT]`` section, configure the ``my_ip`` option: .. path /etc/nova/nova.conf |