juju 2.1 binary changed names, not sure the reasoning

Bug #1650644 reported by David Britton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Server
Fix Released
High
Eric Snow
juju-release-tools
Fix Released
High
Nicholas Skaggs

Bug Description

What is installed:

ii juju-2.0 1:2.1~beta3-0ubuntu1~16.04.1~juju1

/usr/bin/juju -> ../lib/juju-2.1/bin/juju*
/usr/bin/juju-2.1*
/usr/bin/jujud -> ../lib/juju-2.1/bin/jujud*

What failed:

Failure: txjuju.errors.CLIError: juju ended with exit code 1 (out='', err='Upon execvpe juju-2.0 ['juju-2.0', 'bootstrap', '-v', '--no-gui', '--to', 'bierstadt', '--auto-upgrade=fal se', '--config', '/var/lib/landscape/juju-homes/1/bootstrap.yaml', 'landscape-maas', '1'] in environment id 140155302643424
:Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 430, in _fork
    environment )
  File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 508, in _execChild
    os.execvpe(executable, args, e nvironment)
  File "/usr/lib/python2.7/os.py", line 355, in execvpe
    _execvpe(file, args, env)
  File "/usr/lib/python2.7/os. py", line 382, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
')

What I expected:

/usr/bin/juju-2.0 should be a binary that is maintained (at least a symlink).

/usr/bin/juju-2 should also be a symlink that is maintained.

Revision history for this message
David Britton (dpb) wrote :
David Britton (dpb)
summary: - juju 2.1 binary changed, autopilot needs adjustment
+ juju 2.1 binary changed names, not sure the reasoning
description: updated
information type: Proprietary → Public
Revision history for this message
David Britton (dpb) wrote :
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in landscape:
status: New → In Progress
assignee: nobody → Eric Snow (ericsnowcurrently)
Changed in landscape:
status: In Progress → Fix Committed
Revision history for this message
Anastasia (anastasia-macmood) wrote :
no longer affects: juju
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Indeed, follow bug 1646223 and please comment. We should nail this down for rc1. I envision a symlink for juju-2, with a versioned binary.

Changed in landscape:
status: Fix Committed → Fix Released
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

The symlink for juju-2 will be maintained. Try 2.1-beta5 packaging and see if this squashes these issues.

Changed in juju-release-tools:
status: New → Invalid
status: Invalid → Fix Committed
assignee: nobody → Nicholas Skaggs (nskaggs)
Curtis Hovey (sinzui)
Changed in juju-release-tools:
importance: Undecided → High
Changed in juju-release-tools:
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.