Bug #3008
closedPartition table is truncated
Description
I'm currently building a relatively long disklayout and I found out that when I paste (or import template from Community Templates plugin), the disklayout is truncated.
When I go see my new host provision file, it is truncated in the middle of disklayout file and the end of the provision file is not there, the file just stops in the middle of disklayout.
The workaround I found is to put the disklayout directly in the Edit host field.
I'm using foreman 1.2.1 on Debian 7.
Thank you for your support; let me know if you need anything more.
Updated by Grégoire Morpain almost 11 years ago
I am still getting this error on Foreman 1.4
Updated by Greg Sutcliffe almost 11 years ago
Perhaps you could use snippets to get around the character limit?
Updated by Frédéric SENE over 10 years ago
i've change the size of the "layout" column in pgsql, so now, it work with long ptables.
not sure if it's the best way, but now it's working...
Updated by Wout van Heeswijk over 10 years ago
I had the same issue with an mysql backend.
The mysql column is defined as varchar(2048). My partition layout was being truncated without warning.
I edited my layout so it used up less space and fixed it like that.
The field in foreman should at least check for the same amount of max characters and throw an error if it has to many character.
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2113 added
Updated by Tom Caspy almost 10 years ago
- Assignee changed from Sam Kottler to Tom Caspy
Updated by Tom Caspy almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 30f19e0c3f072da4429cc926c272b8fbbd2d12d1.
Updated by Dominic Cleal almost 10 years ago
- Category set to Database
- Translation missing: en.field_release set to 28
Updated by Dominic Cleal about 9 years ago
- Has duplicate Feature #12119: Partition table has limit 4096 added