From 2532be9e05569db0e99c3d3fb0eea368ac6d90a7 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Tue, 23 Jun 2020 13:35:12 +1200 Subject: [PATCH] Document [ironic] auth options for inspector This change documents configuring inspector for client-side authentication with a standalone Ironic API service. Since this documention refers to a keystone auth feature which is about to be released, requirements and lower-constraints are updated to reflect the required release (see https://review.opendev.org/737365 ). Change-Id: I567fc8c7f2147339856563ad880334791f93d99b --- doc/source/install/index.rst | 14 +++++++++++++- lower-constraints.txt | 2 +- requirements.txt | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/source/install/index.rst b/doc/source/install/index.rst index d7713df04..bd236da39 100644 --- a/doc/source/install/index.rst +++ b/doc/source/install/index.rst @@ -81,7 +81,19 @@ Fill in these minimum configuration values: authentication. * The ``ironic`` section - credentials to use when accessing **ironic** - API. + API. When **ironic** is deployed standalone with no authentication, specify + the following:: + + [ironic] + auth_type=none + + When **ironic** is deployed standalone with HTTP Basic authentication, valid + credentials are also required:: + + [ironic] + auth_type=http_basic + username=myName + password=myPassword * ``connection`` in the ``database`` section - SQLAlchemy connection string for the database. By default ironic-inspector uses sqlite as the database diff --git a/lower-constraints.txt b/lower-constraints.txt index 808acb92d..e3d018260 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -43,7 +43,7 @@ jsonpatch==1.25 jsonpath-rw==1.2.0 jsonpointer==2.0 jsonschema==3.2.0 -keystoneauth1==3.18.0 +keystoneauth1==4.2.0 keystonemiddleware==4.18.0 kombu==4.6.8 linecache2==1.0.0 diff --git a/requirements.txt b/requirements.txt index 644383988..27b08bbd9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ futurist>=1.2.0 # Apache-2.0 ironic-lib>=4.3.0 # Apache-2.0 jsonpath-rw<2.0,>=1.2.0 # Apache-2.0 jsonschema>=3.2.0 # MIT -keystoneauth1>=3.18.0 # Apache-2.0 +keystoneauth1>=4.2.0 # Apache-2.0 keystonemiddleware>=4.18.0 # Apache-2.0 netaddr>=0.7.18 # BSD pbr!=2.1.0,>=2.0.0 # Apache-2.0