Seg fault generated due to malformed bundle.yaml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Harry Pidcock |
Bug Description
The following bundle generates a seg fault.
more vaultBundle.yaml
relations:
- [ "barbican:amqp", "rabbitmq-
- [ "barbican:
- [ "barbican:
- [ "barbican:secrets", "barbican-
- [ "barbican-
- [ barbican, hacluster-barbican ]
- [ vault, hacluster-vault ]
- [ vault, mysql ]
- [ "vault:etcd", "etcd:db"]
- [ "etcd", "easyrsa"]
- [ keystone, "mysql:shared-db" ]
applications:
rabbitmq-server:
charm: cs:rabbitmq-server
num_units: 1
to:
- lxd:0
mysql:
charm: cs:percona-cluster
num_units: 1
to:
- lxd:1
keystone:
charm: cs:keystone
num_units: 1
to:
- lxd:2
barbican:
charm: cs:barbican
num_units: 3
options:
openstack
use-
vip: 192.168.2.190
worker-
to:
- lxd:0
- lxd:1
- lxd:2
hacluster-
charm: cs:hacluster
barbican-vault:
charm: cs:barbican-vault
vault:
charm: vault
num_units: 3
options:
vip: 192.168.2.191
to:
- lxd:1
- lxd:2
- lxd:3
hacluster-vault:
charm: cs:hacluster
etcd:
charm: etcd
num_units: 3
to:
- lxd:0
- lxd:1
- lxd:2
easyrsa:
charm: cs:~containers/
num_units: 1
to:
- lxd:3
machines:
"0":
constraints: tags=neutron-gw
"1":
constraints: tags=2950
"2":
constraints: tags=2950
"3":
constraints: tags=2950
Removing the spaced prior to machines: avoids the error.
juju deploy ./vaultBundle.yaml --debug
15:23:26 INFO juju.cmd supercommand.go:57 running juju [2.6.10 gc go1.10.4]
15:23:26 DEBUG juju.cmd supercommand.go:58 args: []string{"juju", "deploy", "./vaultBundle.
15:23:26 INFO juju.juju api.go:67 connecting to API addresses: [192.168.
15:23:26 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
15:23:26 INFO juju.api apiclient.go:624 connection established to "wss://
15:23:26 INFO juju.juju api.go:67 connecting to API addresses: [192.168.
15:23:26 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
15:23:26 INFO juju.api apiclient.go:624 connection established to "wss://
15:23:26 DEBUG juju.api monitor.go:35 RPC connection died
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x1868b20]
goroutine 1 [running]:
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
github.
/build/
main.main()
/build/
Changed in juju: | |
milestone: | none → 2.7.1 |
assignee: | nobody → Harry Pidcock (hpidcock) |
Changed in juju: | |
milestone: | 2.7.1 → 2.7.2 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
We really shouldn't panic anywhere.