显示nova服务列表:nova service-list
+----+------------------+--------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+--------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-conductor | ustack |internal | enabled | up |2014-11-25T07:01:29.000000 | - |
| 3 | nova-cert | ustack |internal | enabled | up |2014-11-25T07:01:25.000000 | - |
| 4 | nova-network | ustack |internal | enabled | up |2014-11-25T07:01:32.000000 | - |
| 5 | nova-compute | ustack |nova | enabled | up | 2014-11-25T07:01:32.000000 | None |
| 6 | nova-scheduler | ustack |internal | enabled | up |2014-11-25T07:01:24.000000 | - |
| 7 | nova-consoleauth | ustack | internal | enabled | up | 2014-11-25T07:01:26.000000 | - |
+----+------------------+--------+----------+---------+-------+----------------------------+-----------------+
显示镜像列表:glance p_w_picpath-list
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format |Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| f61bd91e-ea87-4fe7-a68c-ea8338859370 |cirros-0.3.2-x86_64-uec |ami | ami | 25165824 | active |
| e4c6e956-4959-4d6e-a12a-7834a49aa2c7 |cirros-0.3.2-x86_64-uec-kernel |aki | aki | 4969360 | active |
| b6a71243-0c34-4635-92eb-fee96700979f |cirros-0.3.2-x86_64-uec-ramdisk | ari | ari | 3723817 | active |
| 73c9bad3-c315-416d-9d43-f687a27d32c8 | Fedora-x86_64-20-20140618-sda | qcow2 | bare | 209649664 |active |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
查看镜像:glance p_w_picpath-show 73c9bad3-c315-416d-9d43-f687a27d32c8
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum |9e486c3bf76219a6a37add392e425b36 |
| container_format | bare |
| created_at |2014-11-24T07:42:33 |
| deleted | False |
| disk_format | qcow2 |
| id |73c9bad3-c315-416d-9d43-f687a27d32c8 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name |Fedora-x86_64-20-20140618-sda |
| owner | 8b03d7ec85694f80bb685a4b8b65a2d6 |
| protected | False |
| size | 209649664 |
| status | active |
| updated_at | 2014-11-24T07:42:34 |
+------------------+--------------------------------------+
显示租户列表(Listall tenants.):tenant-list
+----------------------------------+--------------------+---------+
| id | name | enabled |
+----------------------------------+--------------------+---------+
| 8b03d7ec85694f80bb685a4b8b65a2d6| admin | True |
| c81e4e9f9cad40b0817906e34e3b70fb| alt_demo | True |
| d49aaa14428c4b3b87e69cc41f8efa1d| demo | True |
| cbe3efe1152d4eafa9fc1ce6c0921983 |invisible_to_admin | True |
| 0d49edd50acc46658162f85f56d23452| service | True |
+----------------------------------+--------------------+---------+
显示用户列表(Listusers.):keystone user-list
+----------------------------------+----------+---------+----------------------+
| id | name | enabled | email |
+----------------------------------+----------+---------+----------------------+
| ce88df822c804c459c58245b90780c57| admin | True | |
| f824c0c6221441b7bd6ebfab6295a3d0 |alt_demo | True | alt_demo@example.com |
| 3283acabe67b4204bf8c30e2dc6042c6| cinder | True | |
| b1505be0248948dcb6d4fe56cfe03157| demo | True | demo@example.com |
| 23ee202cd59f481cbc8fa3d82ea1e403| glance | True | |
| 71abe21b09f4423ab37d8d6789d65434| heat | True | |
| 671c34d918fb48889848af3bfdabd320| nova | True | |
+----------------------------------+----------+---------+----------------------+
显示角色列表:keystonerole-list
+----------------------------------+------------------+
| id | name |
+----------------------------------+------------------+
| d9fd18aa2fc241e7972e3a8a1b3da304| Member |
| 0a42441b0cdf47b09074192573f91c28| ResellerAdmin |
| 9fe2ff9ee4384b1894a90878d3e92bab| _member_ |
| 0a31e70dbce740b0b469bc07975226b7| admin |
| 96b3f70bdb3843608f13edd69c9fb84c| anotherrole |
| 13f9462fbf454d19b90d021d9e3f250a |heat_stack_owner |
| 605232c40c7f421499f68d25f1492594 |heat_stack_user |
| f5db4cec444a42ce9b06ced7f3a6b7b2| service |
+----------------------------------+------------------+
显示用户-角色列表(keystoneuser-role-list):user-role-list
+----------------------------------+------------------+----------------------------------+----------------------------------+
| id | name | user_id | tenant_id |
+----------------------------------+------------------+----------------------------------+----------------------------------+
| 0a31e70dbce740b0b469bc07975226b7 | admin | ce88df822c804c459c58245b90780c57 |d49aaa14428c4b3b87e69cc41f8efa1d |
| 13f9462fbf454d19b90d021d9e3f250a |heat_stack_owner | ce88df822c804c459c58245b90780c57 |d49aaa14428c4b3b87e69cc41f8efa1d |
+----------------------------------+------------------+----------------------------------+----------------------------------+
显示endpoint列表(List roles granted to a user.):keystone endpoint-list
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| 0d3824ff9b7546b192cfcefaefe88ca1 |RegionOne | http://192.168.0.2:9292 | http://192.168.0.2:9292 | http://192.168.0.2:9292 | e3bd1174fe66431a8aeed5cae5d82b93 |
| 227d7b48172f4a3ab6b14c209e6cb947 |RegionOne | http://192.168.0.2:5000/v2.0 | http://192.168.0.2:5000/v2.0 | http://192.168.0.2:35357/v2.0 | 93371b99988d4a269047fd1985088e2e |
| 4d1af2cfa76844049c9654864c02112f |RegionOne | http://192.168.0.2:8773/services/Cloud | http://192.168.0.2:8773/services/Cloud | http://192.168.0.2:8773/services/Admin | 2d3f8ac2afc14475a1d68a10496dc45a |
| 850b188b10264937b1e0c338ff2e5b0d |RegionOne | http://192.168.0.2:8004/v1/$(tenant_id)s | http://192.168.0.2:8004/v1/$(tenant_id)s | http://192.168.0.2:8004/v1/$(tenant_id)s | 17c199a06c6a406792c64eb0884d9461 |
| 9281f605e71b45b3bac134d7149e693e |RegionOne | http://192.168.0.2:8774/v2.1/$(tenant_id)s |http://192.168.0.2:8774/v2.1/$(tenant_id)s |http://192.168.0.2:8774/v2.1/$(tenant_id)s | 0e1dfb3e0876473cab8c289ab79b65af |
| a51027c6e9ac4b08bb49b503c0bfe595 | RegionOne| http://192.168.0.2:8776/v1/$(tenant_id)s | http://192.168.0.2:8776/v1/$(tenant_id)s | http://192.168.0.2:8776/v1/$(tenant_id)s | 39e3eb845c934f2398bb17e326855a73 |
| a99a222231384a778f0013f9ebc4d14a |RegionOne | http://192.168.0.2:8000/v1 | http://192.168.0.2:8000/v1 | http://192.168.0.2:8000/v1 | 634b00999d284a419b6e012e498ad867 |
| c4c643d52f0c45c6a56e41be41b0f305 |RegionOne | http://192.168.0.2:8776/v2/$(tenant_id)s | http://192.168.0.2:8776/v2/$(tenant_id)s | http://192.168.0.2:8776/v2/$(tenant_id)s | 710f57586b63442ea97fdc030b607326 |
| c854bc981f4f468386678fa73eb8c36c |RegionOne | http://192.168.0.2:3333 | http://192.168.0.2:3333 | http://192.168.0.2:3333 | 68010e511d0e45a3b0fe75a8eb726e21 |
| cfe0a8cc6ee84069baeb57fa555baea8 |RegionOne | http://192.168.0.2:8774/v2/$(tenant_id)s | http://192.168.0.2:8774/v2/$(tenant_id)s | http://192.168.0.2:8774/v2/$(tenant_id)s | 3af097efa46a404c8db35fee22a774c6 |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
转载于:https://blog.51cto.com/8858302/1582627