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

GUI: LAG: Port details page: Unable to update lag port(discovery packets/status) #5496

Open
yuliiamir opened this issue Nov 29, 2023 · 0 comments
Assignees

Comments

@yuliiamir
Copy link
Collaborator

yuliiamir commented Nov 29, 2023

The issue occurred during updating a LAG port on its port details page:

  1. Switch off 'Discovery Packets' toggle:
    Request details:
PUT /openkilda/api/switch/00:00:00:22:3d:5a:04:87/ports/2496/properties
body: 
{
  "discovery_enabled": false
}

Response:

{
    "error-code": 1390412,
    "error-message": "Object was not found",
    "error-auxiliary-message": "Port not found: 'Port FSM not found (00:00:00:22:3d:5a:04:87_2496).'",
    "correlation_id": "",
    "error-description": "Port not found exception"
}

Note, issue occurred on both virtual and hardware environments.
2. Update port status and try to save changes:
Request details:

PUT /openkilda/api/switch/00:00:00:00:00:00:00:08/2198/config
body: 
{
  "status": "UP"
}

Response:

{
    "error-code": 1390412,
    "error-message": "Invalid request data",
    "error-auxiliary-message": "Unable to get port by number 2198 on the switch 00:00:00:00:00:00:00:08",
    "correlation_id": "",
    "error-description": "Port configuration request failed"
}

Note, the 2nd issue (updating port status) has been caught only on virtual environment.

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

2 participants