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

Add safeguard for VMs without ext_management_system #5339

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

PanSpagetka
Copy link
Contributor

@PanSpagetka PanSpagetka commented Mar 14, 2019

If VM doesn't have ExtManagemntSystem UI blows up, so I have added safeguard for that. However I am not sure if it should be possible to get into such state.

Links [Optional]

https://bugzilla.redhat.com/show_bug.cgi?id=1684649

Steps for Testing/QA [Optional]

Have a VM that doesn't belong to ExtManagemntSystem
Go to Network -> Topology

@skateman
Copy link
Member

@PanSpagetka you can get into such state with orphaned VMs, not sure how exactly that can happen but we have support for it. Maybe if you provision a VM through a service, retire it (becomes archived) and then drop its provider. But this is just a guess.

@miq-bot
Copy link
Member

miq-bot commented Mar 18, 2019

Checked commit PanSpagetka@3f4ae45 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Seal of Approval

@mzazrivec mzazrivec self-assigned this Mar 26, 2019
@mzazrivec mzazrivec added this to the Sprint 108 Ending Apr 1, 2019 milestone Mar 26, 2019
@mzazrivec mzazrivec merged commit aa5d916 into ManageIQ:master Mar 26, 2019
simaishi pushed a commit that referenced this pull request Mar 29, 2019
Add safeguard for VMs without ext_management_system

(cherry picked from commit aa5d916)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693730
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
commit abe9280cca6243a7fede154f68338ea374faf7f0
Author: Milan Zázrivec <[email protected]>
Date:   Tue Mar 26 10:23:52 2019 +0100

    Merge pull request #5339 from PanSpagetka/bz1684649
    
    Add safeguard for VMs without ext_management_system
    
    (cherry picked from commit aa5d916800b51a50811b5e64ad3ad52014741cf0)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants