Bug 1238371
| Summary: | Remove vm discovery as an event type | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
| Component: | Control | Assignee: | Bill Wei <bilwei> | |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Stefanisin <jistefan> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.4.0 | CC: | cpelland, fdewaley, jhardy, jocarter, jprause, mfalesni, mfeifer, ncatling, obarenbo | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.6.0 | Flags: | mfalesni:
automate_bug-
|
|
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | control:policy:event:action | |||
| Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1293737 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-29 14:57:50 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1290186, 1293737 | |||
|
Description
Josh Carter
2015-07-01 18:16:03 UTC
Milan, can you make sure we have a test around this please. I think the method you want to use is vm_create (VM Create Complete).
At the moment the vm_discover event is only tied to two RHEV-M events.
USER_ADD_VM:
- policy:
- src_vm
- vm_discover
- refresh:
- src_ems_cluster
...
USER_ADD_VM_TEMPLATE_FINISHED_FAILURE:
- policy:
- src_vm
- vm_discover
Per our analysis, we should remove VM Discovery (type vm_discover) from the UI as a selection candidate for VM control policy. The summary field of this BZ has been updated accordingly. *** Bug 1209538 has been marked as a duplicate of this bug. *** New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/713960fa36a113293c79d8878f9f0e031aaaceeb commit 713960fa36a113293c79d8878f9f0e031aaaceeb Author: Bill Wei <bilwei> AuthorDate: Tue Dec 22 16:55:50 2015 -0500 Commit: Bill Wei <bilwei> CommitDate: Mon Jan 4 16:56:48 2016 -0500 Remove vm_discover event definition https://bugzilla.redhat.com/show_bug.cgi?id=1238371 .../Event/EmsEvent/RHEVM.class/user_add_vm.yaml | 2 -- .../user_add_vm_template_finished_failure.yaml | 12 ----------- db/fixtures/miq_event_definitions.csv | 1 - ...e_vm_discover_row_from_miq_event_definitions.rb | 18 ++++++++++++++++ ...discover_row_from_miq_event_definitions_spec.rb | 25 ++++++++++++++++++++++ 5 files changed, 43 insertions(+), 15 deletions(-) delete mode 100644 db/fixtures/ae_datastore/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_add_vm_template_finished_failure.yaml create mode 100644 db/migrate/20151222152212_remove_vm_discover_row_from_miq_event_definitions.rb create mode 100644 spec/migrations/20151222152212_remove_vm_discover_row_from_miq_event_definitions_spec.rb Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |