Fatal out of memory error when bootstrapping on Azure

Bug #1329425 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

When trying to bootstrap to Azure I get this. I can bootstrap on Amazon just fine so I don't think I'm really out of memory. I can confirm that I can launch VMs in Azure manually with my creds as well.

jorge@jilldactyl:~$ juju bootstrap
fatal error: runtime: out of memory

goroutine 1 [running]:
runtime.throw(0x18b94d7)
 /usr/lib/go/src/pkg/runtime/panic.c:464 +0x69 fp=0x7f8f8d7f5ae0
runtime.SysMap(0xc451100000, 0xe9670000, 0x18cd698)
 /usr/lib/go/src/pkg/runtime/mem_linux.c:131 +0xfe fp=0x7f8f8d7f5b10
runtime.MHeap_SysAlloc(0x18d75e0, 0xe9670000)
 /usr/lib/go/src/pkg/runtime/malloc.goc:473 +0x10a fp=0x7f8f8d7f5b50
MHeap_Grow(0x18d75e0, 0xe9670)
 /usr/lib/go/src/pkg/runtime/mheap.c:241 +0x5d fp=0x7f8f8d7f5b90
MHeap_AllocLocked(0x18d75e0, 0xe9666, 0x0)
 /usr/lib/go/src/pkg/runtime/mheap.c:126 +0x305 fp=0x7f8f8d7f5bd0
runtime.MHeap_Alloc(0x18d75e0, 0xe9666, 0x100000000, 0x1)
 /usr/lib/go/src/pkg/runtime/mheap.c:95 +0x7b fp=0x7f8f8d7f5bf8
runtime.mallocgc(0xe9665812, 0xabf121, 0x1)
 /usr/lib/go/src/pkg/runtime/malloc.goc:89 +0x484 fp=0x7f8f8d7f5c68
cnew(0xabf120, 0xe9665812, 0x1)
 /usr/lib/go/src/pkg/runtime/malloc.goc:718 +0xc1 fp=0x7f8f8d7f5c88
runtime.cnewarray(0xabf120, 0xe9665812)
 /usr/lib/go/src/pkg/runtime/malloc.goc:731 +0x3a fp=0x7f8f8d7f5ca8
makeslice1(0xa9a000, 0xbab84640, 0xe9665812, 0x7f8f8d7f5d60)
 /usr/lib/go/src/pkg/runtime/slice.c:57 +0x4d fp=0x7f8f8d7f5cc0
growslice1(0xa9a000, 0xc210183000, 0xbab84640, 0xbab84675, 0xbab846bb, ...)
 /usr/lib/go/src/pkg/runtime/slice.c:113 +0x58 fp=0x7f8f8d7f5cf0
runtime.growslice(0xa9a000, 0xc210183000, 0xbab84640, 0xbab84675, 0x46, ...)
 /usr/lib/go/src/pkg/runtime/slice.c:80 +0x9d fp=0x7f8f8d7f5d38
launchpad.net/goyaml.yaml_string_write_handler(0xc210061580, 0xc2100e7300, 0x7b, 0x80, 0x0, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/apic.go:101 +0x7a fp=0x7f8f8d7f5db0
launchpad.net/goyaml.yaml_emitter_flush(0xc210061580, 0x5fb001)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/writerc.go:23 +0xe4 fp=0x7f8f8d7f5e50
launchpad.net/goyaml.put(0xc210061580, 0x35c, 0x3cd)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:17 +0x38 fp=0x7f8f8d7f5e68
launchpad.net/goyaml.yaml_emitter_write_double_quoted_scalar(0xc210061580, 0xc21011f400, 0x3cd, 0x3cd, 0x5fb501, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:1457 +0x205 fp=0x7f8f8d7f5ed8
launchpad.net/goyaml.yaml_emitter_process_scalar(0xc210061580, 0xc210180001)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:900 +0x145 fp=0x7f8f8d7f5f10
launchpad.net/goyaml.yaml_emitter_emit_scalar(0xc210061580, 0xc210182310, 0xc210061580)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:696 +0xc7 fp=0x7f8f8d7f5f60
launchpad.net/goyaml.yaml_emitter_emit_node(0xc210061580, 0xc210182310, 0x10000, 0x1)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:660 +0x98 fp=0x7f8f8d7f5f80
----- stack segment boundary -----
launchpad.net/goyaml.yaml_emitter_emit_block_mapping_value(0xc210061580, 0xc210182310, 0x301, 0x1)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:644 +0x19d fp=0x7f8f8d7dc110
launchpad.net/goyaml.yaml_emitter_state_machine(0xc210061580, 0xc210182310, 0x1)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:260 +0x318 fp=0x7f8f8d7dc140
launchpad.net/goyaml.yaml_emitter_emit(0xc210061580, 0xc210061758, 0x3cd)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/emitterc.go:120 +0x1af fp=0x7f8f8d7dc308
launchpad.net/goyaml.(*encoder).emit(0xc210061580)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:41 +0x44 fp=0x7f8f8d7dc328
launchpad.net/goyaml.(*encoder).emitScalar(0xc210061580, 0xc21013d000, 0x3cd, 0xd52e70, 0x0, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:220 +0x221 fp=0x7f8f8d7dc468
launchpad.net/goyaml.(*encoder).stringv(0xc210061580, 0xd52e70, 0x0, 0xabed60, 0xc21011c440, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:173 +0x110 fp=0x7f8f8d7dc4c0
launchpad.net/goyaml.(*encoder).marshal(0xc210061580, 0xd52e70, 0x0, 0xabed60, 0xc21011c440, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:86 +0x4c4 fp=0x7f8f8d7dc500
launchpad.net/goyaml.(*encoder).marshal(0xc210061580, 0xd52e70, 0x0, 0xab2d00, 0xc21011cc10, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:71 +0x399 fp=0x7f8f8d7dc540
launchpad.net/goyaml.func·002()
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:106 +0x1b7 fp=0x7f8f8d7dc5e8
launchpad.net/goyaml.(*encoder).mappingv(0xc210061580, 0xd52e70, 0x0, 0x7f8f8d7dc7a8)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:143 +0x16d fp=0x7f8f8d7dc788
launchpad.net/goyaml.(*encoder).mapv(0xc210061580, 0xd52e70, 0x0, 0xab8a60, 0xc2100534c0, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:108 +0x7d fp=0x7f8f8d7dc7c8
launchpad.net/goyaml.(*encoder).marshal(0xc210061580, 0xd52e70, 0x0, 0xab8a60, 0xc2100534c0, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:74 +0x3d0 fp=0x7f8f8d7dc808
launchpad.net/goyaml.func·003()
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:129 +0x224 fp=0x7f8f8d7dc908
launchpad.net/goyaml.(*encoder).mappingv(0xc210061580, 0xd52e70, 0x0, 0x7f8f8d7dcad8)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:143 +0x16d fp=0x7f8f8d7dcaa8
launchpad.net/goyaml.(*encoder).structv(0xc210061580, 0xd52e70, 0x0, 0xcdb7e0, 0xc210053460, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:131 +0xfc fp=0x7f8f8d7dcb00
launchpad.net/goyaml.(*encoder).marshal(0xc210061580, 0xd52e70, 0x0, 0xcdb7e0, 0xc210053460, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:82 +0x4f5 fp=0x7f8f8d7dcb40
launchpad.net/goyaml.(*encoder).marshal(0xc210061580, 0xd52e70, 0x0, 0xcf9b80, 0xc210053460, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/encode.go:79 +0x46a fp=0x7f8f8d7dcb80
launchpad.net/goyaml.Marshal(0xcf9b80, 0xc210053460, 0x0, 0x0, 0x0, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/goyaml/goyaml.go:136 +0xec fp=0x7f8f8d7dcbc0
launchpad.net/juju-core/environs/configstore.(*environInfo).Write(0xc210053460, 0xc21011ac90, 0xc2100d0500)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/environs/configstore/disk.go:169 +0x34 fp=0x7f8f8d7dcc40
launchpad.net/juju-core/environs.Prepare(0xc2100d0500, 0x7f8f8d974e10, 0xc2100b6690, 0x7f8f8d974db8, 0xc210128480, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/environs/open.go:205 +0xa31 fp=0x7f8f8d7dcdc8
launchpad.net/juju-core/environs.PrepareFromName(0xc210000c50, 0x5, 0x7f8f8d974e10, 0xc2100b6690, 0x7f8f8d974db8, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/environs/open.go:145 +0xbd fp=0x7f8f8d7dce18
main.environFromName(0xc2100b6690, 0xc210000c50, 0x5, 0xc210128450, 0xd7bb30, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/common.go:42 +0x307 fp=0x7f8f8d7dcee0
main.(*BootstrapCommand).Run(0xc21010b680, 0xc2100b6690, 0x18b3bf0, 0x4)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/bootstrap.go:99 +0xab fp=0x7f8f8d7dcfd8
main.envCmdWrapper.Run(0x7f8f8d973080, 0xc21010b680, 0xc2100b6690, 0x7f8f8d7dd1a8, 0x2)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/main.go:158 +0x48 fp=0x7f8f8d7dd0b0
main.(*envCmdWrapper).Run(0xc21007e0b0, 0xc2100b6690, 0x14, 0x7f8f8d7dd1a8)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/addmachine.go:1 +0x9a fp=0x7f8f8d7dd0e8
launchpad.net/juju-core/cmd.(*SuperCommand).Run(0xc21014b3c0, 0xc2100b6690, 0xc2100b6690, 0x0)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/supercommand.go:303 +0x43f fp=0x7f8f8d7dd1d0
launchpad.net/juju-core/cmd.Main(0x7f8f8d974b90, 0xc21014b3c0, 0xc2100b6690, 0xc21000a010, 0x1, ...)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/cmd.go:244 +0x283 fp=0x7f8f8d7dd288
main.Main(0xc21000a000, 0x2, 0x2)
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/main.go:131 +0x442d fp=0x7f8f8d7ddf28
main.main()
 /build/buildd/juju-core-1.18.4/src/launchpad.net/juju-core/cmd/juju/main.go:173 +0x44 fp=0x7f8f8d7ddf48
runtime.main()
 /usr/lib/go/src/pkg/runtime/proc.c:220 +0x11f fp=0x7f8f8d7ddfa0
runtime.goexit()
 /usr/lib/go/src/pkg/runtime/proc.c:1394 fp=0x7f8f8d7ddfa8

goroutine 3 [syscall]:
os/signal.loop()
 /usr/lib/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
 /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31
jorge@jilldactyl:~$

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.