New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cecc8aaf509234805fe8ea03a44f2e04f417669b commit cecc8aaf509234805fe8ea03a44f2e04f417669b Merge: 0131c00 c1a8aa7 Author: Greg McCullough <gmccullo> AuthorDate: Wed Feb 10 14:25:22 2016 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Wed Feb 10 14:25:22 2016 -0500 Merge branch '5.5.z-add_os_policy_events_1180695' into '5.5.z' Connect Openstack events with our Policy events. A clean cherry-pick of [#5983](https://github.com/ManageIQ/manageiq/pull/5983) and [#6064](https://github.com/ManageIQ/manageiq/pull/6064). https://bugzilla.redhat.com/show_bug.cgi?id=1297911 See merge request !710 .../OPENSTACK.class/compute_instance_pause_end.yaml | 2 ++ .../OPENSTACK.class/compute_instance_reboot_end.yaml | 14 ++++++++++++++ .../OPENSTACK.class/compute_instance_reset_end.yaml | 14 ++++++++++++++ .../EmsEvent/OPENSTACK.class/compute_instance_resume.yaml | 12 ------------ .../OPENSTACK.class/compute_instance_resume_end.yaml | 14 ++++++++++++++ .../OPENSTACK.class/compute_instance_snapshot_end.yaml | 2 +- .../OPENSTACK.class/compute_instance_snapshot_start.yaml | 14 ++++++++++++++ .../EmsEvent/OPENSTACK.class/compute_instance_suspend.yaml | 12 ------------ .../OPENSTACK.class/compute_instance_suspend_end.yaml | 14 ++++++++++++++ .../OPENSTACK.class/compute_instance_unpause_end.yaml | 2 ++ db/fixtures/miq_event_definitions.csv | 2 +- 11 files changed, 76 insertions(+), 26 deletions(-)
Tested on 5.6.0.0-pre-nightly.20160321091612_a8eb2ed. I was able to catch following events in policy.log: pause, resume, and create snapshot. [----] I, [2016-03-30T04:37:29.965368 #9851:873994] INFO -- : MIQ(action-invoke) Invoking action [Generate log message] for successful policy [Bug verifying], event: [VM Snapshot Create Complete], entity name: [test_inst_pwrctl_FoHFCrWK], entity type: [ManageIQ::Providers::Openstack::CloudManager::Vm], sequence: [1], synchronous? [false] [----] I, [2016-03-30T04:45:43.924893 #9851:873994] INFO -- : MIQ(action-invoke) Invoking action [Generate log message] for successful policy [Bug verifying], event: [VM Pause], entity name: [test_inst_pwrctl_FoHFCrWK], entity type: [ManageIQ::Providers::Openstack::CloudManager::Vm], sequence: [1], synchronous? [false] [----] I, [2016-03-30T04:49:31.810068 #25508:873994] INFO -- : MIQ(action-invoke) Invoking action [Generate log message] for successful policy [Bug verifying], event: [VM Resume], entity name: [test_inst_pwrctl_FoHFCrWK], entity type: [ManageIQ::Providers::Openstack::CloudManager::Vm], sequence: [1], synchronous? [false] These following events: soft reboot, hard reboot, suspend, editing instance, edit security group - were not captured in policy.log. Lucy please tell, whether the other events were fixed as part of this bug or not?
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a034e171258f08ba7acf044d08b5ef64db5a212e commit a034e171258f08ba7acf044d08b5ef64db5a212e Merge: d74e68f 6b3c299 Author: Greg McCullough <gmccullo> AuthorDate: Fri Apr 1 16:08:17 2016 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Fri Apr 1 16:08:17 2016 -0400 Merge branch '5.5.z-openstack_event_suspend_reboot_1180695' into '5.5.z' Enable policy events for Openstack suspend and reboot. Clean cherry-pick of [#7659](https://github.com/ManageIQ/manageiq/pull/7659). https://bugzilla.redhat.com/show_bug.cgi?id=1297911 See merge request !883 .../OPENSTACK.class/compute_instance_reboot_end.yaml | 2 +- .../OPENSTACK.class/compute_instance_reset_end.yaml | 2 +- .../EmsEvent/OPENSTACK.class/compute_instance_suspend.yaml | 14 ++++++++++++++ .../OPENSTACK.class/compute_instance_suspend_end.yaml | 14 -------------- 4 files changed, 16 insertions(+), 16 deletions(-)
Tested and verified on 5.5.3.3.20160405132708_92d2d67.
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:0616