Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set raid config during ironic baremetal node enroll #474

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

nicholaskuechler
Copy link
Contributor

@nicholaskuechler nicholaskuechler commented Nov 13, 2024

Sets the baremetal node's target raid config in ironic.

Node settings in ironic:

openstack baremetal node list
+--------------------------------------+--------------------------------+--------------------------------------+-------------+--------------------+-------------+
| UUID                                 | Name                           | Instance UUID                        | Power State | Provisioning State | Maintenance |
+--------------------------------------+--------------------------------+--------------------------------------+-------------+--------------------+-------------+
| 063fcc5c-5d7d-42cb-8f53-20284eb6e553 | Dell-ABCD123                   | None                                 | power on    | available          | False       |
+--------------------------------------+--------------------------------+--------------------------------------+-------------+--------------------+-------------+
| target_raid_config     | {'logical_disks': [{'controller': 'RAID.SL.1-1', 'is_root_volume': True, 'physical_disks': ['Disk.Bay.0:Enclosure.Internal.0-1:RAID.SL.1-1',                                        |
|                        | 'Disk.Bay.1:Enclosure.Internal.0-1:RAID.SL.1-1'], 'raid_level': '1', 'size_gb': 'MAX'}]}

Argo workflow run:

Screenshot 2024-11-13 at 3 11 18 PM

@nicholaskuechler nicholaskuechler marked this pull request as ready for review November 13, 2024 17:50
Copy link
Contributor

@stevekeay stevekeay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, super long names

@nicholaskuechler nicholaskuechler added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 413b004 Nov 13, 2024
14 checks passed
@nicholaskuechler nicholaskuechler deleted the PUC-551-20241113-1 branch November 13, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants