[cloud-init] "/etc/resolv.conf" is out of control of netconfig after done cloud-init GOSC on SLES15SP1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
[cloud-init] "/etc/resolv.conf" is out of control of netconfig after done cloud-init GOSC on SLES15SP1
Before GOSC, "/etc/resolv.conf" is link file "/run/netconfig
cloud-init version is 19.4.
```
pek2-gosv-
/usr/bin/cloud-init 19.4
```
Before GOSC:
```
pek2-gosv-
lrwxrwxrwx 1 root root 26 Feb 10 23:33 /etc/resolv.conf -> /run/netconfig/
```
After GOSC:
```
pek2-gosv-
-rw-r--r-- 1 root root 153 Feb 11 09:46 /etc/resolv.conf
pek2-gosv-
-rw-r--r-- 1 root root 707 Feb 14 06:10 /run/netconfig/
```
cloud-init.log is attached.
Steps:
1. Deploy SLES15SP1 VM
2. Power off VM and Deploy GOSC
```
2020-02-11 08:46:34,797 - config_
2020-02-11 08:46:34,797 - config_
2020-02-11 08:46:34,797 - config_
2020-02-11 08:46:34,797 - config_
2020-02-11 08:46:34,797 - config_
...
```
3. Power on VM and check GOSC resolve, expect /etc/resolv.conf is still link to /run/netconfig/
Found on VMware platform, loaded DatasourceOVF.
VMware internal bug number is: 2508900