Skip to content

Conversation

@sebastianrakel
Copy link
Contributor

@sebastianrakel sebastianrakel commented Dec 28, 2025

I also removed the host/dns check for openvoxserver. i don't think it's needed because the curl command will implicit do the same

this will fix #60

bastelfreak
bastelfreak previously approved these changes Dec 28, 2025
@bastelfreak bastelfreak added the enhancement New feature or request label Dec 28, 2025
Copy link

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Perhaps also drop the wait_for_host_name_resolution and wait_for_host_port functions? Then you can drop dnsutils and netcat-openbsd because they're unused.

@sebastianrakel
Copy link
Contributor Author

Perhaps also drop the wait_for_host_name_resolution and wait_for_host_port functions? Then you can drop dnsutils and netcat-openbsd because they're unused.

done

@bastelfreak bastelfreak merged commit 2b26b08 into OpenVoxProject:main Dec 28, 2025
11 checks passed
# wait for postgres DNS
wait_for_host_name_resolution $OPENVOXDB_POSTGRES_HOSTNAME $OPENVOXDB_WAITFORHOST_SECONDS
# wait for postgres is ready
/wtfc.sh --timeout="${OPENVOXDB_WAITFORHOST_SECONDS}" --interval=1 --progress "pg_isready -h ${OPENVOXDB_POSTGRES_HOSTNAME} --port '${OPENVOXDB_POSTGRES_PORT:-5432}'"
Copy link

Choose a reason for hiding this comment

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

Should this be using OPENVOXDB_WAITFORPOSTGRES_SECONDS and then drop OPENVOXDB_WAITFORHOST_SECONDS?

# wait for postgres is ready
/wtfc.sh --timeout="${OPENVOXDB_WAITFORHOST_SECONDS}" --interval=1 --progress "pg_isready -h ${OPENVOXDB_POSTGRES_HOSTNAME} --port '${OPENVOXDB_POSTGRES_PORT:-5432}'"

# wait for puppetserver DNS, then healthcheck
Copy link

Choose a reason for hiding this comment

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

This is now outdated

org.label-schema.vcs-ref="$vcs_ref" \
org.label-schema.build-date="$build_date"

# Use netcat-openbsd to support IPv6 connectivity checks (netcat-traditional is IPv4 only)
Copy link

Choose a reason for hiding this comment

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

And this is now redundant as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: 10-wait-for-hosts fails on podman with ipv4 and ipv6 IP numbers

3 participants