1.21b3: juju status isn't filtering by service

Bug #1397995 reported by Andreas Hasenack
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Katherine Cox-Buday
1.21
Fix Released
Critical
Katherine Cox-Buday

Bug Description

juju-core 1.21 beta3 is the first version in the 1.21 series that I have tried, so I don't know when this changed.

The juju status output no longer seems to filter by service. Now, when I do a "juju status <service>", I get information about all the other services in the output. In 1.20.13, I only get the service I requested.

Attached are juju status outputs of the same deployment with juju 1.20 and 1.21b3.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
tags: added: landscape
Aaron Bentley (abentley)
Changed in juju-core:
status: New → Triaged
status: Triaged → New
Revision history for this message
Curtis Hovey (sinzui) wrote :

This must be a server issue because the beta3 is showing the correct info when talking to a 1.20.x env
juju status ppc*
environment: juju-ci3
machines:
  "36":
    agent-state: started
    agent-version: 1.20.13
    dns-name: 10.245.67.134
    instance-id: manual:10.245.67.134
    series: trusty
    hardware: arch=ppc64 cpu-cores=1 mem=8166M
services:
  ppc-slave:
    charm: local:trusty/jenkins-slave-14
    exposed: false
    relations:
      slave:
      - jenkins
    units:
      ppc-slave/0:
        agent-state: started
        agent-version: 1.20.13
        machine: "36"
        public-address: 10.245.67.134

tags: added: regression
Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.21
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Just to be clear, when I said:

"Attached are juju status outputs of the same deployment with juju 1.20 and 1.21b3."

I meant the same app was deployed, but once with 1.20 and then with 1.21b3, destroying the environment each time.

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.21 → 1.22
Curtis Hovey (sinzui)
tags: added: status
Changed in juju-core:
assignee: nobody → Katherine Cox-Buday (cox-katherine-e)
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

It looks like a good start would be to backport the fix to this: https://bugs.launchpad.net/juju-core/+bug/1385456

We erroneously believed this had been brought over to the v1.21 series. There is no guarantee that it will fix your issue, but it's certainly a contributing factor and will allow us to take the next step in diagnosis.

Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

This has been backported to v1.21. Can you please try your use-case again and let me know if it's more appropriate?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sorry, I need a binary ;)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Got the binary and the fix is correct, the principal service filtering is now working. There is extra output about the subordinates, but that's working as designed and is out of scope for this bug.

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
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.

Other bug subscribers

Remote bug watches

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