Boss drum, motivating rhythm of life with the healing, rhythmic synergy. More seriously, this patch re-arranges the documentation structure to conform to the structure outlined in [1]. With it, some changes are made to effectively transition the links and simplify the sphinx configuration. The Mitaka/Liberty documentation links are removed as they are no longer available. [1] http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html Change-Id: Icc985de3af4de5ea7a5aa01b6e6f6e524c67f11b
4.5 KiB
4.5 KiB
Managing the cloud using the command line
This section describes some of the more common commands to view and manage the cloud.
Log in to any utility container to run the following commands:
List images
The openstack image list command shows details about
currently available images:
$ openstack image list
+------------------+--------------+--------+
| ID | Name | Status |
+------------------+--------------+--------+
| [ID truncated] | ExaeImage | active |
+------------------+--------------+--------+
List compute services
The openstack compute service list command details the
currently running compute services:
$ openstack compute service list
+------------------+------------+----------+---------+-------+----------------------------+
| Binary | Host | Zone | Status | State | Updated_at |
+------------------+------------+----------+---------+-------+----------------------------+
| nova-consoleauth | controller | internal | enabled | up | 2017-02-21T20:25:17.000000 |
| nova-scheduler | controller | internal | enabled | up | 2017-02-21T20:25:18.000000 |
| nova-conductor | controller | internal | enabled | up | 2017-02-21T20:25:20.000000 |
| nova-compute | compute | nova | enabled | up | 2017-02-21T20:25:20.000000 |
+------------------+------------+----------+---------+-------+----------------------------+
List flavors
The openstack flavor list command lists the flavors that are available. These are different disk sizes that can be assigned to images:
$ openstack flavor list
+-----+-----------+-------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+-----+-----------+-------+------+-----------+-------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | 1 | True |
| 2 | m1.small | 2048 | 20 | 0 | 1 | True |
| 3 | m1.medium | 4096 | 40 | 0 | 2 | True |
| 4 | m1.large | 8192 | 80 | 0 | 4 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True |
+-----+-----------+-------+------+-----------+-------+-----------+
List floating IP addresses
he openstack floating ip list command lists the currently available floating IP addresses and the instances they are associated with:
$ openstack floating ip list
+------------------+------------------+---------------------+------------ +
| id | fixed_ip_address | floating_ip_address | port_id |
+------------------+------------------+---------------------+-------------+
| 0a88589a-ffac... | | 208.113.177.100 | |
+------------------+------------------+---------------------+-------------+
For more information about OpenStack client utilities, see these links:
- OpenStack API Quick Start
- OpenStackClient commands
- Image Service (glance) CLI commands
- Image Service (glance) CLI command cheat sheet
- Compute (nova) CLI commands
- Compute (nova) CLI command cheat sheet
- Networking (neutron) CLI commands
- Networking (neutron) CLI command cheat sheet
- Block Storage (cinder) CLI commands
- Block Storage (cinder) CLI command cheat sheet
- python-keystoneclient
- python-glanceclient
- python-novaclient
- python-neutronclient