You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Server is running API version 23
INFO: API version 23 is supported
INFO: Authentication successful
INFO: User has administrator access to this server
INFO: Loading errata XML
INFO: Loading Red Hat OVAL XML
INFO: Getting server inventory
INFO: Checking for unpublished errata
INFO: Scanning channel CentOS 6 - Updates
...
INFO: Channel Elasticsearch 5.x - EL7 (elasticsearch-5-el7) is NOT included
INFO: Errata for CEBA-2018:0748 already exists
INFO: Adding packages to CEBA-2018:0748: 300141,300138,300140,300139,1154638
INFO: Errata for CEBA-2019:2322 already exists
INFO: Adding packages to CEBA-2019:2322: 1155709
INFO: Errata for CEBA-2020:1578 already exists
INFO: Adding packages to CEBA-2020:1578: 1025947
INFO: Errata for CEBA-2020:1580 already exists
INFO: Adding packages to CEBA-2020:1580: 1024428,1024404,1024412,1024423,1024401,1024400,1024402,1024414,1024418,1024403,1024419,1024413,1024411,1024406,1024433,1024432,1024431,1024435,1024407,1024421,1024434,1024410,1024425,1024415,1024409,1024417,1024436,1024408,1024426,1024427,1024420,1024422,1024405,1024424,1024430,1024416,1024429
INFO: Creating errata for CEBA-2020:1583 (CentOS scap-security-guide Update) (2 of 2)
INFO: Adding issue date to CEBA-2020:1583
INFO: Publishing Errata for CEBA-2020:1583
Can't use an undefined value as an ARRAY reference at ./errata-import.pl line 687.
Can you please try again with --debug
Looking at the code I can't quite figure out how this could happen and I can't reproduce it on my test system.
Thanks!
Source of this issue was that the new find_package_by_name/find_packages_by_advisory subroutine did not handle --include-channels. It therefore returned packages which should not have been included in the search and the main loop (kind of rightfully) crashed.
To fix this, I have switched back to the previous subroutine which is tried and tested.
Activity
jweisner commentedon Oct 21, 2020
The script at commit 54987bc doesn't have this bug. The import task completed successfully with the same inputs.
stevemeier commentedon Oct 21, 2020
Can you please try again with
--debugLooking at the code I can't quite figure out how this could happen and I can't reproduce it on my test system.
Thanks!
jweisner commentedon Oct 22, 2020
Attached is the output of running the same command with
--debugTerminal Saved Output.txt
g-kaplan commentedon Oct 22, 2020
Can confirm I've also run into this on the new build, would you like additional --debug output from mine?
Undo some changes introduced in PR #30 to fix Issue #31
stevemeier commentedon Oct 23, 2020
@g-kaplan Thanks, I think I already spotted the problem.
@jweisner I just checked in a new version which should fix the issue. Please give it a try, thanks
jweisner commentedon Oct 23, 2020
Completed successfully!
stevemeier commentedon Oct 24, 2020
Source of this issue was that the new find_package_by_name/find_packages_by_advisory subroutine did not handle --include-channels. It therefore returned packages which should not have been included in the search and the main loop (kind of rightfully) crashed.
To fix this, I have switched back to the previous subroutine which is tried and tested.