Project

General

Profile

Actions

Bug #25412

closed

Cannot update GPG Key on created product

Added by Samir Jha over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Content Credentials
Target version:
Difficulty:
Triaged:
Yes
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:

Actions #1

Updated by Samir Jha over 5 years ago

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

Actions #2

Updated by The Foreman Bot over 5 years ago

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

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
Actions #4

Updated by Andrew Kofink over 5 years ago

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

Updated by Samir Jha over 5 years ago

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

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Christine Fouant over 5 years ago

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

Updated by Zach Huntington-Meath over 5 years ago

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

Also available in: Atom PDF