Project

General

Profile

Actions

Bug #26547

closed

on big katello-agent update: PG::StringDataRightTruncation: ERROR: value too long for type character varying(255)

Added by Marek Hulán over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1694715

Description of problem:
On big katello-agent update task fails with "PG::StringDataRightTruncation: ERROR: value too long for type character varying(255)"

Version-Release number of selected component (if applicable):
satellite-6.5.0-10.el7sat.noarch (snap #22)

How reproducible:
always

Steps to Reproduce:
1. Install RHEL 7.4 host (now when 7.6 is out) and register to Satellite
2. Install katello-agent to the host
3. Hosts -> Content Hosts -> <host> -> Packages -> Applicable -> filter for "bind" -> select all -> Upgrade Selected

Actual results:
Tasks: Update package bind-libs-lite-9.9.4-50.el7_3.1.x86_64, bind-libs-lite-9.9.4-51.el7.x86_64, bind-libs-lite-9.9.4-51.el7_4.1.x86_64, bind-libs-lite-9.9.4-51.el7_4.2.x86_64, bind-libs-lite-9.9.4-61.el7.x86_64, bind-libs-lite-9.9.4-61.el7_5.1.x86_64, bind-libs-lite-9.9.4-72.el7.x86_64, bind-license-9.9.4-50.el7_3.1.noarch, bind-license-9.9.4-51.el7.noarch, bind-license-9.9.4-51.el7_4.1.noarch, bind-license-9.9.4-51.el7_4.2.noarch, bind-license-9.9.4-61.el7.noarch, bind-license-9.9.4-61.el7_5.1.noarch, bind-license-9.9.4-72.el7.noarch

Output:

32:bind-libs-lite-9.9.4-72.el7.x86_64
32:bind-license-9.9.4-72.el7.noarch

Errors:

PG::StringDataRightTruncation: ERROR: value too long for type character varying(255)
: INSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "username", "action", "audited_changes", "version", "comment", "request_uuid", "created_at", "auditable_name") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"

Expected results:
Task should pass

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/Katello/katello/pull/8067 added
Actions #2

Updated by Marek Hulán over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Chris Roberts over 5 years ago

  • Subject changed from on big katello-agent update: PG::StringDataRightTruncation: ERROR: value too long for type character varying(255) to on big katello-agent update: PG::StringDataRightTruncation: ERROR: value too long for type character varying(255)
  • Target version set to Katello 3.12.0
  • Triaged changed from No to Yes
  • Fixed in Releases Katello 3.12.0 added
Actions #4

Updated by Jonathon Turel over 5 years ago

  • Target version changed from Katello 3.12.0 to Katello 3.11.1
Actions

Also available in: Atom PDF