This is with 2.8.1-bionic-amd64
I'm deploying offers as an overlay in addition to my base bundle. After correcting a config value in my initial bundle deploy, I deployed the bundle and overlays again.
This time, I got an error:
ERROR cannot deploy bundle: cannot create offer prometheus-target: cannot add application offer "prometheus-target": application offer already exists
21:13:19 DEBUG cmd supercommand.go:537 error stack:
cannot add application offer "prometheus-target": application offer already exists
/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/application/bundle.go:1121: cannot create offer prometheus-target
/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/application/bundle.go:489:
/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/application/bundle.go:167:
/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/application/deploy.go:953: cannot deploy bundle
/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/application/deploy.go:1355:
Deploying offer overlays should be idempotent, like deploying bundles is. Otherwise, it's difficult to automate their deployment.
@jason-hobbs can you comment here with a snippet of the bundle and the overlay that you're deploying? This is on my list of things to triage, but I haven't had the time to loop back and come up with a reproducer model and overlay independently.