apache / apache/cloudstack

Auto restart of compute instances utilizing local storage

オープン
#8,869 コメント 5 件 リアクション 4 件 担当者 0 名 GitHub で見る
component:local-storage type:new-feature
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。