null provider panics if storage-key-auth is missing

Bug #1235084 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

I went to test a change in the null provider today, and found that it is panicking in a clean environment. Something must have changed recently.

2013-10-04 06:28:30 INFO juju.environs.manual bootstrap.go:77 Saving bootstrap state file to bootstrap storage
panic: interface conversion: interface is nil, not string

goroutine 1 [syscall]:
syscall.Syscall()
 /home/andrew/prog/go/root/src/pkg/syscall/asm_linux_amd64.s:16 +0x5
syscall.read(0xffffffff, 0xc200000000, 0x7fa5791f4020, 0x43f0e3, 0xc2001cddd0, ...)
 /home/andrew/prog/go/root/src/pkg/syscall/zerrors_linux_amd64.go:2337 +0x70

goroutine 2 [syscall]:

Related branches

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Turns out it was because I had storage-auth-key commented out in my environments.yaml. Clearly this isn't an ideal way to report that, but it's not as dire as I thought.

summary: - null provider panics
+ null provider panics if storage-key-auth is missing
Andrew Wilkins (axwalk)
description: updated
Andrew Wilkins (axwalk)
Changed in juju-core:
status: New → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.15.1
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Undecided → High
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.