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

[MANOPD-77444] Fix check_iaas for ipv6 environment #210

Merged
merged 3 commits into from
Aug 29, 2022
Merged

Conversation

akor0421
Copy link
Contributor

Description

Check_iaas procedure fails on network.pod_subnet_connectivity/network.service_subnet_connectivity in the ipv6 environment.

Fixes # (issue)
MANOPD-77444

Solution

  1. The number of possible addresses in the ipv6 network exceeds the maximum allowed value for the list in python. Added a limit for the list of 1 million addresses.
  2. For the 'ip' command, the format of the entry "ip a add <ip>/<net_mask>" is not applicable for ipv6 addresses. Fixed to "ip a add <ip>/<prefixlength>".
  3. simple_tcp_listener.py script did not work for ipv6 addresses. Added an argument that allows to select the ip protocol version.

How to apply

none

Test Cases

Run check_iaas procedure against ipv4 and ipv6 clusters.
In both cases the result should contain
image

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Integration CI passed
  • Unit tests. If Yes list of new/changed tests with brief description
  • There is no merge conflicts

Unit tests

@akor0421 akor0421 added the bug Something isn't working label Aug 23, 2022
@alku89
Copy link
Collaborator

alku89 commented Aug 24, 2022

tested on qa env

@koryaga koryaga merged commit 91c1d2e into main Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants