As a data point, I was doing the same last week in zesty, and it worked perfectly. Also juju-core itself did not change since then (it's the same version as in yakkety), so something underneath it broke.
I confirmed this bug with 2.0 final in zesty-proposed, same behaviour.
As a data point, I was doing the same last week in zesty, and it worked perfectly. Also juju-core itself did not change since then (it's the same version as in yakkety), so something underneath it broke.
I confirmed this bug with 2.0 final in zesty-proposed, same behaviour.