Bug 1314504 - host name parameter is missing in JON when we miss it in host.xml
Summary: host name parameter is missing in JON when we miss it in host.xml
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 7
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Michael Burman
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 19:05 UTC by Jeeva Kandasamy
Modified: 2016-03-04 10:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-04 10:50:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
host name parameter screenshot (116.20 KB, image/png)
2016-03-03 19:05 UTC, Jeeva Kandasamy
no flags Details
host name parameter screenshot - updated (104.54 KB, image/png)
2016-03-04 10:50 UTC, Jeeva Kandasamy
no flags Details

Description Jeeva Kandasamy 2016-03-03 19:05:04 UTC
Created attachment 1132899 [details]
host name parameter screenshot

Description of problem:
host name parameter is empty when we removed the name parameter from host.xml.

Version-Release number of selected component (if applicable):
JBoss ON 3.3.5 with EAP plugin pack update03-DR01


How reproducible:
always

Steps to Reproduce:
1. Unset host controller name parameter in host.xml
2. Register host controller in to JON

Actual results:
showing name parameter as empty

Expected results:
Should show the default hostname as a host name parameter.

Additional info:
JBoss CLI shows host name as host name parameter.

[domain@localhost:9990 /] /host=jeeva-dr01-fey.bc.jonqe.lab.eng.bos.redhat.com:read-attribute(name=name)      
{
    "outcome" => "success",
    "result" => "jeeva-dr01-fey.bc.jonqe.lab.eng.bos.redhat.com"
}

Screenshot is attached

Comment 1 Michael Burman 2016-03-04 09:21:56 UTC
I don't think this is missing, but you were too quick to test. It takes a while for those values to be propagated. Took some minutes on my machine for them to appear (and same behavior on EAP6). Notice how in your screenshot none of the traits are visible (not just the domain name).

You can check if the values are correctly read by checking the traits, it's the same values just repeated on the UI.

Comment 3 Jeeva Kandasamy 2016-03-04 10:50:41 UTC
Created attachment 1133141 [details]
host name parameter screenshot - updated

I was waiting couple of minutes. name parameter and other parameters are updated as expected. As this is known limitation and not a bug. Hence moving this bug to closed state.


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