Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1321140 - partition tables are limited to 4096 characters
partition tables are limited to 4096 characters
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Provisioning Templates (Show other bugs)
6.1.7
x86_64 Linux
urgent Severity urgent (vote)
: 6.1.10
: Unused
Assigned To: satellite6-bugs
jcallaha
http://projects.theforeman.org/issues...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-24 14:39 EDT by Fotios Tsiadimos
Modified: 2017-02-23 14:19 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-27 05:02:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 3008 None None None 2016-07-28 07:47 EDT
Red Hat Product Errata RHBA-2016:1938 normal SHIPPED_LIVE Satellite 6.1.10 bug fix update 2016-09-27 08:56:10 EDT

  None (edit)
Description Fotios Tsiadimos 2016-03-24 14:39:51 EDT
Description of problem:

Satellite 6.1

The patch removes the limit varchar(4096) which will be released in 6.2. Can we have also a patch for the version 6.1.


foreman=# \d ptables
                                     Table "public.ptables"
   Column   |            Type             |                      Modifiers                       
------------+-----------------------------+------------------------------------------------------
 id         | integer                     | not null default nextval('ptables_id_seq'::regclass)
 name       | character varying(255)      | not null
 layout     | character varying(4096)     | not null   <=== it has a MAX varchar() limit on the table
 created_at | timestamp without time zone | not null
 updated_at | timestamp without time zone | not null
 os_family  | character varying(255)      | 
Indexes:



Always, it is documented in the named foreman issues:
http://projects.theforeman.org/issues/12119
http://projects.theforeman.org/issues/3008

There is also a fix that has been committed for foreman 1.8:
https://github.com/theforeman/foreman/pull/2113/files
Comment 1 Bryan Kearney 2016-04-05 15:31:43 EDT
Satellite 6.2 will be based of off foreman 1.11, and will contain the above fixes. Moving this bug to 6.1.z for consideration.
Comment 2 Evgeni Golov 2016-07-22 06:04:28 EDT
This looks like a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1270181?
Comment 6 Tomas Strachota 2016-07-28 08:08:45 EDT
Created redmine issue http://projects.theforeman.org/issues/15879 from this bug
Comment 10 jcallaha 2016-09-21 10:24:12 EDT
Verified in Satellite 6.1.10. 

Created a new partition table whose layout was 5,976 characters long. No issues presented during creation/editing.
Comment 12 errata-xmlrpc 2016-09-27 05:02:34 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1938

Note You need to log in before you can comment on or make changes to this bug.