domain could not be received correctly using hostname and facter utilities

Bug #1400697 reported by Andrey Kirilochkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Library (Deprecated)
5.1.x
Won't Fix
Medium
Fuel Library (Deprecated)
6.0.x
Won't Fix
Medium
Fuel Library (Deprecated)
6.1.x
Invalid
Medium
Fuel Library (Deprecated)

Bug Description

Fuel version: 5.1.1
OS: Centos

The contents of the /etc/resolv.conf file

[root@node-1 conf.d]# cat /etc/resolv.conf
# Generated by NetworkManager
domain local
search domain.tld
nameserver 10.20.0.2

The contents of /etc/sysconfig/network file

[root@node-1 ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=node-1.domain.tld
GATEWAY=172.16.41.225

[root@node-1 conf.d]# hostname
node-1.domain.tld

[root@node-1 conf.d]# hostname -d
<empty>

[root@node-1 conf.d]# facter domain
local

Please make value domain in resolv.conf file the same as a search domain.

description: updated
Changed in fuel:
milestone: none → 5.1.2
assignee: nobody → Fuel Library Team (fuel-library)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

AFAIK, in maintanance releases we could address only high and critical bugs

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Not actual for current 6.1:

[root@node-5 log]# hostname
node-5.test.domain.local

[root@node-5 log]# hostname -f
node-5.test.domain.local

[root@node-5 log]# hostname -d
test.domain.local

[root@node-5 log]# cat /etc/resolv.conf
# Generated by NetworkManager
domain local
search test.domain.local
nameserver 10.108.5.2

[root@node-5 log]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=node-5.test.domain.local
GATEWAY=172.16.0.1

[root@node-5 log]# facter domain
test.domain.local

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

UPD1: checked on 6.1 ISO 112.

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.