Project

General

Profile

Actions

Enhancement #6427

open

When using classes parameters of more than 1024 char the class is not defined

Added by Nicolas CHARLES almost 10 years ago. Updated about 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
UX impact:
Suggestion strength:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Name check:
Fix check:
Regression:

Description

If we have a particularly large parameter to the generic method, with more than 1024 characters, the agent segfault at the time of the resulting class definition ( see https://dev.cfengine.com/issues/7013 )

This can be a real issue, and we ought to have a way to circumvent this point (like reporting on the hash of the class parameter ?)


Related issues 2 (0 open2 closed)

Related to Rudder - User story #6422: Create method for installing multiple packages at once (with versions)RejectedActions
Related to Rudder - User story #8324: Backport fix for >1K long classes in the agentReleasedJonathan CLARKE2016-05-18Actions
Actions #1

Updated by François ARMAND almost 10 years ago

Two typical use case for that:

- long file name (long path):
- enforce a file content with a long value.

One more case for the future: is we want to have the possibility to give a list of packages in a generic method, we will most likelly have input longer than 1024 chars (see #6422 )

Actions #2

Updated by Alexis Mousset over 8 years ago

  • Subject changed from When using classes parameters of more than 1024 char, the agent segfault to When using classes parameters of more than 1024 char the class is not defined (or the agent segfaults)

The segfault has been fixed in all supported versions of Rudder and CFEngine.

Actions #3

Updated by Alexis Mousset over 8 years ago

  • Related to User story #8324: Backport fix for >1K long classes in the agent added
Actions #4

Updated by Alexis Mousset over 8 years ago

  • Category set to Generic methods
Actions #5

Updated by Alexis Mousset over 8 years ago

We should add a warn into the web interface, and if possible a warn message in the policies

Actions #6

Updated by Alexis Mousset almost 8 years ago

  • Subject changed from When using classes parameters of more than 1024 char the class is not defined (or the agent segfaults) to When using classes parameters of more than 1024 char the class is not defined
Actions #7

Updated by Jonathan CLARKE over 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority set to 30
Actions #8

Updated by Alexis Mousset over 7 years ago

  • Effort required set to Medium
  • Priority changed from 30 to 29
Actions #9

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 0.x to 3.1.25
Actions #10

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #11

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #12

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #13

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #14

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
  • Priority changed from 29 to 30
Actions #15

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #16

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #17

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
  • Priority changed from 30 to 31
Actions #18

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #19

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 31 to 0
Actions #20

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #21

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #22

Updated by François ARMAND almost 6 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #23

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.21 to 4.1.22
Actions #24

Updated by Benoît PECCATTE over 5 years ago

  • Target version changed from 4.1.22 to 5.0.10
Actions #25

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
Actions #26

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #27

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.12 to 5.0.13
Actions #28

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #29

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #30

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #31

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #32

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #33

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #34

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #35

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #36

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
Actions #37

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #38

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #39

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #40

Updated by Benoît PECCATTE about 3 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions #41

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #42

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #43

Updated by François ARMAND almost 3 years ago

And document the limit in user manual.

Actions #44

Updated by François ARMAND almost 3 years ago

  • Tracker changed from Bug to Enhancement
  • Severity deleted (Major - prevents use of part of Rudder | no simple workaround)
  • Priority deleted (0)
Actions #45

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #46

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #47

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #48

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from old 6.1 issues to relocate to 7.2.5
Actions #49

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #50

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #51

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #52

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #53

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #54

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #55

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #56

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: Atom PDF