Feature #19459

Add VM boot failure faster feedback loop for openstack

Added by Martin Ducar about 1 year ago. Updated about 1 year ago.

Assigned To:Martin Ducar
Target version:-
Difficulty:medium Bugzilla link:
Found in release:1.14.1 Pull request:https://github.com/theforeman/foreman/pull/4502
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto


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.

See https://docs.openstack.org/developer/nova/vmstates.html
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

Associated revisions

Revision 2dc6e2dd
Added by Martin Ducar about 1 year ago

Fixes #19459 - improve vm boot failure feedback

To be able to override the wait for vm ready we need to move
it to compute resource definition. Also improve Openstack one


#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

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4502 added

#3 Updated by Martin Ducar about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Marek Hulán about 1 year ago

  • Release set to 1.16.0

Also available in: Atom PDF