Comment 2 for bug 1974045

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/842373
Committed: https://opendev.org/starlingx/stx-puppet/commit/b903155a91e5e758d8215d1ac2e750d031cdaf19
Submitter: "Zuul (22348)"
Branch: master

commit b903155a91e5e758d8215d1ac2e750d031cdaf19
Author: Andy Ning <email address hidden>
Date: Wed May 18 10:29:16 2022 -0400

    Set Barbican api to listen on the right IP address

    Currently barbican-api will be listening on IPv4 address after
    bootstrap even for IPv6 labs. This will result in connection to
    barbican service internal endpoint refused, and unlock controller
    failed on IPv6 labs.

    This commit updated barbican puppet manifest so that
    gunicorn-config.py get updated to have the right bind IP address
    when started.

    Test Plan for Debian:
    PASS: package build, image build, installation on IPv6 lab
    PASS: after boostrap, observe barbican-api is listening on mgmt
          IPv6 address
    PASS: after boostrap, curl to barbicna-api internal endpoint is
          successful
    PASS: controller unlock successfully

    Closes-Bug: 1974045
    Signed-off-by: Andy Ning <email address hidden>
    Change-Id: I4743df52e50fde7ffc55f909e9c79b7b2fd2bbab