Created attachment 1272882 [details] server details page Description of problem: When running EAP7 server in standalone mode installed from ZIP file, it is shown Immutable in CFME UI. Version-Release number of selected component (if applicable): CFME Version 5.8.0.11-beta2.20170418170914_a53d2a7 MM Version 0.35.0.Final-redhat-1 How reproducible: always Steps to Reproduce: 1. Install EAP7 by ZIP file extracting. 2. Install Hawkular Agent and configure it to Middleware Manager. 3. In CFME UI, for that MM, check that EAP7 server appears. In that Server Details page you can see that server is immutable, as Power and Deployment menu items are hidden. As shown in attachment. Actual results: EAP7 server running not in container but from ZIP is immutable. Expected results: It should not be immutable. Additional info: Happens in upstream MM and MiQ as well.
Created attachment 1272884 [details] server log Server is not configured to be immutable, and in attached logs it does not say that server is immutable.
Hayk, is that Hawkular-services instance available for me to connect to it with HawkFX? I want to see if the EAP correctly set the flag. What do you mean with "Happens in upstream MM and MiQ as well." ?
How did you install the agent in EAP? If it is the classic agent, can you please add standalone.xml? If it is the javaagent, can you please add its config file?
I see that the Hawkular-Services server reports this EAP's properties as { "path": "/t;hawkular/f;7aec6d0c-6b92-4519-998f-306459db2210/r;EAP7~~/d;configuration", "name": "configuration", "identityHash": "80daf3d8dfeec51c514113e211698d9e88317", "contentHash": "99a47ff21bb958398d4ed6df550b53e7116ec0", "syncHash": "759f1444518d7855fae8827b8fd2c49ac6a727b5", "value": { "Immutable": "false", "Bound Address": "0.0.0.0", "Home Directory": "/home/hudson/jboss-eap7-standalone", "Node Name": "cfme-eap7-standalone", "Server State": "running", "Product Name": "JBoss EAP", "Hostname": "cfme-eap7-standalone.bc.jonqe.lab.eng.bos.redhat.com", "In Container": "false", "Name": "cfme-eap7-standalone", "Suspend State": "RUNNING", "Running Mode": "NORMAL", "Version": "7.0.4.GA", "UUID": "7aec6d0c-6b92-4519-998f-306459db2210" } } So the immutable flag is correctly set to false.
https://github.com/ManageIQ/manageiq/pull/14822 This PR should fix the problem for the time being, however it's not the best solution, which would be to instantiate the correct class for the middleware providers, which is a core problem.
This is merged already, is it still a bug? For fine++, this PR is going to be the final fix for this issue, and it is just waiting to be merged: https://github.com/ManageIQ/manageiq/pull/14880
This is fixed now and verified on CFME 5.8.0.13-rc2.20170502165848_0f98658.
*** Bug 1445798 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 1446387 ***
Verified on 5.9.0.1.20171004215954_13427ce