OpenStack+Ceph+热迁移+++六、测试是否运行正常

本文详细介绍如何在OpenStack环境中检查服务状态,包括nova和cinder组件的状态验证、故障排除及资源创建流程。通过具体步骤展示了如何处理服务状态异常、上传镜像、创建云硬盘和虚拟机等操作。

六、测试是否运行正常

查看nova各服务

openstack compute service list

root@controller ~]# . admin-openrc 
[root@controller ~]# openstack compute service list
+----+------------------+------------+----------+---------+-------+----------------------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  1 | nova-conductor   | controller | internal | enabled | up    | 2017-11-28T15:20:58.000000 |
|  2 | nova-consoleauth | controller | internal | enabled | up    | 2017-11-28T15:21:07.000000 |
|  3 | nova-scheduler   | controller | internal | enabled | up    | 2017-11-28T15:21:05.000000 |
|  6 | nova-compute     | compute1   | nova     | enabled | up    | 2017-11-28T15:21:04.000000 |
|  7 | nova-compute     | compute2   | nova     | enabled | up    | 2017-11-28T15:21:04.000000 |
|  8 | nova-compute     | cinder     | nova     | enabled | up    | 2017-11-28T15:20:57.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+

查看cinder服务

cinder service-list

[root@controller ~]# cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
|      Binary      |     Host    | Zone |  Status | State |         Updated_at         | Disabled Reason |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler |  controller | nova | enabled |   up  | 2017-11-28T15:22:17.000000 |        -        |
|  cinder-volume   |    cinder   | nova | enabled |  down | 2017-11-28T12:13:07.000000 |        -        |
|  cinder-volume   | cinder@ceph | nova | enabled |   up  | 2017-11-28T15:22:18.000000 |        -        |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+

发现有个down掉的,不碍事我们删掉它眼不见心不烦

先更改状态为disable

cinder service-disable  cinder cind

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值