Skip to content

Conversation

@craigcomstock
Copy link
Contributor

@craigcomstock craigcomstock commented Nov 13, 2024

This was breaking on some systems in a way that doesn't benefit the test.

Instead of assuming that hostname -f is equal to sys.fqhost just use sys.fqhost in the first place.

Ticket: ENT-12437
Changelog: none
(cherry picked from commit 471dc0f)

@craigcomstock craigcomstock marked this pull request as draft November 13, 2024 16:32
@craigcomstock
Copy link
Contributor Author

Sadly, my change doesn't work. Even here in github I get

Q: "...r/bin/perl /hom": R: Unable to find my fully qualified hostname fv-az1534-168.5pdur5myp1iuthl4u4lgbmrhvg.dx.internal.cloudapp.net in /tmp/cfe_hostlist. Can't determine peers.

Will look more carefully at what is going on.

@craigcomstock craigcomstock changed the title Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) ABANDON? Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) Nov 14, 2024
…qhost

This was breaking on some systems in a way that doesn't benefit the test.

Instead of assuming that `hostname -f` is equal to `sys.fqhost` just use `sys.fqhost` in the first place.

Ticket: ENT-12437
Changelog: none
(cherry picked from commit 9c05580)
@craigcomstock craigcomstock changed the title ABANDON? Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) ENT-12437: Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) Nov 14, 2024
@craigcomstock craigcomstock marked this pull request as ready for review November 14, 2024 14:19
@craigcomstock craigcomstock changed the title ENT-12437: Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) Adjusted peer related examples in regards to hostname -f versus sys.fqhost (3.21) Nov 14, 2024
@craigcomstock
Copy link
Contributor Author

just missing windows msi package, not a big deal, will merge.

@craigcomstock craigcomstock merged commit b057e28 into cfengine:3.21.x Nov 14, 2024
10 of 11 checks passed
@craigcomstock craigcomstock deleted the ENT-12437/3.21 branch November 14, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant