Merge lp://staging/~sinzui/juju-release-tools/ignroe-epoch into lp://staging/juju-release-tools
Proposed by
Curtis Hovey
Status: | Merged |
---|---|
Merged at revision: | 344 |
Proposed branch: | lp://staging/~sinzui/juju-release-tools/ignroe-epoch |
Merge into: | lp://staging/juju-release-tools |
Diff against target: |
13 lines (+2/-1) 1 file modified
generate_agents.py (+2/-1) |
To merge this branch: | bzr merge lp://staging/~sinzui/juju-release-tools/ignroe-epoch |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicholas Skaggs (community) | Approve | ||
Review via email: mp+308465@code.staging.launchpad.net |
Description of the change
Strip the epoch from the base_version when making aagents
We saw this error after debs were download and they were extracted to convert the jujud into an agent
OSError: [Errno 2] No such file or directory: '/tmp/tmpNlQsjT
^ lib/juju-1:2.0.0 should be lib/juju-2.0
The epoch was not stripped, corrupting both the base_version and the major_minor.
To post a comment you must log in.
This works with 0-0ubuntu1~ 16.10.1~ juju1" 0ubuntu1~ 16.10.1~ juju1"
control_version = "1:2.0.
and
control_version = "2.0.0-