FQDN field contains non-fqdn host name for Ubuntu nodes in Nailgun

Bug #1400224 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Fuel Python (Deprecated)

Bug Description

When the Nailgun API method '/api/nodes' returns a cluster configuration, there is ['meta']['system']['fqdn'] field for each cluster nodes.
It contains FQDN for Centos clusters, but for Ubuntu clusters it contains only a short name:

...
"meta": {"system": {"product": "Standard PC (i440FX + PIIX, 1996)", "version": "pc-i440fx-trusty", "fqdn": "node-1", "manufacturer": "QEMU"},
...

It will affect our system tests after fixing the bug https://bugs.launchpad.net/fuel/+bug/1394933 for Fuel 5.1.x

{"build_id": "2014-12-03_01-07-36", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "48", "auth_required": true, "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "release_versions": {"2014.1.3-5.1.1": {"VERSION": {"build_id": "2014-12-03_01-07-36", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "48", "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"}}}, "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"}

Revision history for this message
Dima Shulyak (dshulyak) wrote :

Please attach snapshot, because i am not sure what component is lagging...
Can you additionally show output of ohai:

ohai | grep fqdn
"fqdn": "node-43.test.domain.local"

and

hostname --fqdn

I tried to check on 6.0 setup, and everything looks fine

Changed in fuel:
status: New → Incomplete
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

Sure, everything fine on 6.0
I pointed that the issue exists for 5.1 only.

You can reproduce it by creating a cluster using Ubuntu and getting nodes info:
http://<fuel_ip>/api/nodes

Example:
http://paste.openstack.org/show/146961/

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Not reproducible on newer versions. We will not fix Medium master node bugs in 5.1.x branch.

Changed in fuel:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.