juju status incompatible in 1.17.0 against 1.16

Bug #1266734 reported by John A Meinel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Martin Packman

Bug Description

Doing:

$ sudo apt-get install juju-core=1.16.5-0ubuntu1~ubuntu12.04.1~juju1
$ sudo /usr/bin/juju bootstrap -e local
$ juju --version
1.17.1-precise-amd64
$ juju status -e local
environment: ""
machines:
  "0":
    instance-id: localhost
services: {}

What would be expected is more:
$ /usr/bin/juju status -e local
environment: local
machines:
  "0":
    agent-state: started
    agent-version: 1.16.5.1
    dns-name: 10.0.3.1
    instance-id: localhost
    series: precise
services: {}

could be considered part of bug #1253619

Related branches

Martin Packman (gz)
Changed in juju-core:
milestone: 1.17.1 → 1.18.0
Revision history for this message
John A Meinel (jameinel) wrote :

The issue is that there *was* a Client.Status API in 1.16, so 1.17 isn't triggering its fallback code, it, instead, is just using what 1.16 returned.

So we accidentally broke the API Client.Status (because nothing else was using it we didn't notice).

So we should restore the 1.16 functionality (Deprecated, but we shouldn't be changing it) and introduce new functionality in a different name (or finally implement API versioning)

Curtis Hovey (sinzui)
tags: added: regression
Go Bot (go-bot)
Changed in juju-core:
status: Triaged → Fix Committed
John A Meinel (jameinel)
Changed in juju-core:
milestone: 1.18.0 → 1.17.4
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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