Shouldn't log the relation data

Bug #1249016 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Juju Charms Collection)
Fix Released
Undecided
Andreas Hasenack

Bug Description

2013-11-07 16:39:39 DEBUG worker.uniter.jujuc server.go:109 hook context id "apache2/0:reverseproxy-relation-changed:3728737111424666614"; dir "/var/lib/juju/agents/unit-apache2-0/charm"
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK Traceback (most recent call last):
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-apache2-0/charm/hooks/reverseproxy-relation-changed", line 591, in <module>
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK main(hook_name)
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-apache2-0/charm/hooks/reverseproxy-relation-changed", line 560, in main
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK config_changed()
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-apache2-0/charm/hooks/reverseproxy-relation-changed", line 398, in config_changed
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK log("Writing file: %s with data: %s" % (vhost_file, template_data))
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-apache2-0/charm/hooks/charmhelpers/core/hookenv.py", line 65, in log
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK subprocess.call(command)
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/python2.7/subprocess.py", line 493, in call
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK return Popen(*popenargs, **kwargs).wait()
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK errread, errwrite)
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK raise child_exception
2013-11-07 16:39:39 INFO juju.worker.uniter context.go:255 HOOK OSError: [Errno 7] Argument list too long
2013-11-07 16:39:39 ERROR juju.worker.uniter uniter.go:350 hook failed: exit status 1

line 398 is:
            log("Writing file: %s with data: %s" % (vhost_file, template_data))

Tags: landscape

Related branches

Changed in apache2 (Juju Charms Collection):
status: New → In Progress
assignee: nobody → Andreas Hasenack (ahasenack)
Changed in apache2 (Juju Charms Collection):
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
tags: added: landscape
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.