Bug 1391694 - Failing Power operations for EAP7 server in domain mod
Summary: Failing Power operations for EAP7 server in domain mod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Jirka Kremser
QA Contact: Hayk Hovsepyan
URL:
Whiteboard: Hawkular
Depends On: 1381235
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 19:04 UTC by Satoe Imaishi
Modified: 2017-01-04 13:08 UTC (History)
10 users (show)

Fixed In Version: 5.7.0.11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1381235
Environment:
Last Closed: 2017-01-04 13:08:16 UTC
Category: ---
Cloudforms Team: Middleware
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Comment 2 Heiko W. Rupp 2016-11-04 13:47:03 UTC
Setting on POST since the original one is on POST and the code is in Euwe

Comment 3 Vojta Prusa 2016-11-07 15:11:40 UTC
CFME version: 5.7.0.9-beta2.1
Hawkular Services: 	Running	0.0.14.Final-redhat-1 (commit 4b5ae40eb4f44fe95b0fa2d0997c315b09e75bd8)	
Hawkular Metrics: 	Running	0.19.3.Final	
Hawkular Alerts: 	Running	1.1.4.Final	
Hawkular Inventory:	Running	0.19.2.Final

Still failing with new EAP7 log message in host-controller

For log/evm.log get:
[----] E, [2016-11-07T09:21:39.409298 #11822:8eb79c4] ERROR -- : MIQ(ManageIQ::Providers::Hawkular::MiddlewareManager#run_operation) error callback was called, reason: Could not perform [Shutdown] on a [DMR Node] given by inventory path [/t;hawkular/f;master.eap7%20domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver-config%3DEAP7-119-server-one] requested on [2016-11-07T14:17Z]: java.lang.IllegalArgumentException: Cannot execute operation: unknown operation [Shutdown] for resource [Resource[id=Local~/host=master/server-config=EAP7-119-server-one][props={}]=[type=ResourceType[id=Domain WildFly Server Controller][props={}]]]

Newly in jboss-eap7-domain/domain/log/host-controller.log i got:
2016-11-07 09:17:33,182 INFO  [org.hawkular.agent.monitor.cmd.AbstractResourcePathCommand] (OkHttp http://vprusa-docker-hs.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/command-gateway/feed/master.eap7%20domain) HAWKMONITOR010065: Received request to perform [Shutdown] on a [DMR Node] given by inventory path [/t;hawkular/f;master.eap7%20domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver-config%3DEAP7-119-server-one]

No errors in HS log

But server keeps running

Comment 4 Jirka Kremser 2016-11-10 17:53:36 UTC
PR https://github.com/ManageIQ/manageiq/pull/12557

Comment 5 Hayk Hovsepyan 2016-11-22 13:12:49 UTC
Tested on revision: 5.7.0.11-rc1.20161115160629_46cf4f1

It still shows error in evm.log for each of Power Operations, for instance reload:
"[----] E, [2016-11-22T08:08:09.104154 #2876:4866600] ERROR -- : MIQ(ManageIQ::Providers::Hawkular::MiddlewareManager#run_operation) error callback was called, reason: Performed [Reload] on a [DMR Node] given by Inventory path [/t;hawkular/f;master.eap7%20domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver-config%3DEAP7-server-one]"

But all power operations are working correctly.
EAP7 servers in domain mode are stopped/started/restarted/... correctly.

Comment 10 Hayk Hovsepyan 2016-11-23 09:37:14 UTC
New BZ is created: https://bugzilla.redhat.com/show_bug.cgi?id=1397729

Comment 12 errata-xmlrpc 2017-01-04 13:08:16 UTC
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://rhn.redhat.com/errata/RHBA-2017-0012.html


Note You need to log in before you can comment on or make changes to this bug.