Bug #25412
closedCannot update GPG Key on created product
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:
Updated by Samir Jha about 6 years ago
During investigation, ran into similar issues in using ssl certs with products.
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/Katello/katello/pull/7823 added
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
Updated by Andrew Kofink about 6 years ago
- Target version set to Katello 3.10.0
- Triaged changed from No to Yes
Updated by Samir Jha about 6 years ago
- Target version changed from Katello 3.10.0 to Katello 3.9.0
- Triaged changed from Yes to No
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5e75a9beba47ada5e7927c6cc57cd47c6aeb128c.
Updated by Christine Fouant about 6 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
Updated by Zach Huntington-Meath about 6 years ago
- Target version changed from Katello 3.9.1 to Katello 3.10.0
- Fixed in Releases deleted (
Katello 3.9.1)