Description of problem:
/api/v2/info displays 'fqdn' with host shortname and 'hostname' with 'fqdn'. Looks like they are interchanged..
HTTP 200 OK
Content-Type: text/html; charset=utf-8
Allow: GET, HEAD, OPTIONS
"version": "1.4.1-0 ",
"bootstrap_rhel": "curl https://10.8.128.4:8002/bootstrap | sudo python",
"bootstrap_ubuntu": "wget -O - https://10.8.128.4:8002/bootstrap | sudo python"
[ubuntu@magna004 ~]$ sudo hostname
[ubuntu@magna004 ~]$ sudo hostname -f
Version-Release number of selected component (if applicable):calamari-server-1.4.1-1.el7cp.x86_64
How reproducible: always
Steps to Reproduce:
1. issue https://<mon ip>:8002/api/v2/info from browser
'fqdn' shows host shortname
'hostname' shows fqdn
show right values for fqdn and hostname
I don't believe there is impact to console as this API was broken entirely till a few days ago. This can wait to 2.1
I am guessing that this is already fiex.
Would you please check and close as current release if so?
Boris would you please check if this is already fixed in v1.5.5?
It is just a simple bug where we mismatched fqdn/hostname in the Info class. I have tested the patch on my testing cluster and it fixed the issue for me.
Boris would you please tag v1.5.6 with that change and I'll build it for RHEL and Ubuntu?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.