Project

General

Profile

Bug #25412

Cannot update GPG Key on created product

Added by Samir Jha almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Content Credentials
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1643818

Description of problem:

Version-Release number of selected component (if applicable):
Satellite 6.5.0 snap1

How reproducible:
Always

Steps to Reproduce:
b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme product info --id="205" --organization-id="216"'
2018-10-28 14:54:55 - robottelo.ssh - INFO - <<< stdout
ID: 205
Name: KeHdLNfEVNCRbOCRLFnS
Label: RQotMzSOTcSJwEAkItvr
Description: TmeaMZmiJOaJlWeJNquW
Sync State:
Sync Plan ID:
GPG:
GPG Key ID:
GPG Key:
Organization: XqsWli
Content:

2018-10-28 14:54:56 - robottelo.ssh - INFO - >>> b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv repository create --content-type="yum" --name="gIVKTAQyVcwXmGr" --product-id="205" --publish-via-http="true" --url="http://inecas.fedorapeople.org/fakerepos/zoo3/"'
2018-10-28 14:55:02 - robottelo.ssh - INFO - <<< stdout
Message,Id,Name
Repository created.,124,gIVKTAQyVcwXmGr

2018-10-28 14:55:02 - robottelo.ssh - INFO - >>> b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id="124"'
2018-10-28 14:55:05 - robottelo.ssh - INFO - <<< stdout
ID: 124
Name: gIVKTAQyVcwXmGr
Label: gIVKTAQyVcwXmGr
Organization: XqsWli
Red Hat Repository: no
Content Type: yum
Mirror on Sync: yes
URL: http://inecas.fedorapeople.org/fakerepos/zoo3/
Publish Via HTTP: yes
Relative Path: XqsWli/Library/custom/RQotMzSOTcSJwEAkItvr/gIVKTAQyVcwXmGr
Download Policy: on_demand
Product:
ID: 205
Name: KeHdLNfEVNCRbOCRLFnS
GPG Key:

Sync:
Status: Not Synced
Created: 2018/10/28 18:54:59
Updated: 2018/10/28 18:55:01
Content Counts:
Packages: 0
Source RPMS: 0
Package Groups: 0
Errata: 0
Module Streams: 0

2018-10-28 14:55:06 - robottelo.ssh - INFO - >>> b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv gpg create --key="/tmp/caIrW4dap2" --name="rdWtNixDKl" --organization-id="216"'
2018-10-28 14:55:09 - robottelo.ssh - INFO - <<< stdout
Message,Id,Name
GPG Key created.,12,rdWtNixDKl

2018-10-28 14:55:10 - robottelo.ssh - INFO - >>> b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=json gpg info --id="12" --organization-id="216"'
2018-10-28 14:55:13 - robottelo.ssh - INFO - <<< stdout {
"ID": 12,
"Name": "rdWtNixDKl",
"Organization": "XqsWli",
"Repositories": {
},
"Content": "cGfk345tAgFT33S8fdjEHHN8f5Ct"
}

2018-10-28 14:55:13 - robottelo.ssh - INFO - >>> b'LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv product update --gpg-key="rdWtNixDKl" --id="205" --organization-id="216"'
2018-10-28 14:55:16 - robottelo.ssh - INFO - <<< stderr
Could not update the product:
Value (NilClass) '' is not any of: ForemanTasks::Concerns::ActionSubject.

Actual results:
Value (NilClass) '' is not any of: ForemanTasks::Concerns::ActionSubject.

Expected results:
GPG key should be associated

Additional info:

Associated revisions

Revision 5e75a9be (diff)
Added by Samir Jha almost 2 years ago

Fixes #25412 - GPG Keys/Certs on products

History

#1 Updated by Samir Jha almost 2 years ago

During investigation, ran into similar issues in using ssl certs with products.

#2 Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/Katello/katello/pull/7823 added

#3 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing

#4 Updated by Andrew Kofink almost 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.10.0

#5 Updated by Samir Jha almost 2 years ago

  • Triaged changed from Yes to No
  • Target version changed from Katello 3.10.0 to Katello 3.9.0

#6 Updated by Anonymous almost 2 years ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Christine Fouant almost 2 years ago

  • Triaged changed from No to Yes
  • Target version changed from Katello 3.9.0 to Katello 3.9.1
  • Fixed in Releases Katello 3.9.1 added

#8 Updated by Zach Huntington-Meath almost 2 years ago

  • Target version changed from Katello 3.9.1 to Katello 3.10.0
  • Fixed in Releases deleted (Katello 3.9.1)

Also available in: Atom PDF