Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1309647 [details] cloud-init.log Description of problem: Hostname is not set via rhevm cloud init. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 7.4 (Maipo) #uname -a: Linux dhcp163-94.scl.lab.tlv.redhat.com 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux cloud init: cloud-init-0.7.9-9.el7.x86_64 RHVM: 4.1.5.1-0.1.el7 vdsm: vdsm-4.19.26-1.el7ev.x86_64 How reproducible: all the time Steps to Reproduce: 1. Create VM from rhel-guest-image with cloud init via rhevm. 2. Set hostname: cloud-init-test, user: root, password: 1, timezone: Pacific/Tongatapu 3. Start VM Actual results: Hostname did not set. Expected results: Host name is set to FQDN Additional info: payload on host: { "availability_zone" : "nova", "hostname" : "cloud_init_test", "launch_index" : "0", "meta" : { "role" : "server", "dsmode" : "local", "essential" : "false" }, "name" : "cloud_init_test", "uuid" : "ce251ba6-fe38-422f-b0d5-64b69072279a" }#cloud-config output: all: '>> /var/log/cloud-init-output.log' password: '1' disable_root: 0 runcmd: - 'sed -i ''/^datasource_list: /d'' /etc/cloud/cloud.cfg; echo ''datasource_list: ["NoCloud", "ConfigDrive"]'' >> /etc/cloud/cloud.cfg' timezone: Pacific/Tongatapu ssh_pwauth: true chpasswd: expire: false user: root