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

[BUG]: Virtual media support in idrac_boot doesn't work for iDrac8 #693

Open
coffee-driven opened this issue Jul 3, 2024 · 0 comments
Open
Labels
needs-triage Issue requires triage. type/bug Something isn't working

Comments

@coffee-driven
Copy link

coffee-driven commented Jul 3, 2024

Bug Description

Here is way of forcing boot from virtual media found in this feature request #457 But it doesn't work as expected, it does select CD installation but not "Virtual Optical Drive" but probably physical CD.

  - name: Configure boot source override mode.
    idrac_boot:
      idrac_ip: "{{ idrac_ip }}"
      idrac_user: "{{ idrac_user }}"
      idrac_password: "{{ idrac_password }}"
      validate_certs: false
      boot_source_override_target: cd
      boot_source_override_enabled: once
    tags: virtual-cd`

Component or Module Name

idrac_boot

Ansible Version

2.15.11

Python Version

3.11.2

iDRAC/OME/OME-M version

iDRAC 2.86.86.86

Operating System

OS independent

Playbook Used

- name: Install from Virtual CD
  hosts: localhost
  gather_facts: false
  tasks:
    - name: Insert image file to Remote File Share using HTTP.
      dellemc.openmanage.idrac_virtual_media:
        idrac_ip: "192.168.0.1"
        idrac_user: "root"
        idrac_password: "calvin"
        validate_certs: false
        force: true
        virtual_media:
          - index: 1
            insert: true
            media_type: "CD"
            image: "http://192.168.0.2/my_os.iso"

    - dellemc.openmanage.idrac_boot:
        idrac_ip: "192.168.0.1"
        idrac_user: "root"
        idrac_password: "calvin"
        boot_source_override_mode: uefi
        boot_source_override_target: cd
        boot_source_override_enabled: once
        validate_certs: false

Logs

PLAY [Install via Virtual CD] *************************************************************************************

TASK [Insert image file to Remote File Share using HTTP] *********************************************************************
changed: [localhost]

TASK [dellemc.openmanage.idrac_boot] ******************************************************************************
changed: [localhost]

PLAY RECAP ********************************************************************************************************
localhost                  : ok=2    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Steps to Reproduce

Run the playbook against server.

Expected Behavior

Server boot from Virtual CD

Actual Behavior

Physical CD is selected, server boots from other available methods.

Screenshots

image

Additional Information

The server is Dell R730xd

@coffee-driven coffee-driven added needs-triage Issue requires triage. type/bug Something isn't working labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue requires triage. type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant