组件
nova 对虚拟机管理
cinder 云硬盘
swift 对象存储 容器
glance 镜像
neutron 网络
kestone 验证 所有的组件都得要向keystone进行注册,登记
利用 rebitmq 互相通信
环境需要mysql
框架
-
控制节点 keystone dashboard
-
计算节点 跑虚拟机的机器
-
网络节点 为计算节点里的虚拟机提供路由 DHCP
-
存储节点
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
[[email protected] ~]# source keystonerc_admin
[[email protected] ~(keystone_admin)]# open
open openstack-config openstack-service
openssl openstack-db openstack-statusopenstack openstack-keystone-sample-data openvt[[email protected] ~(keystone_admin)]# openstack-status
== Nova services ==openstack-nova-api: activeopenstack-nova-compute: activeopenstack-nova-network: inactive (disabled on boot)openstack-nova-scheduler: activeopenstack-nova-cert: activeopenstack-nova-conductor: activeopenstack-nova-console: inactive (disabled on boot)openstack-nova-consoleauth: activeopenstack-nova-xvpvncproxy: inactive (disabled on boot)== Glance services ==openstack-glance-api: activeopenstack-glance-registry: active== Keystone service ==openstack-keystone: inactive (disabled on boot)== Horizon service ==openstack-dashboard: active== neutron services ==neutron-server: activeneutron-dhcp-agent: activeneutron-l3-agent: activeneutron-metadata-agent: activeneutron-openvswitch-agent: active== Swift services ==openstack-swift-proxy: activeopenstack-swift-account: activeopenstack-swift-container: activeopenstack-swift-object: active== Cinder services ==openstack-cinder-api: activeopenstack-cinder-scheduler: activeopenstack-cinder-volume: activeopenstack-cinder-backup: active== Ceilometer services ==openstack-ceilometer-api: activeopenstack-ceilometer-central: activeopenstack-ceilometer-compute: activeopenstack-ceilometer-collector: activeopenstack-ceilometer-alarm-notifier: activeopenstack-ceilometer-alarm-evaluator: activeopenstack-ceilometer-notification: active== Support services ==mysqld: active (disabled on boot)openvswitch: activedbus: activetarget: activerabbitmq-server: activememcached: active== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
+----------------------------------+------------+---------+----------------------+| id | name | enabled | email |
+----------------------------------+------------+---------+----------------------+| 1627cc3d61c04f9db9608e9703a01371 | admin | True | [email protected] || 04247710cdf34914a7f5b315ab166731 | ceilometer | True | [email protected] || cb5e12e30a4a4c1dae57255c184b8b30 | cinder | True | [email protected] || 632fb20205ea4c40988d7d65b2844ff6 | glance | True | [email protected] || 23c4fb48a5a247d68e50c6b74fb6f035 | http | True | || 80069f5c8edc454b8038e7f116df4ff5 | neutron | True | [email protected] || adbcaaf58d09495988b57be8e82b4e6b | nova | True | [email protected] || 4f488ff4859e4973afefea6e7872ed83 | swift | True | [email protected] |+----------------------------------+------------+---------+----------------------+== Glance images ==+--------------------------------------+-----------+| ID | Name |+--------------------------------------+-----------+| 2a0db075-f221-4285-9ff9-38b755a322c1 | centos7.2 |+--------------------------------------+-----------+== Nova managed services ==+----+------------------+---------------+----------+---------+-------+----------------------------+-----------------+| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |+----+------------------+---------------+----------+---------+-------+----------------------------+-----------------+| 1 | nova-consoleauth | h1.hequan.com | internal | enabled | up | 2016-07-05T07:06:34.000000 | - || 2 | nova-scheduler | h1.hequan.com | internal | enabled | up | 2016-07-05T07:06:34.000000 | - || 3 | nova-conductor | h1.hequan.com | internal | enabled | up | 2016-07-05T07:06:34.000000 | - || 5 | nova-compute | h1.hequan.com | nova | enabled | up | 2016-07-05T07:06:34.000000 | - || 6 | nova-cert | h1.hequan.com | internal | enabled | up | 2016-07-05T07:06:34.000000 | - || 7 | nova-compute | h2.hequan.com | nova | enabled | up | 2016-07-05T07:06:34.000000 | - |+----+------------------+---------------+----------+---------+-------+----------------------------+-----------------+== Nova networks ==+--------------------------------------+---------+------+| ID | Label | Cidr |+--------------------------------------+---------+------+| bebbc903-5846-4e8d-9c19-f0248cb6e08d | put-ex | - || 494cbfae-b26d-4e29-859e-35c55f017f19 | he_sub2 | - || 1f8a8d0c-2e32-4aaa-83d6-3ba52a768292 | quan | - || 67d35cd2-3b95-48a7-96b7-6ba1f0eb7d5d | he_sub | - |+--------------------------------------+---------+------+== Nova instance flavors ==+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True || 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True || 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True || 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True || 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+== Nova instances ==+--------------------------------------+------+----------------------------------+--------+------------+-------------+-----------------------------------+| ID | Name | Tenant ID | Status | Task State | Power State | Networks |+--------------------------------------+------+----------------------------------+--------+------------+-------------+-----------------------------------+| 95311ed2-6091-4ce7-a2be-caab8e2760ce | 1 | 43986fb013804aa0a04ca277e4d0e69c | ACTIVE | - | Running | quan=192.168.10.12, 192.168.2.104 |+--------------------------------------+------+------ |
本文转自 295631788 51CTO博客,原文链接:http://blog.51cto.com/hequan/1795980,如需转载请自行联系原作者