Support proxy config for newer GPG

Bug #1850575 reported by Yang Youseok
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned

Bug Description

From newer gnu gpg (https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1625848), apt-key does not accept environment variable for security reason.

It blocks building image at 'apt-key add' step behind proxy environment.

I think it's better to add --keyserver-option http-proxy=URL when http_proxy variable is defined at Dockerfile.

Thanks.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692029

Changed in kolla:
assignee: nobody → Yang Youseok (ileixe)
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → Medium
Changed in kolla:
assignee: Yang Youseok (ileixe) → Marcin Juszkiewicz (hrw)
Mark Goddard (mgoddard)
no longer affects: kolla/ussuri
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

rewrote patch to fit current master

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/692029
Committed: https://opendev.org/openstack/kolla/commit/c0c2076c856975e83a624eb793b586f2a4354a7f
Submitter: "Zuul (22348)"
Branch: master

commit c0c2076c856975e83a624eb793b586f2a4354a7f
Author: Yang Youseok <email address hidden>
Date: Wed Oct 30 14:35:14 2019 +0900

    Add HTTP proxy support for fetching APT keys

    In network isolated environments the only way to go outside is through
    HTTP proxy. Make use of it if set.

    Co-authored-by: Marcin Juszkiewicz <email address hidden>

    Closes-Bug: #1850575
    Change-Id: I2718884c4742cb81a3900e38fee62fbd27b472d7

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 14.0.0.0rc1

This issue was fixed in the openstack/kolla 14.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.