-
Notifications
You must be signed in to change notification settings - Fork 283
Description
We are provisioning a larger set of machines with CAPM3. In these machines we have several disks:
- Small disk for operating system
- Disk for local storage
- For storage nodes: Several disks for Ceph
For a proper lifecycle management the following workflow is necessary:
Initial provisioning
- Add server to Metal3 and inspect it
- Boot server into IPA
- Cleanup all disks
- Provision node image
Node update
- Boot server into IPA
- Cleanup only operating system disk
- Provision node image
We read the documentation for CAPM3 automatic cleanup and for BMO Cleaning According to this we decided to set automatedCleaningMode
to metadata
as
When enabled (metadata), automated cleaning kicks off when a node is in the first provisioning and on every deprovisioning
With the expectation, that there is no deprovisioning
for node updates.
Unfortunately this is not the case: At node update all disks are cleaned and data is lost!
We found a workaround by setting in the property skip_block_devices'='[{"size":"> 300"}]
in Ironic for all nodes after first provisioning.
Of course this is not a real solution.
Any help is appreciated.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status