juju bundles should be able to reference local resources

Bug #1623217 reported by Matt Bruzek
52
This bug affects 10 people
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=/path/to/resource1
juju attach charm2 resource2=/path/to/resource2
...
juju attach charm10 resource10=/path/to/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.

Tags: sts talisman
no longer affects: juju-core
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.1.0
Revision history for this message
Ashley Lai (alai) wrote :

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.

Revision history for this message
Charles Butler (lazypower) wrote :

+1 to this. we have a work-around but man is it slow. I'd rather see juju handle this natively in core so our test tooling can adopt that route rather than continuing to do things out of band.

Revision history for this message
Robert Ayres (robert-ayres) wrote :

+1, would really assist with offline deployments

Revision history for this message
Siva Gurumurthy (sgurumurthy) wrote :

+1, I need the fix for this bug as well. Please resolve this ASAP

Revision history for this message
Siva Gurumurthy (sgurumurthy) wrote :

I should be able to use resources from the bundle

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
Revision history for this message
Horacio Durán (hduran-8) wrote :

Hello, as much as we would like to solve this for 2.1, the release date is upon us and we are a bit overwhelmed with the finishing touches, sadly we could not fit this bug into those touches but will do our best to address it for our next version.

Changed in juju:
milestone: 2.1.0 → 2.2.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta1 → 2.2-beta2
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta2 → 2.2-beta3
Felipe Reyes (freyes)
tags: added: sts
Tim Penhey (thumper)
tags: added: talisman
Changed in juju:
milestone: 2.2-beta3 → 2.2-beta4
Changed in juju:
milestone: 2.2-beta4 → 2.2-rc1
Revision history for this message
Tim Penhey (thumper) wrote :

This is going to miss 2.2, but we have it planned for early 2.3. Will assign a milestone when work actually starts on it.

Changed in juju:
milestone: 2.2-rc1 → none
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.3-alpha1
assignee: nobody → Eric Claude Jones (ecjones)
Changed in juju:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.3-alpha1 → 2.2.3
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Felipe Reyes (freyes) wrote :
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.