Config drive Ironic support
Currently, cloudbase-init looks for config-drive files under raw physical disks (vfat + ISO) and cdrom drives, but this is not enough if we're going to support Ironic (because it's not using a hypervisor and usually creates a partition for that at the end of the disk: ext2 by default which is not recognized by windows).
1. Implement:
I. A new option in configdrive metadata service for iterating through volumes and partitions
II. Refactor code under windows part of the configdrive for:
a. decoupling disk/partition metrics logic
b. common ISO size computation and writing
III. Refactor disk management utilities and add raw partition support
IV. Add method for listing volumes in osutils
V. Add method for listing partitions in osutils
2. Possible bugs:
I. https:/
Due to a variable size of bytes per sector, the ISO magic string or size values could be outside the read buffer and an offset constant greater than the buffer capacity will lead to index errors. But this will not happen according to current search offsets and usual bytes per sector values (512 -> 4096; only powers of 2).
!BUT! https:/
3. A light uml:
Blueprint information
- Status:
- Not started
- Approver:
- Alessandro Pilotti
- Priority:
- Undefined
- Drafter:
- Cosmin Poieana
- Direction:
- Needs approval
- Assignee:
- Cosmin Poieana
- Definition:
- Pending Approval
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
I don't think the potential bug belongs into this blueprint, it should be separated.