Red Hat Bugzilla – Bug 1314504
host name parameter is missing in JON when we miss it in host.xml
Last modified: 2016-03-04 05:50:55 EST
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
Steps to Reproduce:
1. Unset host controller name parameter in host.xml
2. Register host controller in to JON
showing name parameter as empty
Should show the default hostname as a host name parameter.
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
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.
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.