Skip to content
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

Finish VM Task to error state when EMS paused #19172

Merged
merged 1 commit into from Aug 28, 2019

Conversation

slemrmartin
Copy link
Contributor

When ExtManagementSystem is paused, it's not possible to perform VM operations)

For example Power on/off operations created Task (MiqTask) in status 'Queued' and never finished it after resuming provider.

Now it switches task to Finished:Error

Fixes BZ https://bugzilla.redhat.com/show_bug.cgi?id=1740285

@slemrmartin
Copy link
Contributor Author

@miq-bot add-label bug
@miq-bot add-label ivanchuk/yes

@slemrmartin slemrmartin force-pushed the finish-vm-task-when-ems-paused branch from bbf8bbd to 8c161a4 Compare August 20, 2019 14:55
@miq-bot
Copy link
Member

miq-bot commented Aug 20, 2019

Checked commit slemrmartin@8c161a4 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 👍

@slemrmartin
Copy link
Contributor Author

@agrare please 👀

@agrare agrare self-assigned this Aug 21, 2019
agrare added a commit that referenced this pull request Aug 28, 2019
…used

Finish VM Task to error state when EMS paused
@agrare agrare merged commit 8c161a4 into ManageIQ:master Aug 28, 2019
@agrare agrare added this to the Sprint 119 Ending Sep 2, 2019 milestone Aug 28, 2019
@slemrmartin slemrmartin deleted the finish-vm-task-when-ems-paused branch August 29, 2019 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants