Skip to content

DELL R430 raid_config #4

Description

@lovilak

I've some issue with this hardware :
When I apply this playbook :

hosts: all
gather_facts: no
roles:
- role: drac
drac_address: "{{ ip_drac }}"
drac_username: 'root'
drac_password: 'calvin'
drac_bios_config:
NumLock: 'On'
SysProfile: 'PerfOptimized'
drac_raid_config:
- name: SYSTEM
raid_level: 1
span_length: 2
span_depth: 1
pdisks:
- 'Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1'
- 'Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1'
- name: DATA
raid_level: 5
span_length: 4
span_depth: 1
pdisks:
- 'Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1'
- 'Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1'
- 'Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1'
- 'Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1'
reboot: True
timeout: 600

I must first force the disk from NON-RAID to RAID manually. Because otherwise I get :
The full traceback is: File "/tmp/ansible_A0_fAK/ansible_module_drac.py", line 1048, in commit_raid bmc.commit_pending_raid_changes(controller, False) File "/usr/lib/python2.7/site-packages/dracclient/client.py", line 478, in commit_pending_raid_changes cim_name='DCIM:RAIDService', target=raid_controller, reboot=reboot) File "/usr/lib/python2.7/site-packages/dracclient/resources/job.py", line 151, in create_config_job expected_return_value=utils.RET_CREATED) File "/usr/lib/python2.7/site-packages/dracclient/client.py", line 673, in invoke raise exceptions.DRACOperationFailed(drac_messages=messages)

And When I've done this manual change and I launch my playbook, it creates a wrong virtual volume size for the RAID5 DATA (4 x 1716352,MB = 1716351MB ).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions