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

server_address set to IPv6 #123

Open
sudeephb opened this issue Jan 4, 2024 · 4 comments
Open

server_address set to IPv6 #123

sudeephb opened this issue Jan 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@sudeephb
Copy link
Contributor

sudeephb commented Jan 4, 2024

Hi,

When used on units with IPv6, the charm will configure the "server_address" option in nrpe.cfg with just the IPv6 present on the unit.

This is probably generally unwanted when there's a routable IPv4 on the unit, and in that case I guess the IPv4 should be used instead.

An option could also be provided to allow the operator to specify which IP to use.

Thanks


Imported from Launchpad using lp2gh.

  • date created: 2022-12-19T21:03:50Z

  • owner: axino

  • assignee: None

  • the launchpad url

@sudeephb
Copy link
Contributor Author

sudeephb commented Jan 4, 2024

(by axino)
Alternatively, one could use IPv4 addresses for "server_address" when all the "allowed_hosts" domains resolve to only IPv4 addresses.

@sudeephb
Copy link
Contributor Author

sudeephb commented Jan 4, 2024

(by eric-chen)
This charm is under maintenance mode. Only critical bug will be handled.

@sudeephb sudeephb closed this as completed Jan 4, 2024
@ben-ballot
Copy link

This is critical. this breaks all compatibility with the existing infrastructure as soon as you have an ipv6 address for the unit

@sudeephb sudeephb reopened this Feb 6, 2024
@aieri aieri added bug Something isn't working and removed Won_t Fix Wishlist labels Feb 7, 2024
@dashmage
Copy link
Contributor

dashmage commented May 3, 2024

I'm finding it difficult to reproduce this environment for testing. Is there a good way to setup an ipv6 + ipv4 network to test how the network-get hook is picking up an ipv6 address as well for the unit?
@ben-ballot

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

No branches or pull requests

4 participants