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

Internal Server Error (500) when updating a vlan interface #113

Open
simbuerg opened this issue Jul 29, 2024 · 2 comments
Open

Internal Server Error (500) when updating a vlan interface #113

simbuerg opened this issue Jul 29, 2024 · 2 comments

Comments

@simbuerg
Copy link

simbuerg commented Jul 29, 2024

Hi,

I'm using the aoscx.aoscx_vlan_interface module to configure multiple IPv4s + Active Gateway IPs on a CX-10000 device.

Situation:

This snippet is run in a loop for each vlan interface:

---
# Example:
vlan_interfaces:
  - admin_state: down
    description:
    vid: 1
    ipv4:
      - 132.231.247.251/22
      - 10.60.255.251/16
    active_gateway_v4:
      - 132.231.247.251
      - 10.60.255.251
...

---
- arubanetworks.aoscx.aoscx_vlan_interface:
    vlan_id: "{{item.vid}}"
    description: "{{item.description}}"
    ipv4: "{{item.ipv4}}"
    admin_state: "{{item.admin_state}}"
    state: create
...

If there is an unconfigured vlan interface existing, the module will set the primary and secondary IPv4 just fine. However, as soon as I rerun the task, It will fail with:

'GENERIC OPERATION ERROR: Internal service error.\n: Code: 500'

The logging output on the switch does not show an error after this.
The interface after the first create looks like this:

interface vlan 1
    shutdown
    ip address 132.231.247.251/22
    ip address 10.60.255.251/16 secondary

I get the same behavior when running with state: update.

@tchiapuziowong
Copy link
Member

Hi @simbuerg! Thank you for bringing this to our attention, I'll work on bringing this to our internal team and will update the issue when there's an update!

@alagoutte
Copy link
Contributor

Look similar to issue with loopback and secondary IP on pyaoscx module aruba/pyaoscx#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants