为openstack服务使能debug模式
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模式的更多相关文章
- MyEclipse 启动tomcat本地服务,debug模式,代码一直不同步
今天写代码遇到一个问题,上午还能正常运行的代码,在eclipse中显示正常,但在游览器中就出现了差异,在网上找了很多方法: 1.add and remove项目,清理tomcat部署目录下的项目,清理 ...
- flask使用debug模式时,存在错误时,会占用设备内存直至服务重启才释放;debug模式会开启一个守护进程(daemon process)
函数调用顺序flask的app.py的run-->werkzeug的serving.py的run_simple-->调用werkzeug的debug的__init__.py里的类Debug ...
- Django -> debug模式下的静态文件服务(/media/)
正式公布django项目的时候,假设存在静态文件(通常会统一放在名称为media或static的文件夹下),则须要建立url到文件系统的映射,比如.使用nginx的时候我们须要进行这种配置. # Dj ...
- 玩转Windows服务系列——Debug、Release版本的注册和卸载,及其原理
Windows服务Debug版本 注册 Services.exe -regserver 卸载 Services.exe -unregserver Windows服务Release版本 注册 Servi ...
- MySQL 编译安装并且开启DEBUG模式
因为想分析下mysql中一些操作的内部执行过程,单纯的看源码太枯燥了,所以决定结合mysql的执行过程来分析,mysql作为一款成熟的数据库软件,在设计的时候就考虑到了调试的问题,只是想开启调试模式的 ...
- 玩转Windows服务系列——Debug、Release版本的注册和卸载,及其原理
原文:玩转Windows服务系列——Debug.Release版本的注册和卸载,及其原理 Windows服务Debug版本 注册 Services.exe -regserver 卸载 Services ...
- OpenStack云平台网络模式及其工作机制
转自:http://openstack.csdn.net/content.html?arcid=2808381 OpenStack云平台网络模式及其工作机制 网络,是OpenStack的部署中最容易出 ...
- Myeclipse在debug模式下没加断点程序卡住,start模式下可以正常启动
参考<eclipse在debug模式下卡住,start模式下可以启动>,地址:https://blog.csdn.net/jack_chen1994/article/details/761 ...
- [k8s]debug模式启动集群&k8s常见报错集合(on the fly)
debug模式启动-支持sa 集群内(pod访问api)使用443加密 no1 no2 安装flanneld kubelet/kube-proxy m1 安装etcd/ api/contruller/ ...
随机推荐
- python3+ros api
官方文档:https://wiki.mikrotik.com/wiki/Manual:API_Python3 # !/usr/bin/env python# -*- coding:utf-8 -*-# ...
- MySQL写出高效SQL
mysql设计标准事务处理标准索引使用标准约束设计sql语句标准 怎么写出高效SQL清晰无误的了知业务需求满足业务需求,不做无用功知道表数据量和索引基本情况知道完成SQL需要扫描的数据量级SQL执行计 ...
- usb设备驱动程序
韦老师写的,供参考 /* * drivers\hid\usbhid\usbmouse.c */ #include <linux/kernel.h> #include <linux ...
- http响应chunked格式分析
有的时候服务器生成HTTP回应是无法确定信息大小的,这时用Content-Length就无法事先写入长度,而需要实时生成消息长度,这时服务器一般采用Chunked编码. 在进行Chunked编码传输时 ...
- Python 中的 is 和 == 编码和解码
一 is 与 == 区别 == 比较 比较的是值 例如: a = 'alex' b = 'alex' print(a == b) #True a = 10 ...
- Spring AOP 中pointcut expression表达式解析及配置
Pointcut是指那些方法需要被执行”AOP”,是由”Pointcut Expression”来描述的. Pointcut可以有下列方式来定义或者通过&& || 和!的方式进行组合. ...
- fatal error C1083: 无法打开包括文件:“qedit.h”: No such file or directory
VS2010编译 DirectShow一些项目时遇到 错误:fatal error C1083: 无法打开包括文件:“qedit.h”: No such file or directory 解决方法: ...
- linux su su -
本人以前一直习惯直接使用root,很少使用su,前几天才发现su与su -命令是有着本质区别的! 大部分Linux发行版的默认账户是普通用户,而更改系统文件或者执行某些命令,需要root身份才能进行, ...
- python中Dict与OrderedDict
使用dict时,Key是无序的.在对dict做迭代时,我们无法确定Key的顺序. 如果要保持Key的顺序,可以用OrderedDict: from collections import Ordered ...
- 521. Longest Uncommon Subsequence I 最长不同子数组
[抄题]: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空间分析: [奇葩输出条件]: [奇葩corner case]: [思维问题]: [一句话思路]: 两个单词的话,就是看谁 ...