openstack
  • Introduction
  • 安装教程
    • config
      • mariadb
        • openstack.cnf
      • rabbitmq
      • memcached
        • memcached
      • httpd
        • httpd.conf
      • keystone
        • keystone.conf
        • wsgi-keystone.conf
      • glance
        • glance-api.conf
        • glance-registry.conf
      • nova
        • 00-nova-placement-api.conf
        • nova.conf.controller
        • nova.conf.compute
      • neutron
        • neutron.conf.controller
        • neutron.conf.compute
        • ml2_conf.ini
        • linuxbridge_agent.ini.controller
        • linuxbridge_agent.ini.compute
        • l3_agent.ini
        • dhcp_agent.ini
        • metadata_agent.ini
      • cinder
        • cinder.conf.controller
        • cinder.conf.volume
      • horizon
        • local_settings
        • openstack-dashboard.conf
    • shell
      • common.sh
      • controller.sh
      • nova-compute.sh
      • cinder-volume.sh
    • admin-openrc
  • Keystone
  • API
    • Nova
      • 创建实例
  • spice证书管理
    • 硬重启
      • 代码追踪
    • 操作手册
Powered by GitBook
On this page

Was this helpful?

  1. spice证书管理
  2. 硬重启

代码追踪

首先我们给出函数的调用顺序图:

nova/api/openstack/compute/server.py: _action_reboot()
  nova/compute/api.py: reboot()
    nova/compute/api.py: _hard_reboot()
      nova/compute/rpcapi.py: reboot_instance()

--> RPC调用

nova/compute/manager.py: reboot_instance()
  nova/virt/libvirt/driver.py: reboot()
    nova/virt/libvirt/driver.py: _hard_reboot()
      nova/virt/libvirt/driver.py: _get_guest_xml()
      nova/virt/libvirt/driver.py: _create_domain_and_network()
Previous硬重启Next操作手册

Last updated 5 years ago

Was this helpful?