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

sambacc: fix constructing interface list for ctdb public_addresses #134

Merged

Conversation

phlogistonjohn
Copy link
Collaborator

The samba wiki and documentation clearly state that the list of interfaces should be comma separated but I incorrectly joined them with spaces. Fix this and one other small suboptimal line in the same function.

The samba wiki and documentation clearly state that the list of
interfaces should be comma separated but I incorrectly joined them with
spaces. Fix this and one other small suboptimal line in the same
function.

Signed-off-by: John Mulligan <[email protected]>
Copy link
Collaborator

@anoopcs9 anoopcs9 left a comment

Choose a reason for hiding this comment

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

The samba wiki and documentation clearly state that the list of interfaces should be comma separated but I incorrectly joined them with spaces. Fix this and one other small suboptimal line in the same function.

As a follow up to my previous #133 (comment), I wasn't aware of such a configuration with multiple interfaces until I thoroughly looked into man ctdb(7)(following @phlogistonjohn 's suggestion) to find just one example and that too under a specially catered "POLICY ROUTING" section. Judging from the details this is most likely an advanced network configuration which might have to be clubbed with some additional event scripts. But for now let's keep this option to specify multiple comma(,) separated interfaces for each network address.

Anyway it is a good find.

Copy link
Contributor

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit 540fcf0 into samba-in-kubernetes:master Aug 28, 2024
9 checks passed
@phlogistonjohn phlogistonjohn deleted the jjm-fix-public-addrs branch August 28, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants