OpenStack —— 虚拟机的启动过程简述(八)

简介:

wKioL1m1P3qQKHljAAEFRllzB9A277.png


  1. Dashboard or CLI gets the user credential and does the REST call to Keystone for authentication.

  2. Keystone authenticate the credentials and generate & send back auth-token which will be used for sending request to other Components through REST-call.

  3. Dashboard or CLI convert the new instance request specified in  ‘launch instance’ or ‘nova-boot’ form to REST API request and send it to nova-api.

  4. nova-api receive the request and sends the request for validation auth-token and access permission to keystone.

  5. Keystone validates the token and sends updated auth headers with roles and permissions.

  6. nova-api interacts with nova-database.

  7. Creates initial db entry for new instance.

  8.  nova-api sends the rpc.call request to nova-scheduler excepting to get  updated instance entry with host ID specified.

  9. nova-scheduler picks the request from the queue.

  10. nova-scheduler interacts with nova-database to find an appropriate host via filtering and weighing.

  11. Returns the updated instance entry with appropriate host ID after filtering and weighing.

  12. nova-scheduler sends the rpc.cast request to nova-compute for ‘launching instance’ on appropriate host .

  13. nova-compute picks the request from the queue.

  14. nova-compute send the rpc.call request to nova-conductor to fetch the instance information such as host ID and flavor( Ram , CPU ,Disk).

  15. nova-conductor picks the request from the queue.

  16. nova-conductor interacts with nova-database.

  17. Return the instance information.

  18. nova-compute picks the instance information from the queue.

  19. nova-compute does the REST call by passing auth-token to glance-api  to get the Image URI by Image ID from glance and upload image from image storage.

  20. glance-api validates the auth-token with keystone. 

  21. nova-compute get the image metadata.

  22. nova-compute does the REST-call by passing auth-token to Network API to allocate and configure the network such that instance gets the IP address. 

  23. quantum-server validates the auth-token with keystone.

  24. nova-compute get the network info.

  25. nova-compute does the REST call by passing auth-token to Volume API to attach volumes to instance.

  26. cinder-api validates the auth-token with keystone.

  27. nova-compute gets the block storage info.

  28. nova-compute generates data for hypervisor driver and executes request on Hypervisor( via libvirt or api).





     本文转自 wzlinux 51CTO博客,原文链接:http://blog.51cto.com/wzlinux/1964195,如需转载请自行联系原作者



相关文章
|
安全 IDE KVM
[ 云计算相关 ] KVM虚拟化平台windows虚拟机迁移到openstack虚拟化平台(KVM虚拟化环境中Windows虚拟机安装Virtio驱动程序)
KVM虚拟化平台windows虚拟机迁移到openstack虚拟化平台(KVM虚拟化环境中Windows虚拟机安装Virtio驱动程序) 因为这也不是我的本职工作,只是这次恰巧碰到了,帮着解决了以下,我就没深究原理了,问我原理可能我也不知道,只是这个操作步骤吧,亲测有效。
1188 0
[ 云计算相关 ] KVM虚拟化平台windows虚拟机迁移到openstack虚拟化平台(KVM虚拟化环境中Windows虚拟机安装Virtio驱动程序)
|
Linux 数据安全/隐私保护
【openstack】虚拟机启动速度优化思路
【openstack】虚拟机启动速度优化思路
552 0
【openstack】虚拟机启动速度优化思路
|
云计算
云计算|OpenStack|社区版OpenStack安装部署文档(十--- 调整配额限制和解决建虚拟机报错---No valid host was found---Rocky版)
云计算|OpenStack|社区版OpenStack安装部署文档(十--- 调整配额限制和解决建虚拟机报错---No valid host was found---Rocky版)
901 0
|
弹性计算 Linux 网络安全
云计算|OpenStack|社区版OpenStack安装部署文档(九--- 创建一个虚拟机实例---Rocky版)
云计算|OpenStack|社区版OpenStack安装部署文档(九--- 创建一个虚拟机实例---Rocky版)
461 0
|
Shell
openstack 查询网络的port 关联的虚拟机
在OpenStack中,可以通过以下步骤查询网络的端口关联的虚拟机: 打开命令行终端,并使用OpenStack的命令行工具(如openstack命令行客户端)登录到OpenStack平台。 执行以下命令来获取所有端口的列表: bash openstack port list 这将显示所有端口的列表,包括端口ID、网络ID、MAC地址等信息。 3. 从端口列表中,找到与虚拟机相关的端口。通常情况下,虚拟机的端口具有与虚拟机实例相关的标识符,例如MAC地址或端口ID。 4. 执行以下命令来获取虚拟机实例的详细信息: bash openstack instance show <instanc
556 0
openstack虚拟机占用CPU高定位排查
openstack虚拟机占用CPU高定位排查
484 0
|
KVM 虚拟化
【openstack】开启物理机虚拟机化
【openstack】开启物理机虚拟机化
865 0
【openstack】开启物理机虚拟机化
|
Linux
OpenStack中的虚拟机(/dev/mapper/centos-root)进行磁盘扩容
OpenStack中的虚拟机(/dev/mapper/centos-root)进行磁盘扩容
1222 0
|
数据安全/隐私保护 Windows
SAP虚拟机的启动过程
启动虚拟机我已经事先修改了注册表,取消了自动登录 “HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/Current Version/Winlogon”我修改了Server2008的administrator密码为W密码。
1901 0
|
存储 Linux KVM
openstack环境下 kvm存储虚拟机中瘦供给特性
瘦供给的特性层次 如果一个kvm虚拟机需要支持瘦供给需要如下层次都支持: 1、存储层面 支持scsi协议规定的瘦供给命令unmap、write same|unmap 2、宿主机OS 1)内核层面:宿主机Os需要支持瘦供给特性,可喜的是在早在linux内核2.6时代就已经支持瘦供给特性。
1554 0