Comment 3 for bug 1955164

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/823506
Committed: https://opendev.org/openstack/charm-nova-compute/commit/d23d25b3a0a705dc1357b33ef11577f05625aef9
Submitter: "Zuul (22348)"
Branch: master

commit d23d25b3a0a705dc1357b33ef11577f05625aef9
Author: Martin Kalcok <email address hidden>
Date: Wed Jan 5 13:46:10 2022 +0100

    Fix socket.fqdn() not returning full hostname

    This change aims to make resolving of the unit's
    FQDN more consistent. Python's standard
    `socket.getfqdn()` can "fail" in some conditions
    and return only hostname, without the domain
    part, even in cases when `hostname -f` would
    return correct fqdn.

    This new approach provides behavior consistent
    with executing `hostname -f`

    Closes-Bug: #1955164
    Change-Id: Icc39b32b3e471c1960402dfcba61bed5ce309a6f