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

fix(failure using ipv6 in tests): fix controller addresses resolution #649

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SimoneDutto
Copy link

@SimoneDutto SimoneDutto commented Dec 16, 2024

Description

The previous shell command to extract the ipv6 removed all the '[' regardless.
image

The new command removes only the surrounding '[', preserving the [ for the ipv6.
image

Fixes: #582

The shell command was copied from the workflows.
https://github.com/SimoneDutto/terraform-provider-juju/blob/22b76d0d0f67fc22df41a424c0fc0539119320bd/.github/workflows/test_integration.yml#L150

Type of change

  • fix using ipv6 in tests

@SimoneDutto SimoneDutto force-pushed the failure-using-ipv6 branch 3 times, most recently from 6c1ed28 to 208a476 Compare December 17, 2024 08:54
Copy link
Member

@hmlanigan hmlanigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good start, the docs do need updating.

This change though has no impact on how the actual tests are run in the GitHub jobs. Update the workflow files as well as https://github.com/juju/terraform-provider-juju/wiki/Developing.

templates/index.md.tmpl Show resolved Hide resolved
… in makefile to enable ipv6

The previuos shell command to extract the ipv6 from the show-controller was removing the '[' from
the ipv6. The new command removed only the surrounding '[', making it possible to work with ipv6

fix juju#582
@SimoneDutto
Copy link
Author

A good start, the docs do need updating.

This change though has no impact on how the actual tests are run in the GitHub jobs. Update the workflow files as well as https://github.com/juju/terraform-provider-juju/wiki/Developing.

the github actions already have the right bash command for ipv6 compatibility. So i think this issue with ipv6 was local because people were using the wrong command from the docs/using the makefile.

Or do you have any recent examples of this issue in the ci?

@SimoneDutto
Copy link
Author

A good start, the docs do need updating.

This change though has no impact on how the actual tests are run in the GitHub jobs. Update the workflow files as well as https://github.com/juju/terraform-provider-juju/wiki/Developing.

updated the developer wiki as well.

Copy link
Member

@hmlanigan hmlanigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the updates.

Copy link
Member

@alesstimec alesstimec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

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

Successfully merging this pull request may close these issues.

failure using IPv6 controller address.
3 participants