[OpenStack] 创建第一个实例

 2017-06-07    大连    晴 /ericsson/2017/06/07/1i.html ericsson openstack

本文最近更新于 2018 年 07 月 06 日

使用 CentOS 7 和 PackStack 部署了 OpenStack 后,我们就可以着手创建第一个实例了。

1) 通过浏览器访问 https://<虚拟机地址>/dashboard/ 登录 OpenStack dashboard GUI。

用户名密码在 /root/keystonerc_admin/root/keystonerc_demo 中,接下来创建实例使用 demo 或者 admin 登录都可以,登录后我们可以通过 dashboard GUI 修改我们的登录密码。

2) 进入 OpenStack dashboard GUI 后,点击 Project - Compute - Instances,显示界面如下:

3) 点击 Lauch Instance,弹出如下窗口:

4) 配置实例信息,例如:

Details:

Source:

OpenStack 自带一个 image 叫做 CirrOS(CirrOS is a Tiny OS that specializes in running on a cloud),OpenStack 的开发基本都使用这个 image 来测试,因为它比较小,只有 10M 左右。镜像地址:https://launchpad.net/cirros/
CirrOS 可以使用用户名和密码登陆,也可以使用密钥登陆。用户名密码为:cirros/cubswin:)

— 分割线 —

若发现 OpenStack 中缺少可用的 image,可以下载 CirrOS image 文件进行添加。方法如下:

1.到 CirrOS 镜像网站下载镜像文件,例如 cirros-0.3.5-x86_64-disk.img

2.将下载的 .img 镜像文件上传到 CentOS/OpenStack,例如上传到根目录。

3.通过下面的命令注册 image(自定义修改其中的 <imageName>):

openstack image create <imageName>
openstack image set <imageName>
openstack image create --disk-format qcow2 --container-format bare --public --file /cirros-0.3.5-x86_64-disk.img <imageName>

4.完成,通过 openstack image list 可以查看镜像列表:

[root@localhost ~(keystone_admin)]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| eb94652f-4764-4ec9-baca-499e181eb91b | cirros | active |
+--------------------------------------+--------+--------+
[root@localhost ~(keystone_admin)]# 

— 分割线 —

Flavor 可以选择最小的 m1.tiny 即可。如下图所示:

5) 其他配置信息可以保持默认。然后点击 Launch Instance,等待完成。

具体各个配置项的含义可以访问 OpenStack 查看:链接地址

视频演示:

视频演示(exe 文件):点击下载

实例化过程中如遇报错,善查相关 log。log 路径:参考链接

至此,我们已经成功创建了第一个实例,接下来我们可以通过 terminal 的方式查看我们的 OpenStack 配置和实例信息,试着直观地理解 OpenStack 命令。

[root@localhost ~(keystone_demo)]# nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID                                   | Name | Status | Task State | Power State | Networks         |
+--------------------------------------+------+--------+------------+-------------+------------------+
| d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938 | test | ACTIVE | -          | Running     | private=10.0.0.5 |
+--------------------------------------+------+--------+------------+-------------+------------------+
[root@localhost ~(keystone_demo)]#

执行 nova list 时如果遇到下面报错:

[root@openstack-server ~]# nova list
ERROR (CommandError): You must provide a username or user id via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]

解决方法:使用 source <环境变量> 来获取 token,例如 source /root/keystonerc_admin 或者 source /root/keystonerc_demo

如果在 source <环境变量> 后,执行 OpenStack 相关指令遇到如下报错:

[root@localhost ~(keystone_admin)]# openstack image show
The request you have made requires authentication. (HTTP 401) (Request-ID: req-adefb8e9-27d7-4aab-a9b4-a311f8952340)
[root@localhost ~(keystone_admin)]#

这应该是由于我们通过 dashboard GUI 修改了登录密码,但是 /root/keystonerc_admin 或者 /root/keystonerc_demo 中的 export OS_PASSWORD=<password> 没有修改导致的,将 <password> 改为正确的登录密码即可。

[root@localhost ~(keystone_demo)]# pwd
/root
[root@localhost ~(keystone_demo)]# source keystonerc_demo #根据实际情况,如果是登录 admin 账号创建的实例,则需要执行 source keystonerc_admin
[root@localhost ~(keystone_demo)]# nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID                                   | Name | Status | Task State | Power State | Networks         |
+--------------------------------------+------+--------+------------+-------------+------------------+
| d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938 | test | ACTIVE | -          | Running     | private=10.0.0.5 |
+--------------------------------------+------+--------+------------+-------------+------------------+
[root@localhost ~(keystone_demo)]#
[root@localhost ~(keystone_admin)]# openstack project list
+----------------------------------+----------+
| ID                               | Name     |
+----------------------------------+----------+
| 355c595975894e7d8caa9c3af1ad3cb7 | admin    |
| 541cbc457e4544a593ea8a8ce0f87e88 | demo     |
| 577fe7d4ac0346a1976335dc7400c65d | services |
+----------------------------------+----------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_admin)]# openstack user list
+----------------------------------+------------+
| ID                               | Name       |
+----------------------------------+------------+
| 179a265ba71a4d00b602fb130e7fe65b | swift      |
| 1f8b1698b91c42169437f856426fc0b1 | admin      |
| 3668649a42d54bc3bd90e41a48f67e7f | demo       |
| 525ea601affb42ba82c84fd1ac7f69f6 | nova       |
| 62e05e7360e347dab374f7e6ecd9373e | neutron    |
| 76923e150c0e45289ce2b949f9e8de91 | gnocchi    |
| 9760566253204a7d8781c22be9ca81d6 | glance     |
| d8959f7ec63e4572a016dac66d9908ae | aodh       |
| e810efa8b27144ff83ec1a9d5788e562 | ceilometer |
| ea63efcf740e4b26847159da7b50c743 | placement  |
| ebd7bc00e2824e2d8b2f45c4d9b737d8 | cinder     |
+----------------------------------+------------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_admin)]# openstack role list
+----------------------------------+---------------+
| ID                               | Name          |
+----------------------------------+---------------+
| 36b984c4e73d4150a1679c90c7a358c3 | admin         |
| 4603d58a0f2b4a9cb6258eab5176c7b8 | ResellerAdmin |
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_      |
| dda3c3492daf42a5ba3f7a832d7e0b78 | SwiftOperator |
+----------------------------------+---------------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_demo)]# nova show d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938
+--------------------------------------+---------------------------------------------------------------------------------+
| Property                             | Value                                                                           |
+--------------------------------------+---------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                                                            |
| OS-EXT-AZ:availability_zone          | nova                                                                            |
| OS-EXT-STS:power_state               | 1                                                                               |
| OS-EXT-STS:task_state                | -                                                                               |
| OS-EXT-STS:vm_state                  | active                                                                          |
| OS-SRV-USG:launched_at               | 2017-06-07T06:20:22.000000                                                      |
| OS-SRV-USG:terminated_at             | -                                                                               |
| accessIPv4                           |                                                                                 |
| accessIPv6                           |                                                                                 |
| config_drive                         |                                                                                 |
| created                              | 2017-06-07T06:19:38Z                                                            |
| description                          | test                                                                            |
| flavor                               | m1.tiny (1)                                                                     |
| hostId                               | 619d9e1be3fc2dcb0f6a6e250e40e99d2e34ffc61cceff029f38fb3e                        |
| id                                   | d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938                                            |
| image                                | Attempt to boot from volume - no image supplied                                 |
| key_name                             | -                                                                               |
| locked                               | False                                                                           |
| metadata                             | {}                                                                              |
| name                                 | test                                                                            |
| os-extended-volumes:volumes_attached | [{"id": "b8901d5e-2634-499d-8d20-f1774942fc3f", "delete_on_termination": true}] |
| private network                      | 10.0.0.5                                                                        |
| progress                             | 0                                                                               |
| security_groups                      | default                                                                         |
| status                               | ACTIVE                                                                          |
| tags                                 | []                                                                              |
| tenant_id                            | 541cbc457e4544a593ea8a8ce0f87e88                                                |
| updated                              | 2017-06-07T06:20:23Z                                                            |
| user_id                              | 3668649a42d54bc3bd90e41a48f67e7f                                                |
+--------------------------------------+---------------------------------------------------------------------------------+
[root@localhost ~(keystone_demo)]# 
[root@localhost ~(keystone_admin)]# nova availability-zone-list
+--------------------------+----------------------------------------+
| Name                     | Status                                 |
+--------------------------+----------------------------------------+
| internal                 | available                              |
| |- localhost.localdomain |                                        |
| | |- nova-conductor      | enabled :-) 2017-06-07T09:11:59.000000 |
| | |- nova-consoleauth    | enabled :-) 2017-06-07T09:12:04.000000 |
| | |- nova-scheduler      | enabled :-) 2017-06-07T09:12:06.000000 |
| | |- nova-cert           | enabled :-) 2017-06-07T09:11:58.000000 |
| nova                     | available                              |
| |- localhost.localdomain |                                        |
| | |- nova-compute        | enabled :-) 2017-06-07T09:12:05.000000 |
+--------------------------+----------------------------------------+
[root@localhost ~(keystone_admin)]# openstack availability zone list
+-----------+-------------+
| Zone Name | Zone Status |
+-----------+-------------+
| internal  | available   |
| nova      | available   |
| nova      | available   |
| nova      | available   |
| nova      | available   |
+-----------+-------------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_demo)]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| eb94652f-4764-4ec9-baca-499e181eb91b | cirros | active |
+--------------------------------------+--------+--------+
[root@localhost ~(keystone_demo)]# glance image-list
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| eb94652f-4764-4ec9-baca-499e181eb91b | cirros |
+--------------------------------------+--------+
[root@localhost ~(keystone_demo)]#
[root@localhost ~(keystone_demo)]# openstack image show eb94652f-4764-4ec9-baca-499e181eb91b
+------------------+------------------------------------------------------+
| Field            | Value                                                |
+------------------+------------------------------------------------------+
| checksum         | ee1eca47dc88f4879d8a229cc70a07c6                     |
| container_format | bare                                                 |
| created_at       | 2017-05-24T18:41:41Z                                 |
| disk_format      | qcow2                                                |
| file             | /v2/images/eb94652f-4764-4ec9-baca-499e181eb91b/file |
| id               | eb94652f-4764-4ec9-baca-499e181eb91b                 |
| min_disk         | 0                                                    |
| min_ram          | 0                                                    |
| name             | cirros                                               |
| owner            | 577fe7d4ac0346a1976335dc7400c65d                     |
| protected        | False                                                |
| schema           | /v2/schemas/image                                    |
| size             | 13287936                                             |
| status           | active                                               |
| tags             |                                                      |
| updated_at       | 2017-05-24T18:41:41Z                                 |
| virtual_size     | None                                                 |
| visibility       | public                                               |
+------------------+------------------------------------------------------+
[root@localhost ~(keystone_demo)]# glance image-show eb94652f-4764-4ec9-baca-499e181eb91b
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | ee1eca47dc88f4879d8a229cc70a07c6     |
| container_format | bare                                 |
| created_at       | 2017-05-24T18:41:41Z                 |
| disk_format      | qcow2                                |
| id               | eb94652f-4764-4ec9-baca-499e181eb91b |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | cirros                               |
| owner            | 577fe7d4ac0346a1976335dc7400c65d     |
| protected        | False                                |
| size             | 13287936                             |
| status           | active                               |
| tags             | []                                   |
| updated_at       | 2017-05-24T18:41:41Z                 |
| virtual_size     | None                                 |
| visibility       | public                               |
+------------------+--------------------------------------+
[root@localhost ~(keystone_demo)]# 
[root@localhost ~(keystone_demo)]# 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      |
+----+-----------+-------+------+-----------+-------+-----------+
[root@localhost ~(keystone_demo)]# openstack flavor show 1
+----------------------------+---------+
| Field                      | Value   |
+----------------------------+---------+
| OS-FLV-DISABLED:disabled   | False   |
| OS-FLV-EXT-DATA:ephemeral  | 0       |
| access_project_ids         | None    |
| disk                       | 1       |
| id                         | 1       |
| name                       | m1.tiny |
| os-flavor-access:is_public | True    |
| properties                 |         |
| ram                        | 512     |
| rxtx_factor                | 1.0     |
| swap                       |         |
| vcpus                      | 1       |
+----------------------------+---------+
[root@localhost ~(keystone_demo)]# 
[root@localhost ~(keystone_demo)]# cinder list
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| ID                                   | Status | Name | Size | Volume Type | Bootable | Attached to                          |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| b8901d5e-2634-499d-8d20-f1774942fc3f | in-use |      | 1    | iscsi       | true     | d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938 |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
[root@localhost ~(keystone_demo)]# cinder list --all-tenant
+--------------------------------------+----------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| ID                                   | Tenant ID                        | Status | Name | Size | Volume Type | Bootable | Attached to                          |
+--------------------------------------+----------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| b8901d5e-2634-499d-8d20-f1774942fc3f | 541cbc457e4544a593ea8a8ce0f87e88 | in-use |      | 1    | iscsi       | true     | d91a9a0e-8a6c-4e4f-9f47-99f2d1da7938 |
+--------------------------------------+----------------------------------+--------+------+------+-------------+----------+--------------------------------------+
[root@localhost ~(keystone_demo)]# 
[root@localhost ~(keystone_demo)]# openstack volume list
+--------------------------------------+--------------+--------+------+-------------------------------+
| ID                                   | Display Name | Status | Size | Attached to                   |
+--------------------------------------+--------------+--------+------+-------------------------------+
| b8901d5e-2634-499d-8d20-f1774942fc3f |              | in-use |    1 | Attached to test on /dev/vda  |
+--------------------------------------+--------------+--------+------+-------------------------------+
[root@localhost ~(keystone_demo)]# openstack volume list --all
+--------------------------------------+--------------+--------+------+-------------------------------+
| ID                                   | Display Name | Status | Size | Attached to                   |
+--------------------------------------+--------------+--------+------+-------------------------------+
| b8901d5e-2634-499d-8d20-f1774942fc3f |              | in-use |    1 | Attached to test on /dev/vda  |
+--------------------------------------+--------------+--------+------+-------------------------------+
[root@localhost ~(keystone_demo)]#
[root@localhost ~(keystone_admin)]# openstack network list
+--------------------------------------+---------+--------------------------------------+
| ID                                   | Name    | Subnets                              |
+--------------------------------------+---------+--------------------------------------+
| 12f45958-2c36-48bb-ac47-9532ac2d07e4 | public  | c954be37-19a7-4baa-9a57-09e5d9027610 |
| 9034943f-a6d3-4497-a1b0-c7863d8b36fb | private | ebd61f34-9c77-4c14-be5c-42e7e2667b7a |
+--------------------------------------+---------+--------------------------------------+
[root@localhost ~(keystone_admin)]# openstack network show 12f45958-2c36-48bb-ac47-9532ac2d07e4
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2017-05-24T18:44:26Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 12f45958-2c36-48bb-ac47-9532ac2d07e4 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | False                                |
| mtu                       | 1500                                 |
| name                      | public                               |
| port_security_enabled     | False                                |
| project_id                | 355c595975894e7d8caa9c3af1ad3cb7     |
| provider:network_type     | flat                                 |
| provider:physical_network | extnet                               |
| provider:segmentation_id  | None                                 |
| qos_policy_id             | None                                 |
| revision_number           | 5                                    |
| router:external           | External                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | c954be37-19a7-4baa-9a57-09e5d9027610 |
| updated_at                | 2017-05-24T18:44:29Z                 |
+---------------------------+--------------------------------------+
[root@localhost ~(keystone_admin)]# openstack subnet list
+--------------------------------------+----------------+--------------------------------------+---------------+
| ID                                   | Name           | Network                              | Subnet        |
+--------------------------------------+----------------+--------------------------------------+---------------+
| c954be37-19a7-4baa-9a57-09e5d9027610 | public_subnet  | 12f45958-2c36-48bb-ac47-9532ac2d07e4 | 172.24.4.0/24 |
| ebd61f34-9c77-4c14-be5c-42e7e2667b7a | private_subnet | 9034943f-a6d3-4497-a1b0-c7863d8b36fb | 10.0.0.0/24   |
+--------------------------------------+----------------+--------------------------------------+---------------+
[root@localhost ~(keystone_admin)]# openstack subnet show c954be37-19a7-4baa-9a57-09e5d9027610
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 172.24.4.2-172.24.4.254              |
| cidr              | 172.24.4.0/24                        |
| created_at        | 2017-05-24T18:44:29Z                 |
| description       |                                      |
| dns_nameservers   |                                      |
| enable_dhcp       | False                                |
| gateway_ip        | 172.24.4.1                           |
| host_routes       |                                      |
| id                | c954be37-19a7-4baa-9a57-09e5d9027610 |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | public_subnet                        |
| network_id        | 12f45958-2c36-48bb-ac47-9532ac2d07e4 |
| project_id        | 355c595975894e7d8caa9c3af1ad3cb7     |
| revision_number   | 2                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| updated_at        | 2017-05-24T18:44:29Z                 |
+-------------------+--------------------------------------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_admin)]# openstack subnet show ebd61f34-9c77-4c14-be5c-42e7e2667b7a
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 10.0.0.2-10.0.0.254                  |
| cidr              | 10.0.0.0/24                          |
| created_at        | 2017-05-24T18:44:33Z                 |
| description       |                                      |
| dns_nameservers   |                                      |
| enable_dhcp       | True                                 |
| gateway_ip        | 10.0.0.1                             |
| host_routes       |                                      |
| id                | ebd61f34-9c77-4c14-be5c-42e7e2667b7a |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | private_subnet                       |
| network_id        | 9034943f-a6d3-4497-a1b0-c7863d8b36fb |
| project_id        | 541cbc457e4544a593ea8a8ce0f87e88     |
| revision_number   | 2                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| updated_at        | 2017-05-24T18:44:33Z                 |
+-------------------+--------------------------------------+
[root@localhost ~(keystone_admin)]# 
[root@localhost ~(keystone_admin)]# openstack catalog list
+------------+--------------+----------------------------------------------------------------------------+
| Name       | Type         | Endpoints                                                                  |
+------------+--------------+----------------------------------------------------------------------------+
| placement  | placement    | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8778/placement                                |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8778/placement                                   |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8778/placement                                  |
|            |              |                                                                            |
| aodh       | alarming     | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8042                                          |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8042                                             |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8042                                            |
|            |              |                                                                            |
| cinderv2   | volumev2     | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8776/v2/355c595975894e7d8caa9c3af1ad3cb7      |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8776/v2/355c595975894e7d8caa9c3af1ad3cb7         |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8776/v2/355c595975894e7d8caa9c3af1ad3cb7        |
|            |              |                                                                            |
| glance     | image        | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:9292                                            |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:9292                                             |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:9292                                          |
|            |              |                                                                            |
| gnocchi    | metric       | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8041                                             |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8041                                            |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8041                                          |
|            |              |                                                                            |
| nova       | compute      | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8774/v2.1/355c595975894e7d8caa9c3af1ad3cb7       |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8774/v2.1/355c595975894e7d8caa9c3af1ad3cb7    |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8774/v2.1/355c595975894e7d8caa9c3af1ad3cb7      |
|            |              |                                                                            |
| keystone   | identity     | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:5000/v3                                         |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:35357/v3                                         |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:5000/v3                                       |
|            |              |                                                                            |
| cinder     | volume       | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8776/v1/355c595975894e7d8caa9c3af1ad3cb7      |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8776/v1/355c595975894e7d8caa9c3af1ad3cb7        |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8776/v1/355c595975894e7d8caa9c3af1ad3cb7         |
|            |              |                                                                            |
| cinderv3   | volumev3     | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8776/v3/355c595975894e7d8caa9c3af1ad3cb7        |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8776/v3/355c595975894e7d8caa9c3af1ad3cb7      |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8776/v3/355c595975894e7d8caa9c3af1ad3cb7         |
|            |              |                                                                            |
| ceilometer | metering     | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8777                                          |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8777                                             |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8777                                            |
|            |              |                                                                            |
| neutron    | network      | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:9696                                            |
|            |              | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:9696                                          |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:9696                                             |
|            |              |                                                                            |
| swift      | object-store | RegionOne                                                                  |
|            |              |   internal: https://10.0.2.15:8080/v1/AUTH_355c595975894e7d8caa9c3af1ad3cb7 |
|            |              | RegionOne                                                                  |
|            |              |   admin: https://10.0.2.15:8080/v1/AUTH_355c595975894e7d8caa9c3af1ad3cb7    |
|            |              | RegionOne                                                                  |
|            |              |   public: https://10.0.2.15:8080/v1/AUTH_355c595975894e7d8caa9c3af1ad3cb7   |
|            |              |                                                                            |
+------------+--------------+----------------------------------------------------------------------------+
[root@localhost ~(keystone_admin)]# 

- EOF -

下一篇计划写一下通过命令行创建实例的方法。

更新历史:

2017/06/07 初稿发布
2017/06/16 更新 CirrOS 下载地址,添加注册 image 方法和修改登录密码相关内容

关于作者
Jason,80 后,现从事通信行业。安卓玩家一个人的书房朗读者麦子
 英语入门到放弃
 jsntn
 jasonwtien
 jasonwtien
更多…… /about.html

最近更新: