MAX_ARGS is reached when calling relation-set
Bug #1437366 reported by
Chris Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Undecided
|
Björn Tillenius | ||
juju-core |
Fix Released
|
Critical
|
Eric Snow | ||
1.23 |
Fix Released
|
Critical
|
Eric Snow |
Bug Description
While configuring a charm via relation-set (specifically, passing errorfiles to the haproxy charm along with other key/value pairs), we hit the system's MAX_ARGS limit.
There is currently no way to pass an arbitrary quantity of data to relation-set.
A possible solution would include adding a flag pointing to a file where a prepared set of key/value pairs can be read from (realtion-set --file <path to key-value file>), but of course that is only a suggestion.
Related branches
lp://staging/~bjornt/charm-helpers/relation-set-file
- Chris Glass (community): Approve
-
Diff: 122 lines (+58/-10)2 files modifiedcharmhelpers/core/hookenv.py (+22/-6)
tests/core/test_hookenv.py (+36/-4)
tags: | added: charm relations |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-core: | |
assignee: | nobody → Eric Snow (ericsnowcurrently) |
milestone: | none → 1.24-alpha1 |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in charm-helpers: | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in charm-helpers: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Juju/agent version is 1.22.0.1