OpenStack Create Instances
阿新 • • 發佈:2018-07-24
com ova ron proc ffffff 網絡相關 操作 tor size
- dashboard 或是 CLI 從用戶處獲得認證信息(用戶名及密碼),然後轉成REST 的API 發送給 Keystone, 並等待返回結果。Keystone會返回一個token, 然後用於後續的操作。
- dashboard 或是 CLI 使用上步的token發送基於REST的創建Instance的命令給nova-api。
- nova-api 使用token對操作的API進行權限認證。
- nova-api 根據當前參數和數據據進行比較,檢查沖突項。並且會在數據庫中 建立一條記錄
- nova-api 發送RPC請求到queue, 交給調度器(Scheduler)處理
- 調度器從queue裏把消息取出來
- 調度器根據各種Filter來進行篩選,從有效的主機中選出一個可用的主機。並且發送RPC請求到queue中。
- 本地的主機從queue中取出RCP請求消息
- nova-computer發送RPC請求給nova-conductor獲取host相關的信息,並且更新數據庫中instance的狀態
- nova-conductor取出消息
- nova-conductor從數據庫中取出信息並且返回給nova-computer
- nova-computer發送REST請求給Glance, 用以獲取Image的信息並且從Image的存儲設備上下載對應的Image
- Glance通過token去Kenstone進行認證,並且下載Image到Host
- nova-computer發送REST請求給Neutron獲取網絡相關信息
- Neutron通過token去Kenstone進行認證,並返回相關信息
- nova-computer發送REST請求Cinder獲取硬盤相關的信息
- Cinder通過token去Kenstone進行認證,並返回相關信息
- nova-computer生成相關的信息,然後調用Hyervisor去啟動Instance**
OpenStack Create Instances