juju-core client panics with juju set empty string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Jorge Niedbalski | ||
1.20 |
Fix Released
|
High
|
Jorge Niedbalski |
Bug Description
Juju 1.20.1.1 from stable ppa, trusty amd64
$ juju deploy postgresql
$ juju set postgresql fsync=
panic: runtime error: index out of range
goroutine 1 [running]:
runtime.
main.(*
github.
main.(*
github.
github.
main.Main(
main.main()
goroutine 3 [syscall]:
os/signal.loop()
created by os/signal.init·1
goroutine 12 [syscall]:
runtime.goexit()
$ juju set postgresql fsync
error: invalid option: "fsync"
This was fixed in 1.15 I think (https:/
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → next-stable |
tags: | added: config |
tags: | added: charmers ci |
tags: | added: set |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | next-stable → 1.21-alpha1 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I am also seeing this problem with Juju 1.20.1-trusty-amd64 on local provider.
mbruzek@ workhorse: ~/workspace/ charms/ precise/ nfs$ juju set nfs storage_root=
panic: runtime error: index out of range
goroutine 1 [running]: panic(0xcc1300, 0x19ec9b7)
/usr/lib/ go/src/ pkg/runtime/ panic.c: 266 +0xb6 SetCommand) .Run(0xc2101421 80, 0xc2100e0000, 0x0, 0x0)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ juju/cmd/ juju/set. go:92 +0x62d com/juju/ juju/cmd/ envcmd. (*environComman dWrapper) .Run(0xc210141c 80, 0xc2100e0000, 0xb27740, 0xc210151410)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ juju/cmd/ envcmd/ environmentcomm and.go: 1 +0x3d envCmdWrapper) .Run(0xc210141c a0, 0xc2100e0000, 0x0, 0x0)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ juju/cmd/ juju/addmachine .go:1 +0x3d com/juju/ cmd.(*SuperComm and).Run( 0xc210121580, 0xc2100e0000, 0xc2100e0000, 0x0)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ cmd/supercomman d.go:321 +0x3ca com/juju/ cmd.Main( 0x7f84c73a11f0, 0xc210121580, 0xc2100e0000, 0xc21000a010, 0x3, ...)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ cmd/cmd. go:247 +0x283 0xc21000a000, 0x4, 0x4)
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ juju/cmd/ juju/main. go:77 +0xada
/build/ buildd/ juju-core- 1.20.1/ src/github. com/juju/ juju/cmd/ juju/main. go:174 +0x44
runtime.
main.(*
github.
main.(*
github.
github.
main.Main(
main.main()
goroutine 3 [syscall]:
/usr/lib/ go/src/ pkg/os/ signal/ signal_ unix.go: 21 +0x1e
/usr/lib/ go/src/ pkg/os/ signal/ signal_ unix.go: 27 +0x31
os/signal.loop()
created by os/signal.init·1
goroutine 12 [syscall]:
/usr/lib/ go/src/ pkg/runtime/ proc.c: 1394
runtime.goexit()