Now with a stack trace ! This is happening frequently (multiple times per minute) on our controller.
Thanks !
2017-11-16 06:59:22 DEBUG juju.worker.dependency engine.go:504 "firewaller" manifold worker stopped: panic resulted in: runtime error: invalid memory address or nil pointer dereference
2017-11-16 06:59:22 ERROR juju.worker.dependency engine.go:551 "firewaller" manifold worker returned unexpected error: panic resulted in: runtime error: invalid memory address or nil pointer dereference
2017-11-16 06:59:22 DEBUG juju.worker.dependency engine.go:553 stack trace:
panic resulted in: runtime error: invalid memory address or nil pointer dereference
stacktrace:
goroutine 8103268 [running]:
runtime/debug.Stack(0x26fb101, 0x15, 0xc47024d360)
/var/lib/jenkins/crossbuild/golang-1.8/src/runtime/debug/stack.go:24 +0x79
github.com/juju/juju/worker/catacomb.runSafely.func1(0xc47024df90)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/catacomb/catacomb.go:286 +0xd1
panic(0x22285c0, 0x3b3beb0)
/var/lib/jenkins/crossbuild/golang-1.8/src/runtime/panic.go:489 +0x2cf
github.com/juju/juju/provider/openstack.secGroupMatchesIngressRule(0x0, 0x0, 0xc461dfd530, 0xc443cf2540, 0x24, 0xc461dfd510, 0xf, 0x0, 0x0, 0xc461dfd540, ...)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:853 +0x34
github.com/juju/juju/provider/openstack.(*neutronFirewaller).closePortsInGroup(0xc424ae18a0, 0xc4735c06c0, 0x2f, 0xc438cea900, 0x1, 0x1, 0x211d800, 0xc440c77100)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:887 +0x24e
github.com/juju/juju/provider/openstack.(*neutronFirewaller).(github.com/juju/juju/provider/openstack.closePortsInGroup)-fm(0xc4735c06c0, 0x2f, 0xc438cea900, 0x1, 0x1, 0xc47024d8a8, 0x42c6bf)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:750 +0x5c
github.com/juju/juju/provider/openstack.(*firewallerBase).closeInstancePorts(0xc424ae18a0, 0xc47024d930, 0xc4737b3b65, 0x1, 0xc438cea900, 0x1, 0x1, 0xc4203a5e30, 0x390d344)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:379 +0xa4
github.com/juju/juju/provider/openstack.(*neutronFirewaller).CloseInstancePorts(0xc424ae18a0, 0x3b78880, 0xc46fbb1590, 0xc4737b3b65, 0x1, 0xc438cea900, 0x1, 0x1, 0x27430a3, 0x26)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:787 +0x219
github.com/juju/juju/provider/openstack.(*switchingFirewaller).CloseInstancePorts(0xc4425c6ee0, 0x3b78880, 0xc46fbb1590, 0xc4737b3b65, 0x1, 0xc438cea900, 0x1, 0x1, 0x2, 0x2)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/firewaller.go:198 +0xd9
github.com/juju/juju/provider/openstack.(*openstackInstance).ClosePorts(0xc46fbb1590, 0xc4737b3b65, 0x1, 0xc438cea900, 0x1, 0x1, 0x0, 0x0)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/provider/openstack/provider.go:459 +0x8a
github.com/juju/juju/worker/firewaller.(*Firewaller).reconcileInstances(0xc43a245b00, 0xc4737b3b69, 0x1)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/firewaller/firewaller.go:544 +0x583
github.com/juju/juju/worker/firewaller.(*Firewaller).loop(0xc43a245b00, 0xc450d1f760, 0xc48701bac0)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/firewaller/firewaller.go:248 +0x3c2
github.com/juju/juju/worker/firewaller.(*Firewaller).(github.com/juju/juju/worker/firewaller.loop)-fm(0xc400000008, 0x279f1e0)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/firewaller/firewaller.go:167 +0x2a
github.com/juju/juju/worker/catacomb.runSafely(0xc473722d00, 0x3b55a60, 0xc475787540)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/catacomb/catacomb.go:289 +0x6c
github.com/juju/juju/worker/catacomb.Invoke.func3(0xc43a245b00, 0xc43a245b00, 0xc473722d00, 0x0, 0x0, 0x0)
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/catacomb/catacomb.go:116 +0x81
created by github.com/juju/juju/worker/catacomb.Invoke
/tmp/tmpwONtpt/juju-core_2.2.6/src/github.com/juju/juju/worker/catacomb/catacomb.go:117 +0x23a
https:/ /github. com/juju/ juju/pull/ 8095