Bug 1706482 - [cloud-init][RHVM]cloud-init network configuration does not persist reboot [RHEL 8.2.0]
Summary: [cloud-init][RHVM]cloud-init network configuration does not persist reboot [R...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cloud-init
Version: 8.0
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: 8.2
Assignee: Eduardo Otubo
QA Contact: Huijuan Zhao
Jiri Herrmann
URL:
Whiteboard:
Depends On: 1593010 1750710
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-05 03:31 UTC by ldu
Modified: 2020-02-19 03:46 UTC (History)
30 users (show)

Fixed In Version: cloud-init-18.5-8.el8
Doc Type: Known Issue
Doc Text:
(See https://bugzilla.redhat.com/show_bug.cgi?id=1666961 )
Clone Of: 1593010
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Comment 5 Yaju Cao 2019-07-10 09:33:40 UTC
Remove needinfo in comment 3 since it has already been tested in https://bugzilla.redhat.com/show_bug.cgi?id=1593010#c74, and the issue still exist, so we need to continue working on the fix.

Comment 13 Huijuan Zhao 2020-02-19 03:46:52 UTC
Tested with cloud-init-18.5-10.el8 on RHV, the issue is gone.

Verified on:
- RHV 4.3.4.3-0.1.el7
- libvirt-3.9.0-14.el7.x86_64
- VM: RHEL8.0 + cloud-init-18.5-10.el8

Verification steps:
1. Create VM with RHEL 8.0 (register to rhsm, enable baseos/appstream repos)
2. Install cloud-init cloud-init-18.5-10.el8
3. Start the service and set it up permanently by 'systemctl enable --now cloud-init'.
4. Power off the vm and create template.
5. Create a new vm from the new template with the following cloud init parameters (by GUI): 'TZ: +13 Tonga, Network: static, NIC Name: eth0, IP: 10.0.0.1, MASK: 255.255.255.0, GW: 10.0.0.254'.
6. Start the vm and verify cloud-init parameters are as expected (by `ip a` and  `cat /etc/sysconfig/network-scripts/ifcfg-eth0`).
7. Power off the vm from engine and repeat step 6.

Result:

- Cloud-init parameters was remain as expected after vm is powered off and restarted.


Move the status to VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.