Cloudbase merge-back
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
To encourage reunification of the cloudbase-init code into cloudinit there are a few change that need to happen in cloudinit to make this possible.
1. Disk 'functions' need to be abstracted into the distro class (since windows does mounting/finding differently) instead of in utils.py.
2. The creation of a 'windows' distro class that implements the current + moved functionality.
3. Adjustment of the 'linux/posix' distro classes with the moved functionality.
4. More movement of os level utils into distro classes.
a) See: https:/
5. Addition of strict os-validation on cloud-init modules before they run (instead of the 'warning' that is emitted right now). This is needed to stop certain modules from trying to run on windows (or vice-versa). Something like a per 'module' check-if-should-run function that will immediatly stop the module from being ran on distros that it will not work on (ex: emit_upstart will likely never work on windows).
6. Conversion of modules which do not exist in cloud-init to cloud-init modules.
a) See: https:/
Changed in cloud-init: | |
status: | New → Confirmed |
Changed in cloud-init: | |
importance: | Undecided → Low |
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 2373