Creating generic partition list for the image being deployed by ironic during overcloud deployment is required to achieve different targets.
We want to introduce a generic approach to create partitions for the Root Disk being deployed
during overcloud deploy and ironic pushing the Image to the Bare Metal process.
The suggested solution will partition the Root disk according to a partition.yaml file that will be specified by each ironic node.
The partition.yaml will describe the root disk layout to be partitioned (size/label/file system type)
This list would not be list of partition and will not be treated hard code or limited.
Durig ironic deploying the image to the bare metal
the partitions will be created according to the yaml file definitions and OS partition as it usually is will be the last partition on the device where the OS is being deployed upon.
Trials to get help from redhat failed so i implemented the changes myself:
See relevant bugzilla
https:/
https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- kobig
- Direction:
- Needs approval
- Assignee:
- kobig
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Dmitry Tantsur
Related branches
Related bugs
Bug #1631622: unable to create partition for storage as part of baremetal deployment, ironic conductor will erase partition during overcloud deploy and installs OS over all first Disk | Invalid |
Sprints
Whiteboard
Ironic does not use blueprints, please follow http://
--------
Code was implemented in liberty version and tested on different Baremetal platforms (HP,Dell,..)
i have noticed that there are many changes on ironic master stream in terms of separation to modules.
Meregd the changes to master
and now struggling to understand how to create a new blueprint and have the code reviewed.
Gerrit topic: https:/
Addressed by: https:/
Code review changes
Addressed by: https:/
Code review comments from Julia Kreger <email address hidden>