重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1464|回复: 0
打印 上一主题 下一主题

openstack nova相关日志文件位置在哪里

[复制链接]
跳转到指定楼层
楼主
发表于 2017-10-31 20:29:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我们察看compute service list,发现nova-compute 的状态为 down:

[root@controller ~]# openstack compute service list
+----+------------------+------------+----------+---------+-------+----------------------------+
| ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  1 | nova-consoleauth | controller | internal | enabled | up    | 2017-10-31T11:23:02.000000 |
|  6 | nova-conductor   | controller | internal | enabled | up    | 2017-10-31T11:23:11.000000 |
|  7 | nova-console     | controller | internal | enabled | up    | 2017-10-31T11:23:02.000000 |
|  8 | nova-compute     | controller | nova     | enabled | down  | 2017-10-29T09:39:52.000000 |
|  9 | nova-scheduler   | controller | internal | enabled | up    | 2017-10-31T11:23:12.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+

那么这个nova-compute的日志文件在哪里呢?
默认情况下,在
/var/log/nova目录下:

[root@controller nova]# pwd
/var/log/nova
[root@controller nova]# ls -ltr
total 207468
-rw-r--r-- 1 nova nova    78618 Oct 29 05:11 nova-manage.log
-rw-r--r-- 1 root root  1253246 Oct 29 05:39 nova-placement-api.log
-rw-r--r-- 1 nova nova    24554 Oct 31 07:41 nova-xvpvncproxy.log
-rw-r--r-- 1 nova nova     9672 Oct 31 07:41 nova-novncproxy.log
-rw-r--r-- 1 nova nova  6469272 Oct 31 07:42 nova-console.log
-rw-r--r-- 1 nova nova  6392162 Oct 31 07:42 nova-consoleauth.log
-rw-r--r-- 1 nova nova 16570192 Oct 31 07:42 nova-scheduler.log
-rw-r--r-- 1 nova nova 32568874 Oct 31 07:42 nova-conductor.log
-rw-r--r-- 1 nova nova 32083806 Oct 31 07:42 nova-api-os-compute.log
-rw-r--r-- 1 nova nova   650278 Oct 31 07:43 nova-api-metadata.log
-rw-r--r-- 1 nova nova 59131923 Oct 31 07:44 nova-api.log
-rw-r--r-- 1 nova nova 41158174 Oct 31 08:28 nova-compute.log
[root@controller nova]#

察看 nova-compute.log 文件,就可以看到当前该模块的日志情况.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-28 05:27 , Processed in 0.090432 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表