Hi Kaifeng:
Before receiving your reply, I have downloaded the ronic-python-agent-builder-2.3.0, but I don't know how to build it and how to use it, I can't find the direction for use.
And I try 'python setup.py install' to install it. and the following is my execution.
I don't know the optional values of 'distribution', 'release', 'element', I hope you can help me.
distribution refers to the base image that the ramdisk will be built on, release is used to specify the distribution variant.
element is a concept of diskimage-builder, each element is handling part of the building process,
you can take a look at the diskimage-builder documentation for a complete list [1].
In case further customization on the ramdisk is required, elements can be included by the argument.
We have some examples on how to use the IPA-B at [2].
Hi ~
I have deployed OpenStack platform in Rocky version and integreted Ironic(Rocky) into it according to the official documents. I download the coreOS vmlinuz and ramdisk images from
https://tarballs.opendev.org/openstack/ironic-python-agent/coreos/files/. and if I don't clean my devices I can deploy baremetal node server currently. When I cleaning my disk using "openstack baremetal node clean --clean-steps '[{"interface": "deploy", "step": "erase_devices"}]' my_bm", I got an error message "Clean step failed: Error performing clean_step erase_devices: No HardwareManager found to handle method: Could not find method: erase_block_device" from ironic-conductor.log and I got the same error in coreOS by "sudo journalctl -u ironic-python-agent -f". I download the Rocky ironic-python-agent source code from github and I search 'erase_block_devices' ,it returned from hardware.py +781. So, the first problem , I don't know why I got this error message.
I downloaded the source code of the ironic-python-agent and tried to build the coreOS image by 'Makefile', but I always got error as following, this is my second problem.
Finally, I want to code my own 'custom HardwareManager' to support 'raid config' for the ironic-python-agent, but I don't know how to get started.
For an in-band RAID support, you'll need to create a new hardware manager and implement some deploy steps to support RAID configuration, specifically, the create_configuration and delete_configuration steps.
The following links may provide some starting points for you.
Hope this helps.
Looking forward to your help. Thank you.
Ankele