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 a VmScan spec for Ovirt #543

Merged
merged 1 commit into from
Jan 15, 2021
Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 13, 2021

It was found that RHV SSA was broken due to missing state transitions (see ManageIQ/manageiq#20953 for more info). We noticed that there wasn't a vm_scan_spec.rb like the other providers that implement SSA.

This doesn't cover everything but is basically a copy of the specs already in vmware and openstack repos updated for Ovirt.

@agrare
Copy link
Member Author

agrare commented Jan 13, 2021

This is mostly a copy of the vmware spec updated to work on Ovirt, but it still passes without the change to core to add the start_scan method https://github.com/ManageIQ/manageiq/pull/20953/files so it will require some changes to cover the bug

@agrare agrare changed the title [WIP] Add a VmScan spec for Ovirt Add a VmScan spec for Ovirt Jan 14, 2021
@agrare agrare added test and removed wip labels Jan 14, 2021
@miq-bot
Copy link
Member

miq-bot commented Jan 14, 2021

Checked commit agrare@f4ab8b9 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
1 file checked, 1 offense detected

spec/models/manageiq/providers/redhat/infra_manager/vm_scan_spec.rb

  • ❗ - Line 38, Col 42 - Rails/SkipsModelValidations - Avoid using update_attribute because it skips validations.

@chessbyte chessbyte assigned chessbyte and unassigned Fryguy Jan 15, 2021
@chessbyte chessbyte merged commit d50e3b0 into ManageIQ:master Jan 15, 2021
@agrare agrare deleted the add_vm_scan_spec branch January 15, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants