码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-01-17 13:08:12      阅读:289      评论:0      收藏:0      [点我收藏+]

标签:style   sys   cond   ide   ima   ble   ast   -o   su -   

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的安装

标签:style   sys   cond   ide   ima   ble   ast   -o   su -   

原文地址:https://www.cnblogs.com/dukun166/p/12205272.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!