Bug 1015334
Summary: | EAP 6 host controller domain host update results in managed servers no longer being "manageable" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||||
Component: | Plugin -- JBoss EAP 6 | Assignee: | Libor Zoubek <lzoubek> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Armine Hovsepyan <ahovsepy> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | JON 3.1.2 | CC: | ahovsepy, hrupp, lzoubek, mfoley, myarboro, theute, tsegismo | ||||||
Target Milestone: | DR01 | ||||||||
Target Release: | JON 3.3.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
It was discovered that if the domainHost attribute of an EAP 6 host controller changed, the managed servers connected through the host controller became unavailable. This prevented any new managed servers from being discovered. The host controller was still partially functioning in inventory, however its managed servers were unreachable due to the domain host property value being read-only with no method to update or correct the issue. A fix to the AS7 plug-in now attempts to read domainHost from host.xml when needed. The 'domainHost' read-only plug-in property is deprecated, and a new trait is introduced to better handle the scenario.
|
Story Points: | --- | ||||||
Clone Of: | |||||||||
: | 1119497 (view as bug list) | Environment: | |||||||
Last Closed: | 2014-12-11 14:04:45 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1119497 | ||||||||
Attachments: |
|
Description
Larry O'Leary
2013-10-04 00:34:24 UTC
Re-targeted to CP02 to reduce CP01 overall payload. Actual results, are no longer valid. New actual results on 4.10: Domain controller is being reported as DOWN after it was started with updated name, avail error is reported to user. And because of Bug 1088264 there was no way to recover from avail error (even returning to original host name did not work) I have a fix in https://github.com/rhq-project/rhq/pull/23 which, fixes above BZ. I did not stick with any of proposed solutions. Instead, AS7 plugin tries to be smart and reads domainHost from host.xml when needed. I deprecated 'domainHost' read-only plugin property and introduced new trait instead. domainHost is held by BaseServerComponent and is detected on component start and if needed in avail code. (In reply to Libor Zoubek from comment #2) > > I have a fix in https://github.com/rhq-project/rhq/pull/23 > > which, fixes above BZ. I did not stick with any of proposed solutions. > Instead, AS7 plugin tries to be smart and reads domainHost from host.xml > when needed. I deprecated 'domainHost' read-only plugin property and > introduced new trait instead. domainHost is held by BaseServerComponent and > is detected on component start and if needed in avail code. This strategy sounds good to me. I just reviewed the PR (did not test it), I vote for this change. merged into master as f9ef978b72ae This https://github.com/rhq-project/rhq/commit/4bba58bca1e7363c1cba2d777e92a07ace9a1d41 should be cherry-picked as well, otherwise agent.log will produce warnings in case there is any standalone EAP which is DOWN on agent. Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993 Created attachment 924193 [details]
before_hostname_change
Created attachment 924194 [details]
after-hostname-change
verified in jon 3.3 dr1 screen-shots attached |