Bug #18122
closedActiveRecord::StatementInvalid on host registration
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1405085
Description of problem:
2016-12-13 10:13:13 - robottelo.ssh - DEBUG - >>> subscription-manager register --org QZRoQT --activationkey ijB6dZv1vA --force
2016-12-13 10:13:19 - robottelo.ssh - DEBUG - <<< stderr
ERROR: current transaction is aborted, commands ignored until end of transaction block
the complete stacktrace from production.log:
http://pastebin.test.redhat.com/439682
Also attaching foreman-debug output
Version-Release number of selected component (if applicable):
6.2.6 snap#2
Actual results:
PG::Error: ERROR: current transaction is aborted, commands ignored until end of transaction block
| : SELECT "fact_names".* FROM "fact_names" WHERE "fact_names"."type" IN ('Katello::RhsmFactName') AND "fact_names"."name" = 'dmi' ORDER BY fact_names.name LIMIT 1 (ActiveRecord::StatementInvalid)