28d95bfc66
With the split of the User Guides, there's no need anymore to have orphan and user_only flags, remove them from the user-guide directory. Only files that keep :orphan: are doc/user-guide/source/hot-guide/hot_advanced_topics.rst and hot_existing_templates.rst since these files are not currently included. Change-Id: I1ac0356d69d8668785f8b1947e8b061731aca747
39 lines
1.8 KiB
ReStructuredText
39 lines
1.8 KiB
ReStructuredText
==================
|
|
Delete an instance
|
|
==================
|
|
|
|
When you no longer need an instance, you can delete it.
|
|
|
|
#. List all instances::
|
|
|
|
|
|
$ nova list
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
| ID | Name | Status | Task State | Power State | Networks |
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
| 84c6e57d... | myCirrosServer | ACTIVE | None | Running | private=10.0.0.3 |
|
|
| 8a99547e... | myInstanceFromVolume | ACTIVE | None | Running | private=10.0.0.4 |
|
|
| d7efd3e4... | newServer | ERROR | None | NOSTATE | |
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
|
|
#. Run the :command:`nova delete` command to delete the instance. The following
|
|
example shows deletion of the ``newServer`` instance, which is in
|
|
``ERROR`` state::
|
|
|
|
$ nova delete newServer
|
|
|
|
The command does not notify that your server was deleted.
|
|
|
|
#. To verify that the server was deleted, run the :command:`nova list`
|
|
command::
|
|
|
|
$ nova list
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
| ID | Name | Status | Task State | Power State | Networks |
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
| 84c6e57d... | myCirrosServer | ACTIVE | None | Running | private=10.0.0.3 |
|
|
| 8a99547e... | myInstanceFromVolume | ACTIVE | None | Running | private=10.0.0.4 |
|
|
+-------------+----------------------+--------+------------+-------------+------------------+
|
|
|
|
The deleted instance does not appear in the list.
|