juju does not handle empty configuration variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Triaged
|
Medium
|
Unassigned |
Bug Description
I was performing a test on the current version of Juju (1.19.4) and I found an error with setting a configuration variable to the empty string.
I ran a script that attempted to set a configuration variable to the empty string
juju set cassandra apt-repo-spec=""
And got the following error.
ubuntu@
+ juju deploy --repository=
Added charm "local:
+ juju set cassandra apt-repo-spec=
panic: runtime error: index out of range
goroutine 1 [running]:
main.Run.
github.
main.Run.
github.
github.
main.Main
main.main
goroutine 3 [syscall]:
goroutine in C code; stack unavailable
+ juju add-unit -n 2 cassandra
ubuntu@
1.19.4-trusty-ppc64
I can reproduce this problem by setting other variables to empty string.
tags: | added: config |
affects: | juju-core → goyaml |
affects: | goyaml → juju-core |
tags: | added: set |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |