[BUG]: ome_device_quick_deploy will not deploy a new config to a slot with IPv6 disabled #533
Labels
area/ome-modular
OME-Modular modules
needs-triage
Issue requires triage.
type/bug
Something isn't working
Bug Description
If there is already a configuration on a Quick Deploy slot, ipv6_enabled: False will apply properly.
If this is a new slot and the first configuration run, ipv6_enabled: False will result in an error about ipv6_prefix_length being incorrect. This happens regardless of the IPv6 prefix setting.
Running once with enabled, then a second time with disabled works.
Component or Module Name
ome_device_quick_deploy
Ansible Version
2.15.2
Python Version
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 Server 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:
name: Debug Slot Quick Deploy
ansible.builtin.debug:
var: quick_slot_output
tags:
Logs
.
Steps to Reproduce
Run playbook against new chassis using ipv6_enabled: False
Expected Behavior
Slot configured
Actual Behavior
Ansible Errors with "Unable to complete"
OME-M errors with incorrect ipv6 prefix setting
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: