canonical / canonical/cloud-init

NoCloud seedfrom network doesn't get updated properly.

Open
#6,269 2 comments 0 reactions 0 assignees View on GitHub
bug incomplete
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report

## Steps to reproduce the problem

Using NoCloudNet datasoure, and provide dmi serial-number, then we will see the nic configuration is right but the activating ip is still the dhcp one.
## Environment details
- Cloud-init version: 22.1
- Operating System Distribution: redhat 8.8
- Cloud provider, platform or installer type: rpm

## cloud-init logs

## Analysis
Currently, nic configuration file will be updated properly, but not take affected.
NetworkManager Activator only run "nmcli connection up ifname xxx", but when configuration has been updated(from dhcp to static ip), we need to run "nmcli connection reload" before.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.