juju_machine_lock introspection broken

Bug #1946622 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Ian Booth

Bug Description

root@comp-3:/tmp# source /etc/profile.d/juju-introspection.sh
root@comp-3:/tmp# juju_machine_lock
root@comp-3:/tmp# echo $?
2

You can still run it manually

root@comp-3:/tmp# juju_agent machinelock
machine-1:
  holder: none

Looks like the introspection script is out of date, passing in an arg no longer needed.
This is a regression.

juju_machine_lock () {
  for agent in $(ls /var/lib/juju/agents); do
    juju_agent machinelock $agent 2> /dev/null
  done
}

Tags: bitesize
tags: added: ju-7
John A Meinel (jameinel)
tags: added: bitesize
removed: ju-7
tags: added: ju-12
tags: removed: ju-12
Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
John A Meinel (jameinel) wrote :
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.