简体   繁体   English

在Openstack Nova中创建实例-日志文件

[英]Instance creation in Openstack Nova - Logfile

I need to keep track of Instance creation in openstack Nova. 我需要跟踪openstack Nova中的实例创建。

That is I need to perform some special operations on creation of new instance in openstack. 那就是我需要在openstack中创建新实例时执行一些特殊操作。

So that I need to know where all the details are getting stored (In Log file). 因此,我需要知道所有详细信息都存储在哪里(在日志文件中)。

Please some one guide me regarding the Log file for tracking instance creation or some other way to track the same. 请有人指导我有关用于跟踪实例创建的日志文件或其他跟踪该文件的方法。

As I am aware you have to look in the following services' log files 据我了解,您必须查看以下服务的日志文件

  • nova-scheduler (oftenly installed on controller node). nova-scheduler (通常安装在控制器节点上)。 This will show which 'server' will host the newly created Virtual Machine. 这将显示哪个“服务器”将托管新创建的虚拟机。
  • The logs of nova-compute service running on the host that the Virtual Machine was instantiated. 在实例化虚拟机的主机上运行的nova-compute服务的日志。
  • You can additionally check the logs of qemu and libvirt (again on the host that the Virtual Machine was instantiated) 您还可以检查qemulibvirt的日志(再次在实例化虚拟机的主机上)

Have in mind that the info you will find there, depends on the 'logging level' you have set in each service configuration files. 请记住,您将在此处找到的信息取决于您在每个服务配置文件中设置的“日志记录级别”。 For more information about how you can configure the OpenStack Components logging refer to the official documentation " Logging and Monitoring ". 有关如何配置OpenStack组件日志记录的更多信息,请参考官方文档“ 日志记录和监视 ”。

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

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