-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V2V] Extend InfraConversionJob timeout #19373
[V2V] Extend InfraConversionJob timeout #19373
Conversation
app/models/infra_conversion_job.rb
Outdated
@@ -1,4 +1,7 @@ | |||
class InfraConversionJob < Job | |||
# Override default timeout to allow large disks VM migration | |||
DEFAULT_TIMEOUT = 36.hours |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer overriding the self.current_job_timeout
method instead of redefining the constant
Checked commits fabiendupont/manageiq@1ff088e~...e701a4a with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
…ionjob_timeout [V2V] Extend InfraConversionJob timeout (cherry picked from commit 584f8bc) https://bugzilla.redhat.com/show_bug.cgi?id=1789433
Ivanchuk backport details:
|
InfraConversionJob class inherits from Job class. And Job class implements a timeout mechanism with a default timeout of 5 minutes. A VM migration is likely to take more than 5 minutes, so this PR sets the
DEFAULT_TIMEOUT
constantself.current_job_timeout
method to 36 hours to allow large VM to migrate.RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1759062