apache / apache/cloudstack

Auto restart of compute instances utilizing local storage

Đang mở
#8,869 5 bình luận 4 reaction 0 người được giao Xem trên GitHub
component:local-storage type:new-feature
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

##### 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.
~~~

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue không nêu tên tệp hoặc bài kiểm thử nào. Hãy bắt đầu bằng việc đọc issue liên quan #8687 và hành vi virsh autostart được trích dẫn, sau đó lập sơ đồ tùy chọn UI/API được đề xuất và luồng khởi động của management-server; công việc được xem là hoàn tất khi các instance local-storage đã cấu hình khởi động đáng tin cậy sau khi host khởi động lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
cloud, infrastructure
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.