一、先决条件
### --- 先决条件
### --- BS结构的访问体系
~~~ 安装OpenStack compute(nova)和identity(keystone)service
~~~ 安装Python2.6或2.7,并必须支持Django(增加了一套网页模板)
~~~ 你的浏览器必须支持HTML5并启用cookies和JavaScript功能(常规浏览器都支持)
二、代码构建(在openstack-controller节点部署)
### --- 检查环境是否正常
[root@controller ~]# source admin-openrc.sh
[root@controller ~]# nova service-list
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-consoleauth | controller.nice.com | internal | enabled | up | 2021-01-11T16:30:54.000000 | - |
| 2 | nova-cert | controller.nice.com | internal | enabled | up | 2021-01-11T16:30:52.000000 | - |
| 3 | nova-conductor | controller.nice.com | internal | enabled | up | 2021-01-11T16:30:55.000000 | - |
| 4 | nova-scheduler | controller.nice.com | internal | enabled | up | 2021-01-11T16:30:53.000000 | - |
| 5 | nova-compute | compute1.nice.com | nova | enabled | up | 2021-01-11T16:30:53.000000 | - |
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+
### --- 检查neutron的代理端
[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+---------------