Bug 1663952

Summary: Add options to allow specifying RHEL subscription certificates
Product: Red Hat Enterprise Linux 8 Reporter: Lars Karlitski <lueberni>
Component: pykickstartAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: jstodola, sbueno, stefw, tbowling, toneata
Target Milestone: rcKeywords: ZStream
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pykickstart-3.16.3-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1691970 1693802 (view as bug list) Environment:
Last Closed: 2019-11-05 21:10:27 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1663950, 1691969, 1691970, 1693801, 1693802, 1700898, 1701002    

Description Lars Karlitski 2019-01-07 11:27:27 UTC
Composer is unusable from RHEL systems, because Anaconda cannot access content from the CDN (see bug #1663950).

It could if composer could pass subscription certificates through. I've proposed a pull request upstream to do just that:

    https://github.com/dcantrell/pykickstart/pull/250

Comment 8 David Cantrell 2019-04-02 17:13:41 UTC
$ rhpkg push
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 4.53 KiB | 2.26 MiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: *** Checking commit a968ae58f9be9176bc9dff15fdc4c43355d3fbef
remote: *** Resolves:
remote: ***   Unapproved:
remote: ***     rhbz#1693952
remote: *** No approved issue IDs referenced in log message or changelog for a968ae58f9be9176bc9dff15fdc4c43355d3fbef
remote: *** Unapproved issue IDs referenced in log message or changelog for a968ae58f9be9176bc9dff15fdc4c43355d3fbef
remote: *** Commit a968ae58f9be9176bc9dff15fdc4c43355d3fbef denied
remote: *** Current checkin policy requires:
remote:     (((release == + and zstream == + and zstream_target_release == 8.0.0) or ((jiraProject == RHELPLAN) and ((jiraField(release) == +) or (jiraField(BZ release) == +)) and ((jiraField(zstream) == +) or (jiraField(BZ zstream) == +)) and (jiraField(ZStream Target Release) == 8.0.0))) or ((release == + and (blocker == + or exception == +) and (internal_target_release == 8.0.0 or internal_target_release == 8.0.0.0)) or ((jiraProject == RHELPLAN) and ((jiraField(release) == +) or (jiraField(BZ release) == +)) and (((jiraField(blocker) == +) or (jiraField(BZ blocker) == +)) or ((jiraField(exception) == +) or (jiraField(BZ exception) == +))) and (jiraField(fixVersions) in (8.0.0, 8.0.0.0)))))
remote: *** See https://mojo.redhat.com/docs/DOC-1020853 for more information
remote: hooklet hooks/update.secondary.d/01-gitbzverify.py failed
remote: hooks/update.secondary died
remote: error: hook declined to update refs/heads/rhel-8.0.0
To ssh://pkgs.devel.redhat.com/rpms/pykickstart
 ! [remote rejected] rhel-8.0.0 -> rhel-8.0.0 (hook declined)
error: failed to push some refs to 'ssh://dcantrel.redhat.com/rpms/pykickstart'
Could not execute push: Failed to execute command.

What needs to happen for me to push this change and build it?

Comment 9 David Cantrell 2019-04-02 18:08:00 UTC
OK, and trying to push this to rhel-8.1.0 branch causes this:

$ rhpkg push
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 4.49 KiB | 2.25 MiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: *** Checking commit 017e62ce76c9db6285581596802cbc10c9c3066a
remote: *** Resolves:
remote: ***   Unapproved:
remote: ***     rhbz#1693952
remote: *** No approved issue IDs referenced in log message or changelog for 017e62ce76c9db6285581596802cbc10c9c3066a
remote: *** Unapproved issue IDs referenced in log message or changelog for 017e62ce76c9db6285581596802cbc10c9c3066a
remote: *** Commit 017e62ce76c9db6285581596802cbc10c9c3066a denied
remote: *** Current checkin policy requires:
remote:     ((release == + and (internal_target_release == 8.1.0 or internal_target_release == 8.1.0.0)) or ((jiraProject == RHELPLAN) and ((jiraField(release) == +) or (jiraField(BZ release) == +)) and (jiraField(fixVersions) in (8.1.0, 8.1.0.0))))
remote: *** See https://mojo.redhat.com/docs/DOC-1020853 for more information
remote: hooklet hooks/update.secondary.d/01-gitbzverify.py failed
remote: hooks/update.secondary died
remote: error: hook declined to update refs/heads/rhel-8.1.0
To ssh://pkgs.devel.redhat.com/rpms/pykickstart
 ! [remote rejected] rhel-8.1.0 -> rhel-8.1.0 (hook declined)
error: failed to push some refs to 'ssh://dcantrel.redhat.com/rpms/pykickstart'
Could not execute push: Failed to execute command.

Comment 10 David Cantrell 2019-04-02 18:42:00 UTC
I apparently fat fingered the commit message.  This is bug ONE SIX SIX THREE NINE FIVE TWO, not ONE SIX NINE THREE NINE FIVE TWO.  Fun!  Fixed and pushed, build is happening.

Comment 12 Jan Stodola 2019-08-26 08:47:16 UTC
Moving to VERIFIED based on https://bugzilla.redhat.com/show_bug.cgi?id=1663950#c7

Comment 14 errata-xmlrpc 2019-11-05 21:10:27 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, 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-2019:3432