cloud-init ignores configured cloud_dir for status.json and result.json data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
Somewhere between cloud-init-0.7.4 and cloud-init-0.7.5, the cloud-init runtime was refactored a bit so that certain cloud-init data is dropped statically into certain locations (/var/lib/
The particular problem crops up in the 'status_wrapper' function in the cloud-init runtime -- although the function accepts arguments for the 'data dir' and the 'link dir' (/var/lib/
Thus, cloud-init data is scattered in all of the following locations:
* The configured cloud_dir
* /var/lib/cloud/data
* /run/cloud-init
...which is contrary to the previous behavior (0.7.4 and prior), where everything is co-located in the cloud_dir.
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 2595