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 supports revert to snapshot #230

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

sasoc
Copy link
Contributor

@sasoc sasoc commented Apr 16, 2018

With this commit revert snapshot is enabled.

Revert to snapshot is supported only if delete snapshot is supported. At first delete snapshot was enabled, but after revert to snapshot was merged I implemented #191 (review). Since I did not know revert relied on delete snapshot and there was no test to check, if revert to snapshot is supported, mistake went through unnoticed.

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

With this commit revert snapshot is enabled.

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

Signed-off-by: sasoc <saso.cvitkovic@gmail.com>
@sasoc
Copy link
Contributor Author

sasoc commented Apr 16, 2018

cc @miha-plesko

@miq-bot
Copy link
Member

miq-bot commented Apr 16, 2018

Checked commit sasoc@a951bf8 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. ⭐

@miha-plesko
Copy link
Contributor

Hi @agrare , I kindly ask you to merge this tiny PR. Testing the CFME 5.9.2.2 appliance we noticed "Revert from Snapshot" option is somehow disabled. It turned out that it's because we've added the

supports_not :remove_snapshot

in some other commit which disabled :revert_from_snapshot feature as well because they are corelated, as @sasoc mentioned.

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

@miq-bot add_label bug,gaprindashvili/yes
@miq-bot assign @agrare

@gtanzillo gtanzillo added this to the Sprint 84 Ending Apr 23, 2018 milestone Apr 16, 2018
@gtanzillo gtanzillo merged commit 0be2f13 into ManageIQ:master Apr 16, 2018
simaishi pushed a commit that referenced this pull request Apr 16, 2018
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 203f23dffaf064a2ed5731bd3a320557da892700
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Mon Apr 16 09:03:10 2018 -0400

    Merge pull request #230 from sasoc/add_supports_revert_to_snapshot
    
    Add supports revert to snapshot
    (cherry picked from commit 0be2f13a0dc9e77221f58431988837acc3e6a3d5)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1567962

agrare pushed a commit to agrare/manageiq-providers-vmware that referenced this pull request Apr 15, 2019
Check for both owner email and requester email for user quota.
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.

6 participants