apache / apache/cloudstack

Auto restart of compute instances utilizing local storage

未關閉
#8,869 5 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
component:local-storage type:new-feature
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

##### ISSUE TYPE

* Feature Idea

##### COMPONENT NAME

~~~
New feature (UI, API, etc)
~~~

##### CLOUDSTACK VERSION

~~~
N/A
~~~

##### CONFIGURATION

N/A

##### OS / ENVIRONMENT

N/A

##### SUMMARY

There should be an ability to set auto boot (restart) for VMs with local storage, i.e. similar functionality as ´virsh autostart VM´ in KVM.

When a server reboot occurs, for instance if heartbeat on the host can't write to NFS share, the server will reboot. In current versions of cloudstack, all instances using local storage on that host will need to be manually started after the reboot. There should be a functionality to mark VMs to be auto started when the host is live again.

This is particularly useful when a compute instance is using local storage (SSDs) for system disk, but NFS etc. for data storage, or when not using networked attached storage but local storage only configurations.

This is functionality similar to what is requested in #8687

##### STEPS TO REPRODUCE

~~~
Example of possible implementation:
- UI and API option for compute instance to auto boot on host startup (enable/disable feature per compute instance).
- Mgmt server to issue startup of compute instances when Host is ready.
~~~

##### EXPECTED RESULTS

~~~
Compute instances with local storage should be able able to auto start (if configured) when a host is live again after reboot.
~~~

##### ACTUAL RESULTS

~~~
Currently all local storage compute instances needs to be manually started after host reboot.
~~~

貢獻指南

開啟貢獻指南

研究方向

Issue 中沒有指定任何檔案或測試。先閱讀相關 issue #8687 以及其中引用的 virsh autostart 行為,然後梳理提議的 UI/API 選項和 management-server 啟動流程;當已設定的 local-storage 執行個體能在主機重新啟動後可靠地啟動時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

領域
cloud, infrastructure
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。