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

Forcibly mark vCloud VMs as not disconnected #339

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

miha-plesko
Copy link
Contributor

Like other cloud providers we have to override functions

def disconnected
def disconnected?

to always return false for vCloud cloud provider or else UI displays all its VMs as 'disconnected' regardless the actual power state.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649403
Fixes ManageIQ/manageiq-ui-classic#4909

@miq-bot assign @agrare
@miq-bot add_label enhancement,hammer/yes

/cc @kbrock

Like other cloud providers we have to override functions

```
def disconnected
def disconnected?
```

to always return false for vCloud cloud provider or else UI
displays all its VMs as 'disconnected' regardless the actual
power state.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649403
Fixes ManageIQ/manageiq-ui-classic#4909

Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
@miq-bot
Copy link
Member

miq-bot commented Nov 19, 2018

Checked commit miha-plesko@bb76c59 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@agrare
Copy link
Member

agrare commented Nov 19, 2018

This works for me for backport-purposes and aligns vcloud with the rest of the cloud providers

@agrare agrare merged commit 1ee0757 into ManageIQ:master Nov 19, 2018
simaishi pushed a commit that referenced this pull request Nov 19, 2018
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
commit a0ccbda52092b580aa17ce9152512e1118f7daac
Author: Adam Grare <agrare@redhat.com>
Date:   Mon Nov 19 09:25:47 2018 -0500

    Merge pull request #339 from miha-plesko/hardcoded-disconnected-to-false
    
    Forcibly mark vCloud VMs as not disconnected
    
    (cherry picked from commit 1ee07575b582f55de3c76974613b10961369e4c3)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649403

@miha-plesko miha-plesko deleted the hardcoded-disconnected-to-false branch January 7, 2019 08:26
agrare pushed a commit to agrare/manageiq-providers-vmware that referenced this pull request Apr 15, 2019
Add a precanned physical server automation event
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.

4 participants