juju set-env fails for boolean attributes

Bug #1254938 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Status tracked in Trunk
1.16
Fix Released
Critical
Ian Booth
Trunk
Fix Released
High
Ian Booth
juju-core (Ubuntu)
Fix Released
Undecided
Unassigned
Saucy
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]
Users can't change the value of boolean environent attributes

[Test Case]
juju bootstrap
juju set-env use-floating-ip=true

[Regression Potential]
Minimal - impact only in direct code path.

[Original bug report]
If I bootstrap a juju environment, and try to change the value of a boolean environment attribute, I get an error.

$juju set-env some-bool-attr=true
ERROR some-bool-attr: expected bool, got string("true")

Raising as critical because this bug hinders the solution for bug 1254729 which requires the environment to be able to be updated to toggle a boolean flag

Related branches

Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: docs
tags: removed: docs
James Page (james-page)
Changed in juju-core (Ubuntu):
status: New → Fix Released
James Page (james-page)
description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix".

Changed in juju-core (Ubuntu Saucy):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.