| Summary: | Failing Power operations for EAP7 server in domain mod | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Vojta Prusa <vprusa> | |
| Component: | Providers | Assignee: | Jirka Kremser <jkremser> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | cpelland, dajohnso, hrupp, jfrey, jhardy, mmahoney, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, Triaged | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | hawkular | |||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1391694 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 16:19:22 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Middleware | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1391694 | |||
Jirka, can you please update the status? This is happening because in the domain mode the operation needs to be run on a resource that represents the server-config, while it was run on the resource that represents the server. In standalone, the shutdown/suspend/reload operations can be run (via jboss.cli) for the top-lvl DMR resource (/), because it represents the server itself. The issue description says it wasn't possible to run the operation for this (inventory) resource /t;hawkular/f;master.eap7%20domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver%3DEAP7-109-server-one To fix this issue I need to assure it tries to run it on /t;hawkular/f;master.eap7%20domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver-config%3DEAP7-109-server-one New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/321252086fd1a0a7f9906114eafba4a7c54c95c7 commit 321252086fd1a0a7f9906114eafba4a7c54c95c7 Author: Oleg Barenboim <chessbyte> AuthorDate: Tue Nov 1 15:07:24 2016 -0400 Commit: Oleg Barenboim <chessbyte> CommitDate: Tue Nov 1 15:07:43 2016 -0400 Merge pull request #12312 from Jiri-Kremser/domain-server-ops Middleware server running in domain should support only the power operations and monitoring. (cherry picked from commit aacf6d55b0ddc1f95c1eb282c776fa690e0beb12) https://bugzilla.redhat.com/show_bug.cgi?id=1381235 app/controllers/middleware_server_controller.rb | 10 ++++++++-- app/helpers/application_helper/toolbar_builder.rb | 4 ++++ app/models/middleware_server.rb | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) |
Description of problem: For Power operation on EAP7 servers in domain mode getting: [----] E, [2016-10-03T09:12:09.934345 #1994:a095934] 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%3DEAP7-109-server-one] requested on [2016-10-03T13:12Z]: java.lang.IllegalArgumentException: Cannot execute operation: unknown operation [Shutdown] for resource [Resource[id=Local~/host=master/server=EAP7-109-server-one][props={}]=[type=ResourceType[id=Domain WildFly Server][props={}]]] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: