Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1333034
Summary: | Hostname set in Anaconda while installing is not applied on installed host | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-node | Reporter: | Sandro Bonazzola <sbonazzo> | ||||||||||
Component: | Installation & Update | Assignee: | Ryan Barry <rbarry> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Wang <weiwang> | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | urgent | ||||||||||||
Version: | master | CC: | bugs, cshao, dfediuck, fdeutsch, rbarry, sbonazzo, weiwang, ycui | ||||||||||
Target Milestone: | ovirt-4.0.0-rc2 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: planning_ack+ dfediuck: devel_ack+ ycui: testing_ack+ |
||||||||||
Target Release: | 4.0 | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061416.iso | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2016-07-05 07:39:17 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 1329957 | ||||||||||||
Attachments: |
|
Sandro, could you please provide the NGN iso you used for installation and the kickstart? I see: 04:06:06,246 DEBUG anaconda: updating hostname localhost.localdomain Let#s see what Wei has to say. Moving to first RC, since things should not be targeted to second one at this point. Issue can not be reproduced using below builds Version: ovirt-node-ng-installer-ovirt-3.6-2016051108.iso ovirt-node-ng-installer-ovirt-3.6-2016050400.iso ovirt-node-ng-installer-ovirt-3.6-2016050100.iso Steps: 1. Install vm with kickstart file in attachment. key command: network --device=ens3 --bootproto=dhcp --hostname="node.home" 2. After reboot, check the hostname #hostname -f Result: The hostname still display as "node", after reboot. Sandro, could you please provide the NGN iso you used and the kickstart? Created attachment 1156493 [details]
log file
Created attachment 1156494 [details]
ks_file
Please note, anaconda is strict about hostnames, A name is just a hostname without a dot (node). A FQDN can not be used as the hostname (node.home). Test Version: ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061419.iso imgbased-0.7.0-0.201606081307gitfb92e93.el7.centos.noarch Test Steps: 1. Install machine with kickstart file in attachment. key command: network --device=enp0s25 --bootproto=dhcp --hostname="node.home" 2. After login with root account, check the hostname #hostname #cat /etc/hostname Result: hostname display as "node.home". So the bug cannot be reproduced, I will change the status to VERIFIED. Created attachment 1168565 [details]
kickstart file
oVirt 4.0.0 has been released, closing current release. |
Created attachment 1153899 [details] anaconda logs Installed NGN on a VM, set node.home as hostname in anaconda. At reboot hostname is localhost.