Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when deploying a bundle, resource revisions are ignored #273

Closed
Cynerva opened this issue Dec 5, 2018 · 1 comment
Closed

when deploying a bundle, resource revisions are ignored #273

Cynerva opened this issue Dec 5, 2018 · 1 comment

Comments

@Cynerva
Copy link
Contributor

Cynerva commented Dec 5, 2018

Deploy a bundle that includes something like this:

services:
  flannel:
    charm: cs:~containers/flannel-339
    resources:
      flannel-amd64: 3
      flannel-arm64: 1
      flannel-s390x: 3

Instead of getting the specified bundle revisions, you'll get whichever revisions the charm store gives you (in this case, the latest resources from the edge channel). In contrast, if you deploy via Juju CLI, you will get the specified revisions.

The issue occurs here, where the resources that are passed in do include the revision numbers, but that parameter is ignored.

@johnsca
Copy link
Contributor

johnsca commented Dec 5, 2018

Specifically, I think this needs to honor resource IDs that are already given and only use the ones from the store which are not explicitly specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants