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]: ome_device_quick_deploy does not assign slot static IP if blade is not present #532

Closed
jason-technology opened this issue Aug 15, 2023 · 1 comment · Fixed by #559
Labels
area/ome-modular OME-Modular modules type/bug Something isn't working
Milestone

Comments

@jason-technology
Copy link

Bug Description

if blade is not present, the following error is shown.
"changed": false, "msg": "'VlanId'"
This happens regardless of what the VlanID settings are.

Quick Deploy IP addresses should be able to be set without a blade present.

Component or Module Name

ome_device_quick_deploy

Ansible Version

2.15.2

Python Version

Python 3.10.12

iDRAC/OME/OME-M version

OME-M 2.10.10

Operating System

Ubuntu 22.04.3 LTS

Playbook Used

  • hosts: MX7000ChassisSlots
    connection: local
    gather_facts: false
    name: Chassis Slot Operations

    tasks:

    • name: Configure Slot Quick Deploy settings
      dellemc.openmanage.ome_device_quick_deploy:
      hostname: "{{ hostvars['OMEModular']['ome_ip'] }}"
      username: "{{ hostvars['OMEModular']['ome_login'] }}"
      password: "{{ hostvars['OMEModular']['ome_password'] }}"
      validate_certs: false
      device_service_tag: "{{ parent_chassis }}"
      setting_type: ServerQuickDeploy
      quick_deploy_options:
      # password: "{{ quick_password }}"
      ipv4_enabled: true
      ipv4_network_type: Static
      ipv4_subnet_mask: "{{ quick_netmask }}"
      ipv4_gateway: "{{ quick_gateway }}"
      ipv6_enabled: false
      ipv6_network_type: Static
      ipv6_prefix_length: 64
      ipv6_gateway: "::"
      slots:
      - slot_id: "{{ slot_id }}"
      slot_ipv4_address: "{{ quick_ip }}"
      slot_ipv6_address: "::"
      register: quick_slot_output
      tags:

      • quick_slot_setup
    • name: Debug Slot Quick Deploy
      ansible.builtin.debug:
      var: quick_slot_output
      tags:

      • quick_slot_setup_debug

Logs

.

Steps to Reproduce

Run the playbook

Expected Behavior

slot configured

Actual Behavior

slot not configured, error

Screenshots

No response

Additional Information

No response

@sachin-apa
Copy link
Collaborator

This is Fixed as part of the Releases 8.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ome-modular OME-Modular modules type/bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

3 participants