Skip to content

Commit 426fdf1

Browse files
authored
Merge pull request CCI-MOC#154 from tzumainn/phase2-update
Update docs with functional test and boot-from-volume info
2 parents dcc91f9 + 8cbd44c commit 426fdf1

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

docs/source/install/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,24 @@ Two additional ESI add-ons provide additional functionality:
4848

4949
Instructions for installing these add-ons can be found within the linked repositories.
5050

51+
Functional Tests
52+
----------------
53+
54+
The functional tests in `python-esiclient`_ and `python-esileapclient`_ may be useful in
55+
ensuring that your OpenStack installation is configured properly for ESI. Documentation for running
56+
these tests can be found within their respecitive repositories:
57+
58+
* `ESI Functional Tests`_
59+
* `ESI Leap Functional Tests`_
60+
5161
.. _install OpenStack: https://docs.openstack.org/install-guide/
5262
.. _Ironic node multi-tenancy: https://docs.openstack.org/ironic/latest/admin/node-multitenancy.html
5363
.. _here: https://github.com/CCI-MOC/esi/blob/master/etc/ironic/policy.yaml.sample
5464
.. _ESI Leap: https://github.com/CCI-MOC/esi-leap
5565
.. _python-esileapclient: https://github.com/CCI-MOC/python-esileapclient
5666
.. _python-esiclient: https://github.com/CCI-MOC/python-esiclient
67+
.. _ESI Functional Tests: https://github.com/CCI-MOC/python-esiclient/tree/master/esiclient/tests/functional
68+
.. _ESI Leap Functional Tests: https://github.com/CCI-MOC/python-esileapclient/tree/master/esileapclient/tests/functional
5769
.. _Allow node lessee to see node's ports: https://review.opendev.org/c/openstack/ironic/+/730366
5870
.. _Allow node vif attach to specify port_uuid: https://review.opendev.org/#/c/731780/
5971
.. _Add port-uuid parameter to node vif attach: https://review.opendev.org/#/c/737585/

docs/source/usage/index.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Image-based provisioning can be accomplished through the use of `Metalsmith`_. I
195195
Volume
196196
~~~~~~
197197

198-
The process for booting a node from a volume is described in the `Ironic boot-from-volume documentation`_. There are two things to note for non-admin deployments:
198+
In order to boot a node from a volume, two node attributes must be set as follows:
199199

200200
* The node owner or admin should set the `iscsi_boot` node capability prior to leasing the node.
201201
* The node lessee should not be allowed to edit the `storage_interface` node attribute. Instead, they can run the following command to temporarily override that value (until the node is cleaned):
@@ -206,6 +206,14 @@ The process for booting a node from a volume is described in the `Ironic boot-fr
206206
| Override Storage Interface | ``openstack baremetal node set --instance-info storage_interface=cinder <node>`` |
207207
+----------------------------+----------------------------------------------------------------------------------+
208208

209+
The process for booting a node from a volume is described in the `Ironic boot-from-volume documentation`_. You can also use `python-esiclient`_ to run that workflow with a single command:
210+
211+
+-----------------------+--------------------------------------------------------------------------------------------+
212+
| | **Actions** |
213+
+-----------------------+--------------------------------------------------------------------------------------------+
214+
| Boot Node from Volume | ``openstack esi node volume attach (--network <network> | --port <port>) <node> <volume>`` |
215+
+-----------------------+--------------------------------------------------------------------------------------------+
216+
209217
External Provisioning
210218
~~~~~~~~~~~~~~~~~~~~~
211219

@@ -244,6 +252,15 @@ Node/Network Management
244252
| Detach Network from Node | ``openstack esi node network detach <node> <port>`` |
245253
+-------------------------------+------------------------------------------------------------------------------------+
246254

255+
Boot Node from Volume
256+
~~~~~~~~~~~~~~~~~~~~~
257+
258+
+-----------------------+--------------------------------------------------------------------------------------------+
259+
| | **Actions** |
260+
+-----------------------+--------------------------------------------------------------------------------------------+
261+
| Boot Node from Volume | ``openstack esi node volume attach (--network <network> | --port <port>) <node> <volume>`` |
262+
+-----------------------+--------------------------------------------------------------------------------------------+
263+
247264
Trunk Ports
248265
~~~~~~~~~~~
249266

0 commit comments

Comments
 (0)