system_cfg not read on Oracle datasource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
High
|
Alberto Contreras | ||
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
Prefer system_cfg for network configuration on Oracle above the dataousrce config to allow images to dictate network overrides in /etc/cloud/
[ Test Plan ]
Procedure for validation (will be scripted as best we can)
1. Launch Oracle vm for focal, jammy, kinetic and lunar
2. Confirm presence of /etc/cloud/
3. Upgrade cloud-init to -proposed
4. confirm absence of /etc/cloud/
5. Reboot this VM to test default launch without 99-disable-
6. sudo cloud-init clean --logs; sudo shutdown -h now
6. Export VM to Oracle Object Storage
7. Launch from exported object storage image to trigger reading network config from IMDS instead of ISCSI
8. Assert ssh to instance works and no Tracebacks in /var/log/
[ Where problems could occur ]
If this patch is unsuccessful, default new instance launches on Oracle or launches from Object storage would timeout and disallow SSH because cloud-init didn't set up network appropriately.
[ Other Info ]
[Original description]
In https:/
system_cfg should instead be moved above ds so network configuration in /etc/cloud takes precedence.
Changed in cloud-init: | |
importance: | Undecided → High |
status: | New → Triaged |
status: | Triaged → In Progress |
assignee: | nobody → James Falcon (falcojr) |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Triaged |
tags: | added: sc-1414 |
Changed in cloud-init: | |
assignee: | James Falcon (falcojr) → Alberto Contreras (aciba) |
description: | updated |
This bug is believed to be fixed in cloud-init in version 22.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.