summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-09-02 15:10:33 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2020-09-02 15:39:53 +0200
commit840ce1666830633bae74db74b677a9ae9a013d9f (patch)
tree82939e629261cc8c53355925a603dc469bbb0270 /doc
parent9ac5c0277022a28f3332a43c9572a56b56a51589 (diff)
downloadironic-840ce1666830633bae74db74b677a9ae9a013d9f.tar.gz
Allow setting image_download_source per node
Allows certain flexibility when it comes to low RAM vs high RAM nodes, and large vs small images. Also deploy_interface is settable per node, so this feature makes it easier to migrate from the iscsi deploy. Story: #2008075 Task: #40766 Change-Id: Idf3bbc6d24042ce1d9a895095b5cb0979dd3183d
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/interfaces/deploy.rst9
-rw-r--r--doc/source/install/standalone.rst7
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/source/admin/interfaces/deploy.rst b/doc/source/admin/interfaces/deploy.rst
index 74e50dd46..d8c0e1b09 100644
--- a/doc/source/admin/interfaces/deploy.rst
+++ b/doc/source/admin/interfaces/deploy.rst
@@ -71,6 +71,15 @@ This configuration affects *glance* and ``file://`` images. If you want
[agent]
image_download_source = local
+.. note::
+ This option can also be set per node in ``driver_info``::
+
+ openstack baremetal node set <node> --driver-info image_download_source=local
+
+ or per instance in ``instance_info``::
+
+ openstack baremetal node set <node> --instance-info image_download_source=local
+
You need to set up a workable HTTP server at each conductor node which with
``direct`` deploy interface enabled, and check http related options in the
ironic configuration file to match the HTTP server configurations.
diff --git a/doc/source/install/standalone.rst b/doc/source/install/standalone.rst
index 60c865355..8a693aedb 100644
--- a/doc/source/install/standalone.rst
+++ b/doc/source/install/standalone.rst
@@ -228,6 +228,13 @@ Populating instance_info
--instance-info image_source=$IMG \
--instance-info image_checksum=$MD5HASH
+#. When using low RAM nodes with ``http://`` images that are not in the RAW
+ format, you may want them cached locally, converted to raw and served from
+ the conductor's HTTP server::
+
+ openstack baremetal node set $NODE_UUID \
+ --instance-info image_download_source=local
+
#. :ref:`Boot mode <boot_mode_support>` can be specified per instance::
openstack baremetal node set $NODE_UUID \