What the actual configuration on the switch ?
do you have check log switch ?
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: Dec 23, 2022 03:08 AM
From: Joost Van Hoecke
Subject: Ansible arubaoss - is_voice_enabled not working in playbook
I have been breaking my head on the following issue I'm experiencing in setting a vlan with ansible on a 2930 switch. I'm trying to set the is_voice_enabled tag for the below vlan. However, the playbook is running with the error below. If I comment the "is_voice_enabled" line or put "is_voice_enabled: false" the playbook runs fine but the voice tag is not set to the VLAN.
Anyone any suggestions?
# Create VOICE VLAN30
- name: Create VLAN 30
arubaoss_vlan:
vlan_id: 30
name: "Voice"
config: "create"
command: config_vlan
is_voice_enabled: true
TASK [Create VLAN 30] **************************************************************************************************************************************************
fatal: [switch1]: FAILED! => {"body": "{\"message\":\"DHCP relay should be un-configured(helper address)on this VLAN to configure DHCP server.\"}", "changed": false, "connection": "close", "content-type": "application/json", "msg": "HTTP Error 400: Bad Request", "requestid": "", "server": "eHTTP v2.0", "status": 400, "transfer-encoding": "chunked", "url": "http://xxxxx:80/rest/v8.0/vlans/30"}