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

Added a Maintenance key to the hash struct #16464

Merged
merged 1 commit into from Nov 14, 2017

Conversation

syncrou
Copy link
Contributor

@syncrou syncrou commented Nov 13, 2017

Added the maintenance key our hash_struct for use in the UI

Allows us to view if a host is in Maintenance mode.

screen shot 2017-11-13 at 3 28 56 pm

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

@syncrou
Copy link
Contributor Author

syncrou commented Nov 13, 2017

@miq-bot add_label enhancement, bug, providers

@miq-bot assign @gmcculloug

cc - @h-kataria

@miq-bot
Copy link
Member

miq-bot commented Nov 13, 2017

Checked commit syncrou@a1893e9 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@syncrou
Copy link
Contributor Author

syncrou commented Nov 13, 2017

@oourfali or @agrare - With this change we noticed that Rhev providers seem to not be including or a defaulting a maintenance flag - is this something that should have a default? Or do you have other thoughts?

screen shot 2017-11-13 at 4 47 24 pm

@gmcculloug
Copy link
Member

That last comment might be more for @oourfali or @agrare.

@agrare
Copy link
Member

agrare commented Nov 13, 2017

@syncrou we usually stay away from database defaults but you're right the ovirt parser should be setting the maintenance flag. It looks like maintenance is in the power state so it should be a simple change

@gmcculloug
Copy link
Member

@syncrou I suggest we move forward with this change and open an issue in the manageiq-providers-ovirt repo to set the host maintenance data.

@oourfali
Copy link

@masayag can you create a bug on the maintenance issue reported here?

@gmcculloug gmcculloug merged commit 8ba842c into ManageIQ:master Nov 14, 2017
@gmcculloug gmcculloug added this to the Sprint 74 Ending Nov 27, 2017 milestone Nov 14, 2017
masayag added a commit to masayag/manageiq-providers-ovirt that referenced this pull request Nov 15, 2017
The host 'maintenance' attribute was added to provision vm dialog
by ManageIQ/manageiq#16464

RHV should store this information which is already available during host
refresh.

https://bugzilla.redhat.com/show_bug.cgi?id=1513413
masayag added a commit to masayag/manageiq-providers-ovirt that referenced this pull request Nov 16, 2017
The host 'maintenance' attribute was added to provision vm dialog
by ManageIQ/manageiq#16464

RHV should store this information which is already available during host
refresh.

https://bugzilla.redhat.com/show_bug.cgi?id=1513413
masayag added a commit to masayag/manageiq-providers-ovirt that referenced this pull request Nov 16, 2017
The host 'maintenance' attribute was added to provision vm dialog
by ManageIQ/manageiq#16464

RHV should store this information which is already available during host
refresh.

https://bugzilla.redhat.com/show_bug.cgi?id=1513413
simaishi pushed a commit that referenced this pull request Nov 17, 2017
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 80e52ba2d69856a7bf93a9383dc2a4b82491a1a3
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Tue Nov 14 11:12:11 2017 -0500

    Merge pull request #16464 from syncrou/add_maintenance_flag_to_ui
    
    Added a Maintenance key to the hash struct
    (cherry picked from commit 8ba842c5ab1b5385404e46e50eadcdc7949c42e6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1514116

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.

None yet

6 participants