juju bundles should be able to reference local resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Eric Claude Jones |
Bug Description
In network restricted environments where the Juju controller can not contact the Charm Store the Juju resources feature is difficult to use.
Imagine we have 1 bundle, with 10 charms that use resources. The user would be forced to deploy the bundle and attach 10 resource for this bundle to deploy successfully.
juju deploy ./bundle.yaml
juju attach charm1 resource1=
juju attach charm2 resource2=
...
juju attach charm10 resource10=
I understand that in a normal situation the resources would be downloaded from the Charm Store, but in lab environments such as the OIL lab they do not have access to the Charm Store.
Since bundles can reference local charms we could add the feature of local resources in bundles at deploy time. The user in the example above would only need to run one "juju deploy ./bundle.yaml" command for the bundle with resources to deploy.
Please add local resources to the bundle spec so we can deploy bundles of resource-enabled charms.
no longer affects: | juju-core |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.1.0 |
Changed in juju: | |
assignee: | nobody → Horacio Durán (hduran-8) |
status: | Triaged → In Progress |
Changed in juju: | |
assignee: | Horacio Durán (hduran-8) → nobody |
status: | In Progress → Triaged |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
tags: | added: sts |
tags: | added: talisman |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
milestone: | 2.2-beta4 → 2.2-rc1 |
Changed in juju: | |
milestone: | none → 2.3-alpha1 |
assignee: | nobody → Eric Claude Jones (ecjones) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.3-alpha1 → 2.2.3 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
The OIL lab needs this feature to keep the resources private and partners do not want the resources in the charm store. This feature also provide a solution for environments with restricted network to the charm store as Matt mentioned above.