Comment 4 for bug 1613839

Revision history for this message
Drew Freiberger (afreiberger) wrote :

@Tim

This issue happens on any charm with a "type: float" variable and an integer or a float with a .0 is specified. In any case, an integer should be considered a float just as you say 1 is a valid zero decimal place float.

See also neutron-gateway with a worker-multiplier of 1.0

Happening on juju snap stable branch

drew@ewah:~$ juju version
2.3.1-xenial-amd64

drew@ewah:~$ grep -A9 'neutron-gateway:$' bundle-mitaka.yaml
  neutron-gateway:
    annotations:
      gui-x: '0'
      gui-y: '0'
    charm: cs:xenial/neutron-gateway
    num_units: 1
    options:
      bridge-mappings: physnet1:br-ex
      data-port: br-ex:eth1
      worker-multiplier: 1.0
drew@ewah:~$ juju deploy bundle-mitaka.yaml
[...]
- deploy application neutron-gateway on xenial using cs:neutron-gateway-244
ERROR cannot deploy bundle: cannot deploy application "neutron-gateway": option "worker-multiplier" expected float, got 1

It's not just one charm, it's