7.CentOS7下Openstack-Train版本安装--发现计算节点与验证nova的安装

Posted dukun166

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了7.CentOS7下Openstack-Train版本安装--发现计算节点与验证nova的安装相关的知识,希望对你有一定的参考价值。

1.发现计算节点主机

su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

2.设置发现时间间隔

openstack-config --set /etc/nova/nova.conf scheduler discover_hosts_in_cells_interval 300

3.验证整个计算服务nova

systemctl restart openstack-nova-api.service

source admin-openrc
[root@master ~]# openstack compute service list
+----+----------------+--------+----------+---------+-------+----------------------------+
| ID | Binary         | Host   | Zone     | Status  | State | Updated At                 |
+----+----------------+--------+----------+---------+-------+----------------------------+
|  1 | nova-conductor | master | internal | enabled | up    | 2020-01-17T04:53:50.000000 |
|  3 | nova-scheduler | master | internal | enabled | up    | 2020-01-17T04:53:51.000000 |
+----+----------------+--------+----------+---------+-------+----------------------------+
[root@master ~]# openstack catalog list
+-----------+-----------+-------------------------------------------+
| Name      | Type      | Endpoints                                 |
+-----------+-----------+-------------------------------------------+
| keystone  | identity  | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:5000/v3/  |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:5000/v3/    |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:5000/v3/     |
|           |           |                                           |
| nova      | compute   | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:8774/v2.1    |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:8774/v2.1   |
|           |           | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:8774/v2.1 |
|           |           |                                           |
| glance    | image     | RegionOne                                 |
|           |           |   public: http://172.17.0.211:9292        |
|           |           | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:9292      |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:9292         |
|           |           |                                           |
| placement | placement | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:8778      |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:8778        |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:8778         |
|           |           |                                           |
+-----------+-----------+-------------------------------------------+

 

[root@master ~]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| b7e370a1-c329-4e90-b497-65d33f10ef1a | cirros | active |
+--------------------------------------+--------+--------+
[root@master ~]# nova-status upgrade check
+--------------------------------+
| Upgrade Check Results          |
+--------------------------------+
| Check: Cells v2                |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Placement API           |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Ironic Flavor Migration |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Cinder API              |
| Result: Success                |
| Details: None                  |
+--------------------------------+

以上是关于7.CentOS7下Openstack-Train版本安装--发现计算节点与验证nova的安装的主要内容,如果未能解决你的问题,请参考以下文章

8.CentOS7下Openstack-Train版本安装--网络服务neutron(控制节点)

#打卡不停更#[图文并茂]Packstack部署train版openstack

boost1.7 centos7编译

Galera Cluster5.7 (CentOs7) 集群搭建

7.centos7开机启动执行脚本《Mr.Robot》

Hadoop2.7.3+Centos7