Project

General

Profile

Actions

Feature #19459

closed

Add VM boot failure faster feedback loop for openstack

Added by Martin Ducar almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
medium
Triaged:
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

Actions #1

Updated by Martin Ducar almost 7 years 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

Actions #2

Updated by The Foreman Bot almost 7 years ago

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

Updated by Martin Ducar almost 7 years ago

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

Updated by Marek Hulán almost 7 years ago

  • translation missing: en.field_release set to 240
Actions

Also available in: Atom PDF