juju 2.0-rc1 client panic on OSX Sierra

Bug #1629444 reported by Charles Butler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Unassigned

Bug Description

I downloaded the listed release binary from: https://jujucharms.com/docs/stable/reference-releases

specifically: https://launchpad.net/juju/2.0/2.0-rc1/+download/juju-2.0-rc1-osx.tar.gz

After fetching and running:

sudo install juju /usr/local/bin/juju

i promptly attempted to check the version of juju installed on my system. Prompty after invoking juju --version, it stacktraced with a panic about "unknown series"

charles@Tennoki ~/Downloads/juju-bin $ juju --version
panic: unable to determine host series: unknown series ""

It appears that we may not have updated juju to be aware of the newly released Sierra flavor of MacOS.

Stacktrace found below:

goroutine 1 [running]:
panic(0x16c6f00, 0xc82022a720)
 /Users/jenkins/crossbuild/golang-1.6/src/runtime/panic.go:464 +0x3e6
github.com/juju/utils/series.hostSeries.func1()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/utils/series/series.go:36 +0x114
sync.(*Once).Do(0x33d4388, 0x28751c8)
 /Users/jenkins/crossbuild/golang-1.6/src/sync/once.go:44 +0xe4
github.com/juju/utils/series.hostSeries(0x0, 0x0)
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/utils/series/series.go:38 +0x3b
github.com/juju/juju/api.init()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/juju/api/certpool.go:19 +0x198
github.com/juju/juju/cmd/modelcmd.init()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/juju/cmd/modelcmd/modelcommand.go:363 +0x7e
github.com/juju/juju/cmd/juju/block.init()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/juju/cmd/juju/block/protection.go:115 +0x56
github.com/juju/juju/cmd/juju/commands.init()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/juju/cmd/juju/commands/upgradejuju.go:596 +0x5f
main.init()
 /var/folders/bs/hcn9_02s6h95876fth2kqytc0000gq/T/tmpwMcH93/juju-core_2.0-rc1/src/github.com/juju/juju/cmd/juju/main.go:28 +0x51

description: updated
description: updated
description: updated
description: updated
summary: - juju 2.0-rc1 client panic on OSX
+ juju 2.0-rc1 client panic on OSX Sierra
Revision history for this message
Curtis Hovey (sinzui) wrote :

:( This means bug 1465317 was *not* fixed in rc1, but the date of the bug reports that it was fixed on the 25th. Please rested with rc2. We need to know if bug 1465317 needs to be reopened.

Changed in juju:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

I can confirm this is broken in rc1 and rc2, bug 1465317 was *not* fixed. I am keeping this bug specific to Sierra, but the master bug needs to be closed so that upgradng users never break.

Changed in juju:
status: Incomplete → Triaged
importance: Undecided → Critical
milestone: none → 2.0.0
Revision history for this message
Curtis Hovey (sinzui) wrote :

This issue need to be fixed to put Juju in homebrew.

Revision history for this message
james beedy (jamesbeedy) wrote :
Revision history for this message
Alexis Bruemmer (alexis-bruemmer) wrote :

thanks @jamesbeedy !!

Changed in juju:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
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.