Project

General

Profile

Bug #3008

Partition table is truncated

Added by Grégoire Morpain almost 9 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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.


Related issues

Has duplicate Foreman - Feature #12119: Partition table has limit 4096Duplicate2015-10-09

Associated revisions

Revision 30f19e0c (diff)
Added by Tom Caspy over 7 years ago

fixes #3008 - allowing large ptables

History

#1 Updated by Dominic Cleal almost 9 years ago

  • Priority changed from High to Normal

#2 Updated by Grégoire Morpain over 8 years ago

I am still getting this error on Foreman 1.4

#3 Updated by Greg Sutcliffe over 8 years ago

Perhaps you could use snippets to get around the character limit?

#4 Updated by Frédéric SENE about 8 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...

#5 Updated by Wout van Heeswijk about 8 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.

#6 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2113 added

#7 Updated by Tom Caspy over 7 years ago

  • Assignee changed from Sam Kottler to Tom Caspy

#8 Updated by Tom Caspy over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#9 Updated by Dominic Cleal over 7 years ago

  • Category set to Database
  • Legacy Backlogs Release (now unused) set to 28

#10 Updated by Dominic Cleal almost 7 years ago

Also available in: Atom PDF