Hide Forgot
Description of problem: This bug being reopened from https://bugzilla.redhat.com/show_bug.cgi?id=1317468#c1 Failed to set the "Users"->"Manage Events"->"Storage Management Events:" -> "Storage Domain's number of LVs exceeded threshold", got: " Operation Canceled Error while executing action: A Request to the Server failed with the following Status Code: 500" Engine's components: CentOS Linux release 7.2.1511 (Core) Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ovirt-engine-4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos.noarch ovirt-host-deploy-1.5.0-0.0.master.20160329063025.gitdf57fe1.el7.centos.noarch ovirt-host-deploy-java-1.5.0-0.0.master.20160329063025.gitdf57fe1.el7.centos.noarch javassist-3.16.1-10.el7.noarch javapackages-tools-3.4.1-11.el7.noarch java-1.7.0-openjdk-devel-1.7.0.99-2.6.5.0.el7_2.x86_64 java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64 java-1.7.0-openjdk-headless-1.7.0.99-2.6.5.0.el7_2.x86_64 java-1.8.0-openjdk-headless-1.8.0.77-0.b03.el7_2.x86_64 javamail-1.4.6-8.el7.noarch java-1.7.0-openjdk-1.7.0.99-2.6.5.0.el7_2.x86_64 These from server.log might be also related to the issue: Caused by: java.lang.NoClassDefFoundError: javax/mail/internet/AddressException at java.lang.Class.forName0(Native Method) [rt.jar:1.8.0_77] at java.lang.Class.forName(Class.java:264) [rt.jar:1.8.0_77] at org.ovirt.engine.core.bll.CommandsFactory.loadClass(CommandsFactory.java:193) [bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.getCommandClass(CommandsFactory.java:178) [bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.getCommandClass(CommandsFactory.java:161) [bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.createCommand(CommandsFactory.java:86) [bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.createCommand(CommandsFactory.java:79) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.initCommandsAndReturnValues(MultipleActionsRunner.java:80) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.execute(MultipleActionsRunner.java:61) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:613) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:583) [bll.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_77] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70) [wildfly-weld-10.0.0.Final.jar:10.0.0.Final] Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Try configuring email notifications from UI "Users"->"Manage Events"->"Any of the optional check-boxes" 2. 3. Actual results: I can't select anything from the check-boxes as receiving Operation Canceled Error while executing action: A Request to the Server failed with the following Status Code: 500 Expected results: I should select any of available check-boxes or all of them and once selected, and state matches the trigger value, then notification should be sent in form of the email to defined email recipient. Additional info: Sosreport from the engine and screenshot of what I was trying to do.
Created attachment 1146726 [details] screenshot
Created attachment 1146727 [details] sosreport from the engine
Works for me on these components: rhevm-setup-plugins-4.0.0-0.3.alpha.el7ev.noarch rhevm-dependencies-4.0.0-0.1.alpha.git9ae0cc3.el7ev.noarch rhevm-4.0.0-0.6.master.el7ev.noarch rhevm-doc-3.6.0-7.el6eng.noarch rhevm-branding-rhev-4.0.0-0.0.master.20160219183625.el7ev.noarch postfix-2.10.1-6.el7.x86_64 ovirt-engine-extensions-api-impl-4.0.0-0.6.master.el7ev.noarch ovirt-host-deploy-1.5.0-0.2.alpha1.git968f12d.el7ev.noarch ovirt-engine-tools-backup-4.0.0-0.6.master.el7ev.noarch ovirt-engine-tools-4.0.0-0.6.master.el7ev.noarch ovirt-iso-uploader-4.0.0-0.2.master.git98e29da.el7ev.noarch ovirt-host-deploy-java-1.5.0-0.2.alpha1.git968f12d.el7ev.noarch ovirt-vmconsole-1.0.2-1.el7ev.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.0-0.6.master.el7ev.noarch ovirt-setup-lib-1.0.1-1.el7ev.noarch ovirt-engine-dwh-setup-4.0.0-1.el7ev.noarch ovirt-engine-websocket-proxy-4.0.0-0.6.master.el7ev.noarch ovirt-engine-restapi-4.0.0-0.6.master.el7ev.noarch ovirt-engine-vmconsole-proxy-helper-4.0.0-0.6.master.el7ev.noarch ovirt-engine-backend-4.0.0-0.6.master.el7ev.noarch ovirt-engine-setup-base-4.0.0-0.6.master.el7ev.noarch ovirt-log-collector-4.0.0-0.1.master.git668ba27.el7ev.noarch ovirt-engine-sdk-python-3.6.5.0-1.el7ev.noarch ovirt-engine-extension-aaa-jdbc-1.1.0-0.3.el7ev.noarch ovirt-engine-setup-plugin-ovirt-engine-common-4.0.0-0.6.master.el7ev.noarch ovirt-engine-setup-plugin-websocket-proxy-4.0.0-0.6.master.el7ev.noarch ovirt-engine-dbscripts-4.0.0-0.6.master.el7ev.noarch ovirt-engine-setup-4.0.0-0.6.master.el7ev.noarch ovirt-engine-userportal-4.0.0-0.6.master.el7ev.noarch ovirt-image-uploader-4.0.0-0.1.master.gita3e72cd.el7ev.noarch ovirt-vmconsole-proxy-1.0.2-1.el7ev.noarch ovirt-engine-setup-plugin-ovirt-engine-4.0.0-0.6.master.el7ev.noarch ovirt-engine-dwh-4.0.0-1.el7ev.noarch ovirt-engine-webadmin-portal-4.0.0-0.6.master.el7ev.noarch ovirt-engine-4.0.0-0.6.master.el7ev.noarch ovirt-engine-cli-3.6.2.0-1.el7ev.noarch ovirt-engine-lib-4.0.0-0.6.master.el7ev.noarch Linux version 3.10.0-327.22.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Mon May 16 13:31:48 EDT 2016 Linux 3.10.0-327.22.1.el7.x86_64 #1 SMP Mon May 16 13:31:48 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.2 (Maipo) Host: ovirt-vmconsole-host-1.0.2-0.0.master.20160517094103.git06df50a.el7.noarch ovirt-setup-lib-1.0.2-0.0.master.20160502125738.gitf05af9e.el7.centos.noarch ovirt-release40-4.0.0-0.3.beta1.noarch ovirt-vmconsole-1.0.2-0.0.master.20160517094103.git06df50a.el7.noarch ovirt-engine-sdk-python-3.6.5.1-0.1.20160507.git5fb7e0e.el7.centos.noarch ovirt-host-deploy-1.5.0-0.1.alpha1.el7.centos.noarch ovirt-hosted-engine-setup-2.0.0-0.1.beta1.el7.centos.noarch ovirt-release-host-node-4.0.0-0.3.beta1.el7.noarch ovirt-hosted-engine-ha-2.0.0-0.1.beta1.el7.centos.noarch ovirt-node-ng-image-update-placeholder-4.0.0-0.3.beta1.el7.noarch libvirt-client-1.2.17-13.el7_2.4.x86_64 mom-0.5.3-1.1.el7.noarch vdsm-4.17.999-1155.gitcf216a0.el7.centos.x86_64 sanlock-3.2.4-2.el7_2.x86_64 qemu-kvm-tools-ev-2.3.0-31.el7_2.10.1.x86_64 qemu-kvm-ev-2.3.0-31.el7_2.10.1.x86_64 qemu-kvm-common-ev-2.3.0-31.el7_2.10.1.x86_64 Linux version 3.10.0-327.18.2.el7.x86_64 (builder.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016 Linux 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux CentOS Linux release 7.2.1511 (Core) 1)I've configured ovirt-engine-notifier.conf via CLI on the engine "vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf", set the smtp parameters of my mail server. 2)Started the "systemctl start ovirt-engine-notifier" service as it was not automatically started as was warned via WEBUI, so I've also set it to automatically enabled on boot "chkconfig ovirt-engine-notifier on". 3)Configured several notification rules in WEBUI of the engine e.g. Users tab->selected andmin user->Event Notifier tab->Manage Events button-> configured these: VM has been paused VM console session initiated Starting migration of VM Storage Domain's number of LVs exceeded threshold 4)Created new VM and started it. 5)Opened a console connection over VNC to the VM. 6)Received email to my email as I've configured it as mail recipient in the engine's ovirt-engine-notifier.conf. The engine was running over NGN RHEVH 4.0 beta1.
oVirt 4.0.0 has been released, closing current release.