Project

General

Profile

Feature #19459

Add VM boot failure faster feedback loop for openstack

Added by Martin Ducar over 1 year ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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 (diff)
Added by Martin Ducar over 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

History

#1 Updated by Martin Ducar over 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 over 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 over 1 year ago

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

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

  • Legacy Backlogs Release (now unused) set to 240

Also available in: Atom PDF