Giter VIP home page Giter VIP logo

drac's People

Contributors

markgoddard avatar oneswig avatar priteau avatar stackhpc-ci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drac's Issues

Simultaneous BIOS and RAID configuration sometimes causes issues

Seen on a particular R630 server, simultaneous configuration of BIOS and RAID jobs can cause the server to go off the rails. The jobs are not applied by the lifecycle controller, and if the lifecycle controller is entered manually it triggers a reboot loop.

This seems to have been resolved by configuring BIOS and RAID separately.

Invalid check_mode value

Seen with Ansible 2.10.17 (kayobe stable/wallaby) while running kayobe overcloud bios raid configure:

TASK [stackhpc.drac : Ensure that DRAC configuration is applied] ***********************************************************************************************************************************************************************************************************************************************************************************************************
fatal: [myhost -> localhost]: FAILED! => 
  msg: 'the field ''check_mode'' has an invalid value ({{ drac_check_mode | default(ansible_check_mode) }}), and could not be converted to an bool.The error was: The value '''' is not a valid boolean.  Valid booleans include: 0, 1, ''t'', ''n'', ''no'', ''y'', ''1'', ''true'', ''on'', ''off'', ''false'', ''f'', ''0'', ''yes'''

DELL R430 raid_config

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 ).

Issue creating 2x RAID-1 Virtual disks on the same physical disks

The RAID configuration being supplied is this:

  - name: "disk0"
    raid_level: 1
    span_length: 2
    span_depth: 1
    size_mb: 256000
    pdisks:
      - "Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1"
      - "Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1"
  - name: "disk1"
    raid_level: 1
    span_length: 2
    span_depth: 1
    size_mb: 7069056
    pdisks:
      - "Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1"
      - "Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1"

However, the output from the RAID process appears to be only 1 virtual disk, spanning the entire device and with the name of the second disk supplied:

"drac_virtual_disks": [                                                                                                                                                             
        {                                                                                                                                                                               
            "controller": "RAID.Integrated.1-1",                                                                                                                                        
            "description": "Virtual Disk 0 on Integrated RAID Controller 1",                                                                                                            
            "id": "Disk.Virtual.0:RAID.Integrated.1-1",                                                                                                                                 
            "name": "disk1",                                                                                                                                                            
            "pending_operations": null,                                                                                                                                                 
            "physical_disks": [                                                                                                                                                         
                "Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1",                                                                                                                
                "Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1"                                                                                                                 
            ],                                                                                                                                                                          
            "raid_level": "1",                                                                                                                                                          
            "raid_status": "online",                                                                                                                                                    
            "size_mb": 7325056,                                         
            "span_depth": 1,                                              
            "span_length": 2,                 
            "status": "unknown"                           
        }                                     
    ]                                   

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.