Hide Forgot
Created attachment 1223940 [details] cfme logs/evm.log Description of problem: For negative scenario of test cases "Adding datasource to EAP7 via CFME UI" i got successful message in UI 'JDBC Driver "qweqwe" has been installed on this server.' instead of failing message. EAP7 server.log: 2016-11-24 11:23:41,673 INFO [org.hawkular.agent.monitor.cmd.AbstractResourcePathCommand] (OkHttp http://vprusa-docker-hs.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/command-gateway/feed/d1160558-8f47-42a6-bfd9-7233f406b669) HAWKMONITOR010065: Received request to perform [Add] on a [JDBC Driver] given by inventory path [/t;hawkular/f;d1160558-8f47-42a6-bfd9-7233f406b669/r;EAP7-1~~] 2016-11-24 11:23:41,777 WARN [org.jboss.as.connector.subsystems.datasources] (OkHttp http://vprusa-docker-hs.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/command-gateway/feed/d1160558-8f47-42a6-bfd9-7233f406b669) WFLYJCA0003: Unable to instantiate driver class "qweqwe": java.lang.ClassNotFoundException: qweqwe from [Module "qweqwe:main" from local module loader @12f40c25 (finder: local module finder @3ada9e37 (roots: /home/hudson/jboss-eap7-standalone/modules,/home/hudson/jboss-eap7-standalone/modules/system/layers/base,/home/hudson/jboss-eap7-standalone/modules/system/add-ons/hawkular-agent))] 2016-11-24 11:23:41,778 ERROR [org.jboss.as.controller.management-operation] (OkHttp http://vprusa-docker-hs.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/command-gateway/feed/d1160558-8f47-42a6-bfd9-7233f406b669) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "datasources"), ("jdbc-driver" => "qweqwe") ]) - failure description: "WFLYJCA0034: Unable to instantiate driver class \"qweqwe\". See log (WARN) for more details" CFME evm.log: [----] E, [2016-11-24T11:23:41.877643 #3104:6f2451c] ERROR -- : MIQ(ManageIQ::Providers::Hawkular::MiddlewareManager#add_middleware_jdbc_driver) error callback was called, reason: Could not perform [Add] on a [JDBC Driver] given by inventory path [/t;hawkular/f;d1160558-8f47-42a6-bfd9-7233f406b669/r;EAP7-1~~] requested on [2016-11-24T16:23Z]: org.hawkular.dmr.api.OperationFailureException: Could not perform operation [add]: WFLYJCA0034: Unable to instantiate driver class "qweqwe". See log (WARN) for more details Version-Release number of selected component (if applicable): Hawkular Services: Running 0.21.0.Final-redhat-1 (commit b7c207f5b74a5f96d77d25231118e80c4540b32c) Hawkular Metrics: Running 0.21.5.Final-redhat-1 Hawkular Alerts: Running 1.3.2.Final-redhat-1 Hawkular Inventory: Running 1.1.1.Final-redhat-1 CFME: Version 5.7.0.12-rc2.20161123111642_a4a65ce How reproducible: Steps to Reproduce: Follow https://polarion.engineering.redhat.com/polarion/#/project/JBossON4/workitem?id=JBossON4-9538 Actual results: Expected results: Additional info: I suppose message 'JDBC Driver "qweqwe" has been installed on this server.' appears for CMFE log message: [org.hawkular.agent.monitor.cmd.AbstractResourcePathCommand] (OkHttp http://vprusa-docker-hs.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/command-gateway/feed/d1160558-8f47-42a6-bfd9-7233f406b669) HAWKMONITOR010065: Received request to perform [Add] on a [JDBC Driver] given by inventory path [/t;hawkular/f;d1160558-8f47-42a6-bfd9-7233f406b669/r;EAP7-1~~] but then the installation fails, is it possible to first wait for result of driver installation on EAP7 before showing this message? Or change it to 'JDBC Driver "qweqwe" is being installed on this server.'
Similar BZ was logged: https://bugzilla.redhat.com/show_bug.cgi?id=1383637
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.
duplicated severity https://bugzilla.redhat.com/show_bug.cgi?id=1383637 *** This bug has been marked as a duplicate of bug 1383637 ***