Bug 2072683 - Drop requirement on golang/x/crypto [16.2]
Summary: Drop requirement on golang/x/crypto [16.2]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Lon Hohberger
QA Contact:
URL:
Whiteboard:
Depends On: 2072119
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-06 18:37 UTC by Lon Hohberger
Modified: 2022-06-22 16:07 UTC (History)
4 users (show)

Fixed In Version: golang-github-vbatts-tar-split-0.11.1-7.el8ost golang-github-Sirupsen-logrus-1.1.1-6.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2072119
Environment:
Last Closed: 2022-06-22 16:06:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-14540 0 None None None 2022-04-06 19:33:00 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:07:00 UTC

Description Lon Hohberger 2022-04-06 18:37:55 UTC
+++ This bug was initially created as a clone of Bug #2072119 +++

Description of problem:

Golang is static binaries, and cryptography has been a source of problems.

We ship a binary package called "tar-split", needed by openstack-tripleo-common. This requires logrus (which is a structured logging facility). Unfortunately, logrus imports golang/x/crypto in order to determine whether or not something is a terminal.

Rather than do that, let's use a syscall directly, so we do not end up with the maintenance burden of golang/x/crypto.

golang-googlecode-go-crypto
    golang-github-Sirupsen-logrus | # let me see if I can patch it out here
        golang-github-vbatts-tar-split
            openstack-tripleo-common


Version-Release number of selected component (if applicable): golang-github-Sirupsen-logrus-1.1.1-5.el9ost

--- Additional comment from Lon Hohberger on 2022-04-05 16:12:28 UTC ---

I've been able to patch out golang/x/crypto and unit tests all pass for Sirupsen-logrus.

Comment 1 Lon Hohberger 2022-04-06 18:40:56 UTC
affected buildtime requirement: golang-github-Sirupsen-logrus
runtime requirement:            golang-github-vbatts-tar-split

Comment 10 errata-xmlrpc 2022-06-22 16:06:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4793


Note You need to log in before you can comment on or make changes to this bug.