apache / apache/cloudstack

Auto restart of compute instances utilizing local storage

Aperta
#8,869 5 commenti 4 reazioni 0 assegnatari Vedi su GitHub
component:local-storage type:new-feature
Lingua principale
Java
Stelle
3.1k
Fork
1.4k
Merge medio
6g 19h
PR unite (30g)
32

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Nell’issue non sono indicati file o test. Inizia leggendo l’issue correlata #8687 e il comportamento virsh autostart citato, quindi ricostruisci l’opzione UI/API proposta e il flusso di avvio del management-server; il lavoro è concluso quando le istanze local-storage configurate si avviano in modo affidabile dopo il riavvio di un host.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
cloud, infrastructure
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.