Bug Description
I've deployed gateway-api with lego and integrated. When I removed and integrated again, the charm fell in error state:
unit-gateway-api-0: 08:44:05 ERROR juju.worker.uniter.context cannot apply changes: creating secrets: secret with label "private-key-opencti-pfe.canonical.com" already exists
unit-gateway-api-0: 08:44:06 ERROR juju.worker.uniter.operation hook "certificates-relation-created" (via hook dispatching script: dispatch) failed: creating secrets: secret with label "private-key-opencti-pfe.canonical.com" already exists
To Reproduce
juju deploy gateway-api
juju deploy lego
juju integrate gateway-api lego
juju remove-relation gateway-api lego
juju integrate gateway-api lego
Environment
.
Relevant log output
unit-gateway-api-0: 08:44:05 ERROR juju.worker.uniter.context cannot apply changes: creating secrets: secret with label "private-key-opencti-pfe.canonical.com" already exists
unit-gateway-api-0: 08:44:06 ERROR juju.worker.uniter.operation hook "certificates-relation-created" (via hook dispatching script: dispatch) failed: creating secrets: secret with label "private-key-opencti-pfe.canonical.com" already exists
Additional context
No response
Bug Description
I've deployed gateway-api with lego and integrated. When I removed and integrated again, the charm fell in error state:
To Reproduce
juju deploy gateway-api
juju deploy lego
juju integrate gateway-api lego
juju remove-relation gateway-api lego
juju integrate gateway-api lego
Environment
.
Relevant log output
Additional context
No response