Juju 1.18.0, can not deploy local charms without series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Casey Marshall | ||
1.18 |
Fix Released
|
Critical
|
Casey Marshall | ||
juju-core (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
Last night I upgraded to juju 1.18 as per:
nessita@
juju-core:
Installed: 1.18.0-
Candidate: 1.18.0-
When trying to deploy the solr-jetty charm from:
lp:~ubuntuone-pqm-team/canonical-is-charms/solr-jetty/ at revno 15
I get this error:
$ juju deploy -e local --repository=
2014-04-07 15:22:47 INFO juju.cmd supercommand.go:297 running juju-1.
2014-04-07 15:22:47 DEBUG juju api.go:171 trying cached API connection settings
2014-04-07 15:22:47 INFO juju api.go:238 connecting to API addresses: [10.0.3.1:17070]
2014-04-07 15:22:47 INFO juju apiclient.go:114 state/api: dialing "wss://
2014-04-07 15:22:47 INFO juju apiclient.go:124 state/api: connection established
2014-04-07 15:22:47 ERROR juju.cmd supercommand.go:300 only charm store charm references are supported, with cs: schema
The same charm was working OK with 1.17.6 (confirmed).
WORK AROUND 1
Specify default-series in environments.yaml
default-series: precise
or
default-series: trusty
or set it after the fact like so
juju set-env default-
WORK AROUND 2
Always specify the series/os-version of the charm:
juju deploy local:precise/
juju deploy local:trusty/
Related branches
- Juju Engineering: Pending requested
-
Diff: 73 lines (+20/-5)3 files modifiedcmd/juju/common.go (+8/-0)
cmd/juju/deploy.go (+8/-5)
provider/local/environprovider.go (+4/-0)
- Juju Engineering: Pending requested
-
Diff: 73 lines (+20/-5)3 files modifiedcmd/juju/common.go (+8/-0)
cmd/juju/deploy.go (+8/-5)
provider/local/environprovider.go (+4/-0)
summary: |
- After upgrade to 1.18, can not longer deploy the solr-jetty charm using - local provider + After upgrade to 1.18, can not longer deploy charms using local provider |
summary: |
- After upgrade to 1.18, can not longer deploy charms using local provider + After upgrade to 1.18, can not deploy charms using local provider |
Changed in juju-core: | |
status: | New → Triaged |
milestone: | none → 1.19.0 |
importance: | Undecided → Critical |
summary: |
- After upgrade to 1.18, can not deploy charms using local provider + After upgrade to 1.18, can not deploy local charms |
Changed in juju-core: | |
milestone: | 1.19.0 → 1.18.1 |
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
milestone: | 1.18.1 → 2.0 |
status: | Triaged → In Progress |
description: | updated |
tags: | removed: regression |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | 2.0 → 1.19.0 |
Changed in juju-core (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-core: | |
importance: | Critical → High |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
If you upgrades from 1.16.x, then the local permissions are wrong. Per the 1.18.0 release notes.
If you have used the local provider before, you may need to manually
clean up some files that are still owned by root. The environment’s jenv
file commonly needs to be removed. If your local environment is named
"local" then there may be a local.jenv owned by root with the JUJU_HOME
directory (~/.juju). After the local environment is destroyed, you can
remove the file like this
$ sudo rm ~/.juju/ environments/ local.jenv