Remove 'default-instance-type' from environments file.
Bug #1069883 reported by
Andrew Glen-Young
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Martin Packman | ||
0.5 |
Fix Released
|
Medium
|
Martin Packman | ||
0.6 |
Fix Released
|
Medium
|
Martin Packman |
Bug Description
Juju requires that the 'default-
It is confusing to a user as setting default-
Setting the instance type using constraints on launch works as expected.
Juju version: 0.6.0.1+bzr598
Ubuntu version: 12.04.1
Related branches
lp://staging/~gz/pyjuju/no_default_instance_1069883
- Juju Engineering: Pending requested
-
Diff: 145 lines (+33/-6)5 files modifiedjuju/environment/config.py (+3/-2)
juju/environment/tests/test_config.py (+0/-1)
juju/providers/openstack/launch.py (+1/-1)
juju/providers/openstack/tests/__init__.py (+0/-2)
juju/providers/openstack/tests/test_launch.py (+29/-0)
lp://staging/~gz/pyjuju/0.6_default_instance_backport
- Martin Packman (community): Approve
-
Diff: 136 lines (+32/-6)5 files modifiedjuju/environment/config.py (+3/-2)
juju/environment/tests/test_config.py (+0/-1)
juju/providers/openstack/launch.py (+1/-1)
juju/providers/openstack/tests/__init__.py (+0/-2)
juju/providers/openstack/tests/test_launch.py (+28/-0)
lp://staging/~gz/pyjuju/0.5_default_instance_backport
- Martin Packman (community): Approve
-
Diff: 136 lines (+32/-6)5 files modifiedjuju/environment/config.py (+3/-2)
juju/environment/tests/test_config.py (+0/-1)
juju/providers/openstack/launch.py (+1/-1)
juju/providers/openstack/tests/__init__.py (+0/-2)
juju/providers/openstack/tests/test_launch.py (+28/-0)
tags: | added: canonical-webops-juju |
Changed in juju: | |
assignee: | nobody → Martin Packman (gz) |
milestone: | none → 0.7 |
status: | Confirmed → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There is already a warning in the code, but the condition is backwards, so it's emitted if default- instance- type is *not* defined... which is never the case as the config doesn't treat it as optional. Additionally the value is ignored in favour if the default constraints in all cases.