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

VmScan transitions from before_scan -> start_scan #20953

Merged
merged 3 commits into from
Jan 13, 2021

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 12, 2021

Add missing state transition method start_scan which actually initiates the scan.

Follow-ups:

@agrare agrare requested review from Fryguy and kbrock as code owners January 12, 2021 22:03
@agrare agrare changed the title VmScan transitions from before_scan -> start_scan [WIP] VmScan transitions from before_scan -> start_scan Jan 12, 2021
@Fryguy
Copy link
Member

Fryguy commented Jan 12, 2021

@chessbyte Please review.

@agrare
Copy link
Member Author

agrare commented Jan 13, 2021

@miq-bot cross-repo-tests manageiq-providers-vmware#686 manageiq-providers-openstack

miq-bot pushed a commit to ManageIQ/manageiq-cross_repo-tests that referenced this pull request Jan 13, 2021
Add missing state transition method `start_scan` which actually
initiates the scan.
@agrare agrare force-pushed the vm_scan_add_start_scan_method branch from dc8130d to b2551eb Compare January 13, 2021 14:33
@chessbyte chessbyte self-assigned this Jan 13, 2021
@agrare agrare requested a review from gtanzillo as a code owner January 13, 2021 16:22
@agrare agrare force-pushed the vm_scan_add_start_scan_method branch from ea03e69 to dc1c550 Compare January 13, 2021 17:09
spec/models/vm_scan_spec.rb Outdated Show resolved Hide resolved
@agrare agrare force-pushed the vm_scan_add_start_scan_method branch 2 times, most recently from b9cb4da to 840822e Compare January 13, 2021 18:30
@agrare agrare force-pushed the vm_scan_add_start_scan_method branch from 840822e to ea1ff7c Compare January 13, 2021 18:34
@miq-bot
Copy link
Member

miq-bot commented Jan 13, 2021

Checked commits agrare/manageiq@b2551eb~...36a7487 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
2 files checked, 1 offense detected

app/models/vm_scan.rb

@agrare
Copy link
Member Author

agrare commented Jan 13, 2021

In addition to cross-repo testing with vmware and openstack I manually ran a live VMware SSA and everything works properly with this PR applied.

@agrare agrare changed the title [WIP] VmScan transitions from before_scan -> start_scan VmScan transitions from before_scan -> start_scan Jan 13, 2021
@miq-bot miq-bot removed the wip label Jan 13, 2021
@Fryguy
Copy link
Member

Fryguy commented Jan 13, 2021

Is this PR dependent on the other PRs? Should they be listed in the OP and merged as a group?

@agrare
Copy link
Member Author

agrare commented Jan 13, 2021

@Fryguy this one doesn't have any dependencies, ManageIQ/manageiq-providers-ovirt#543 just adds a spec and ManageIQ/manageiq-providers-vmware#686 can be merged after this but doesn't have to be merged as a group

@chessbyte chessbyte merged commit 2cadb1d into ManageIQ:master Jan 13, 2021
@agrare agrare deleted the vm_scan_add_start_scan_method branch January 13, 2021 21:00
simaishi pushed a commit that referenced this pull request Jan 14, 2021
VmScan transitions from before_scan -> start_scan

(cherry picked from commit 2cadb1d)
@simaishi
Copy link
Contributor

Kasparov backport details:

$ git log -1
commit f2f37c551065d10452b6dfcc7119056635dd8f29
Author: Oleg Barenboim <[email protected]>
Date:   Wed Jan 13 15:36:43 2021 -0500

    Merge pull request #20953 from agrare/vm_scan_add_start_scan_method

    VmScan transitions from before_scan -> start_scan

    (cherry picked from commit 2cadb1d52a522733e62bd49832fa9ddc6b8e4e4a)

simaishi pushed a commit that referenced this pull request Jan 14, 2021
VmScan transitions from before_scan -> start_scan

(cherry picked from commit 2cadb1d)
@simaishi
Copy link
Contributor

Jansa backport details:

$ git log -1
commit d2a525286ca62481e8ab13f3b45fae65d0f8da4b
Author: Oleg Barenboim <[email protected]>
Date:   Wed Jan 13 15:36:43 2021 -0500

    Merge pull request #20953 from agrare/vm_scan_add_start_scan_method

    VmScan transitions from before_scan -> start_scan

    (cherry picked from commit 2cadb1d52a522733e62bd49832fa9ddc6b8e4e4a)

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