Project

General

Profile

Actions

Bug #23531

closed

foreman_openscap fails to do bulk import

Added by Trey Dockendorf almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I am on Foreman 1.15.6 with foreman_openscap 0.7.13 and am unable to do the bulk import task "foreman-rake foreman_openscap:bulk_upload:default". I'm attaching the output from the command from this command:

foreman-rake foreman_openscap:bulk_upload:default >/tmp/foreman_openscap-bulk_upload-default.out 2>&1

Looks like some issue with MySQL connection, which is working just fine when accessed via web:

ActiveRecord::StatementInvalid: Mysql2::Error: MySQL client is not connected: ROLLBACK
Mysql2::Error: MySQL client is not connected

Maybe the insert is too large? Majority of output was one of the columns for "Red Hat rhel6 default content" being inserted into foreman_openscap_scap_contents


Files

Actions #1

Updated by Trey Dockendorf almost 6 years ago

  • Status changed from New to Closed

I managed to work around this by setting max_allowed_packet = 50M in MySQL.

Actions

Also available in: Atom PDF