简体   繁体   English

如何在不重新启动 openstack 的情况下重新加载 nova.conf

[英]how can i reload nova.conf without restarting openstack

I hava to need to modify the openstack's conf, change the the settings of dnsmasq.我不得不修改 openstack 的 conf,更改 dnsmasq 的设置。 It's very easy to reload the config file with restarting nova.network.通过重新启动 nova.network 重新加载配置文件非常容易。 But, for some reason, I can't do that operation.但是,出于某种原因,我无法进行该操作。

so would anyone know how to reload the nova.conf without restarting the openstack?那么有人知道如何在不重新启动 openstack 的情况下重新加载 nova.conf 吗?

Also, i can make some changes using code-injections, like add an extension.此外,我可以使用代码注入进行一些更改,例如添加扩展。 But I still don't know how to add extension without restarting it?但是我仍然不知道如何在不重启的情况下添加扩展?

According to OpenStack docs , to restart Nova service on a controller node (without restarting the server) you should run:根据OpenStack 文档,要在 controller 节点上重启 Nova 服务(无需重启服务器),您应该运行:

# service nova-api restart
# service nova-cert restart
# service nova-compute restart
# service nova-conductor restart
# service nova-consoleauth restart
# service nova-novncproxy restart
# service nova-scheduler restart
# service nova-spicehtml5proxy restart
# service nova-xenvncproxy restart

On a compute node:在计算节点上:

# service nov-compute restart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM