Comment 1 for bug 1942937

Revision history for this message
Kenneth Koski (knkski) wrote :

It looks like it has something to do with the charm already being deployed. I have a bundle that looks like this, where `foo.charm` is a packed `istio-gateway` charm:

```yaml
---
bundle: kubernetes
applications:
  asdf:
    charm: ./foo.charm
    scale: 1
```
```
# Works great once
$ juju deploy ./test-bundle.yaml
Executing changes:
- upload charm /built/foo.charm for series focal with architecture=amd64
- deploy application asdf with 1 unit on focal
  added resource noop
Deploy of bundle completed.
```

```
# Breaks the second time
$ juju deploy ./test-bundle.yaml
Executing changes:
- upload charm istio-gateway from local for series focal with architecture=amd64
ERROR cannot deploy bundle: cannot deploy local charm at "/built/istio-gateway": file does not exist
```