Add VM boot failure faster feedback loop for openstack
|Assigned To:||Martin Ducar|
|Found in release:||1.14.1||Pull request:||https://github.com/theforeman/foreman/pull/4502|
|Velocity based estimate||-|
In Orchestration::Compute https://github.com/theforeman/foreman/blob/develop/app/models/concerns/orchestration/compute.rb#L152 we are waiting for default amount of time for machine to become ready. But for compute resources like Openstack we can do much better.
Machine can easilly end in ERROR state (For example bad av zone or flavor av zone combination,it can take seconds to be in this state)
We are than waiting i think 300s (dafault wait_for timeout) to find out.
We should be able to speedup the feedback loop
#1 Updated by Martin Ducar about 1 year ago
I have first implementation ready, https://github.com/theforeman/foreman/compare/develop...martin-ducar-gd:develop if someone has some opinion about it, let me know