Skip to content

Commit aa39641

Browse files
amodi5mriedem
authored andcommitted
Revert "openstack server create" to "nova boot" in nova docs
When this patch [1] was introduced, it didn't take into consideration, the updated/changed/modified parameters when using OSC vs nova CLI, so not every option can be used in "openstack server create" which was used in "nova boot" and vice versa. This bug would track reverting some of these incorrect commands usage. For example- "nova boot --block device <params1>" can be translated as "openstack server create --block-device-mapping <params2>" where params1 and params2 are formatted differently (hence needs more than a simple search/replace) [1] https://review.opendev.org/#/c/404623/ Related-To: https://review.opendev.org/#/c/404623/ Change-Id: I8e400da9445101b9ff5240511c56105e26e16e4c Closes-Bug: #1851425
1 parent 25a29d7 commit aa39641

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/user/launch-instance-from-volume.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Launch an instance from a volume
55
You can boot instances from a volume instead of an image.
66

77
To complete these tasks, use these parameters on the
8-
:command:`openstack server create` command:
8+
:command:`nova boot` command:
99

1010
.. tabularcolumns:: |p{0.3\textwidth}|p{0.25\textwidth}|p{0.4\textwidth}|
1111
.. list-table::
1212
:header-rows: 1
1313
:widths: 30 15 30
1414

1515
* - Task
16-
- openstack server create parameter
16+
- nova boot parameter
1717
- Information
1818
* - Boot an instance from an image and attach a non-bootable
1919
volume.
@@ -103,11 +103,11 @@ system.
103103

104104
.. code-block:: console
105105
106-
$ openstack server create --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 \
106+
$ nova boot --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 \
107107
--block-device source=volume,id=d620d971-b160-4c4e-8652-2513d74e2080,dest=volume,shutdown=preserve \
108108
myInstanceWithVolume
109109
+--------------------------------------+--------------------------------------------+
110-
| Field | Value |
110+
| Property | Value |
111111
+--------------------------------------+--------------------------------------------+
112112
| OS-DCF:diskConfig | MANUAL |
113113
| OS-EXT-AZ:availability_zone | nova |
@@ -315,7 +315,7 @@ the volume to boot an instance.
315315
deleted when the instance is terminated.
316316

317317
.. note:: The example here uses the ``--volume`` option for simplicity. The
318-
``--block-device`` option could also be used for more granular control
318+
``--block-device-mapping`` option could also be used for more granular control
319319
over the parameters. See the `openstack server create`_ documentation for
320320
details.
321321

0 commit comments

Comments
 (0)