Most OpenStack services use the same configuration options to enable the debug logging that is also used to troubleshoot your OpenStack environment.

大多数OpenStack服务都使用相同的配置选项来启用调试日志记录,而调试日志记录也用于诊断您的OpenStack环境

To enable the debug mode for an OpenStack service:
要启用OpenStack服务的调试模式:
1、Log in to each controller node.
登录到每个控制器节点
2、Locate and open the required OpenStack service configuration file in the /etc directory, for example, /etc/nova/nova.conf.
在/etc目录中找到并打开所需的OpenStack服务配置文件,例如/etc/nova/nova.conf。
3、In the DEFAULT section, change the value for the debug parameter to True:
在默认部分,将debug参数的值更改为True:
debug = True
If the configuration file that you edit contains the use_syslog parameter, change its value to False:
如果您编辑的配置文件包含use_syslog参数,则将其值更改为False:
use_syslog = False
Disabling syslog will protect the Fuel Master node from overloading debug messages.
禁用syslog将保护Fuel Master node不重载调试消息
4、Save the changes.
保存更改
5、The following services require additional configuration to enable the debug mode:
以下服务需要额外配置才能启用调试模式:
For Cinder, edit the configuration file on each node with Cinder role.
对于cinder,在每一个有cinder角色的节点上编译配置文件

For Glance, edit two configuration files: /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf.
对于glance,编辑/etc/glance/glance-api.conf和/etc/glance/glance-registry.conf两个配置文件

For Ironic, edit the /etc/nova/nova.conf file of the nova-compute service configured to work with Ironic.
对于Ironic,编辑nova-compute服务的/etc/nova/nova.conf以Ironic进行工作
6、Restart the service
重启服务

翻译官方文档:https://docs.openstack.org/fuel-docs/latest/userdocs/fuel-user-guide/troubleshooting/debug-mode.html

为openstack服务使能debug模式的更多相关文章

  1. MyEclipse 启动tomcat本地服务,debug模式,代码一直不同步

    今天写代码遇到一个问题,上午还能正常运行的代码,在eclipse中显示正常,但在游览器中就出现了差异,在网上找了很多方法: 1.add and remove项目,清理tomcat部署目录下的项目,清理 ...

  2. flask使用debug模式时,存在错误时,会占用设备内存直至服务重启才释放;debug模式会开启一个守护进程(daemon process)

    函数调用顺序flask的app.py的run-->werkzeug的serving.py的run_simple-->调用werkzeug的debug的__init__.py里的类Debug ...

  3. Django -> debug模式下的静态文件服务(/media/)

    正式公布django项目的时候,假设存在静态文件(通常会统一放在名称为media或static的文件夹下),则须要建立url到文件系统的映射,比如.使用nginx的时候我们须要进行这种配置. # Dj ...

  4. 玩转Windows服务系列——Debug、Release版本的注册和卸载,及其原理

    Windows服务Debug版本 注册 Services.exe -regserver 卸载 Services.exe -unregserver Windows服务Release版本 注册 Servi ...

  5. MySQL 编译安装并且开启DEBUG模式

    因为想分析下mysql中一些操作的内部执行过程,单纯的看源码太枯燥了,所以决定结合mysql的执行过程来分析,mysql作为一款成熟的数据库软件,在设计的时候就考虑到了调试的问题,只是想开启调试模式的 ...

  6. 玩转Windows服务系列——Debug、Release版本的注册和卸载,及其原理

    原文:玩转Windows服务系列——Debug.Release版本的注册和卸载,及其原理 Windows服务Debug版本 注册 Services.exe -regserver 卸载 Services ...

  7. OpenStack云平台网络模式及其工作机制

    转自:http://openstack.csdn.net/content.html?arcid=2808381 OpenStack云平台网络模式及其工作机制 网络,是OpenStack的部署中最容易出 ...

  8. Myeclipse在debug模式下没加断点程序卡住,start模式下可以正常启动

    参考<eclipse在debug模式下卡住,start模式下可以启动>,地址:https://blog.csdn.net/jack_chen1994/article/details/761 ...

  9. [k8s]debug模式启动集群&k8s常见报错集合(on the fly)

    debug模式启动-支持sa 集群内(pod访问api)使用443加密 no1 no2 安装flanneld kubelet/kube-proxy m1 安装etcd/ api/contruller/ ...

随机推荐

  1. windows 10 服务组件安装出现0x80070422错误解决方法

    问题描述:   windows 10通过控制面板->程序->启用或关闭Windows 功能安装Windows服务或组件时,出现0x80070422错误,提示服务禁止或未启用 问题产生原因: ...

  2. linux 修改openfiles

    使用ulimit -a 可以查看当前系统的所有限制值,使用ulimit -n 可以查看当前的最大打开文件数. 新装的linux默认只有1024,当作负载较大的服务器时,很容易遇到error: too ...

  3. ubuntu安装vsftpd

    使用以下命令安装vsftpd: apt-get install vsftpd 安装完成后,文件服务器已经开启了. 然后就可以连接,可以使用xftp等工具,在上传和下载的时候要注意权限,不然会失败.

  4. 调用DLL的2种方式

    [调用DLL的2种方式] DLL在生成的时候会有dll.lib2个文件,另外包含相应的.h. 1.静态方式,通过lib来引用dll,以及引入.h. 2.只通过dll来使用,前提是知道内部的函数符号.

  5. LED电视与液晶电视的区别

    [LED电视与液晶电视的区别] 目前LED电视全部是采用了LED背光的液晶电视,本质上而言,还是液晶电视.这与真正的LED电视是两个完全不同的概念.如今通常把LED背光电视称为LED电视,采用CCFL ...

  6. SQL Server2012中的Throw语句尝试 RAISERROR和THROW比较

    SQL SERVER2012实现了类似C#抛出异常的Throw语句.相比较于SQL Server2005之前使用@@ERROR,和SQL Server2005之后使用RAISERROR()引发异常都是 ...

  7. SpringBoot26 利用 Ribbon + RestTemplate 调用远程服务资源

    1 RestTemplate扫盲 借助 RestTemplate,Spring应用能够方便地使用REST资源  2 准备 创建三个springCloud项目 >Eureaka : 服务注册中心 ...

  8. 面试题:Java开发中的23种设计模式详解(转)

    设计模式(Design Patterns) ——可复用面向对象软件的基础 设计模式(Design pattern)是一套被反复使用.多数人知晓的.经过分类编目的.代码设计经验的总结.使用设计模式是为了 ...

  9. laravel的mvc

  10. sed 之 & 符号

    sed 之 & 符号 摘自:https://blog.csdn.net/jasonliujintao/article/details/53509620 & 这个符号,其实很有用,在对相 ...