cloud-init-main and ssh fail to start related to missing modules jsonpatch or configobj
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
In questing daily live-server ISO starting tomorrow - I caught this by chance with a one-off build today - when using cloud-init 25.3~1g890873f5
nc: /run/cloud-
No cloud-init logs are present in /var/log. 3 services are in a bad state, cloud-init-
`systemctl status cloud-init-main` shows a snippet of traceback where python3-jsonpatch is missing.
Installing that and restarting cloud-init-main shows another traceback, with python3-jinja2 this time.
It appears that the packages python3-
Modifying the live ISO to add those two packages seems sufficient, as adding just those (plus whatever else apt pulled in) is sufficient to restore current functionality.
| summary: |
- nc: /run/cloud-init/share/final.sock: No such file or directory + cloud-init-main and ssh fail to start |
| summary: |
- cloud-init-main and ssh fail to start + cloud-init-main and ssh fail to start related to missing modules + jsonpatch or configobj |

Upstream PR to fix this under review https:/ /github. com/canonical/ cloud-init/ pull/6424/ files