Bug #34241
closed
undefined method `katello_gpg_key_id' for #<SccAccount:0x00007fe7a34f3020>
Added by Sergey Getovski over 3 years ago.
Updated over 3 years ago.
Description
Hello Team,
I have done a fresh install a couple of months ago and then I faced an issue with foreman_scc_manager.
When I click on the button "Add SCC account" the fallowing errors appears:
Oops, we're sorry but something went wrong undefined method `katello_gpg_key_id' for #<SccAccount:0x00007fe7a590f0a8>
ALso i have applied the newest fix v1.8.16 for the foreman_scc_manager.
I have performed foreman-rake db:migrate and foreman-maintain service restart but unfortunately the error still persists.
As an attachement you can find the output from foreman-rake errors:fetch_log request_id=dd24da67.
Can you advice me how I could solve this issue?
Files
- Category set to Web Interface
- Difficulty set to medium
- Found in Releases 3.0.0 added
I have installed the SCC manager plugin for Hammer CLI.
Then I have managed to add an SCC account using hammer:
hammer scc_manager scc_accounts create --base-url https://scc.suse.com --name SUSE_Repo --login (Organization Credentials) --password --location
Now I am able to see the created account:
hammer scc_manager scc_accounts list --location
-------------------------|---------------------|----------------------------|------------------ --|-------------------|--------------
SCC ACCOUNT NAME SCC ACCOUNT ID ORGANIZATION NAME BASE URL SYNC INTERVAL SYNC DATE
SUSE_Repo 1 https://scc.suse.com never 2022-01-114:37:05UTC
------------------------- --------------------- ------------------------------ ----------------- - ------------------- ------------------------
Unfortunately I am not able to manage them from the web interface. When I click on some button - Add SCC Account or even on the already created SUSE_Repo the error still appears:
Oops, we're sorry but something went wrong undefined method `katello_gpg_key_id' for #SccAccount:0x00007fa7116c9d40
- Project changed from Foreman to Katello
- Category deleted (
Web Interface)
- Found in Releases deleted (
3.0.0)
- Status changed from New to Closed
- Triaged changed from No to Yes
Hi Sergey,
We've updated most of our gpg key logic in katello, this issue should likely be brought up in the scc-manager plugin repo here: https://github.com/ATIX-AG/foreman_scc_manager.
I suspect that the scc-manager plugin requires an update to their API call.
If they can confirm a that a specific api is still producing these kinds of errors, do please come back here and we'll be happy to address the issue.
Cheers
Also available in: Atom
PDF