The SAAS entry in the consuming model shows an error
``` juju status
SAAS Status Store URL mongodb error juju-34-controller admin/stg-github-runner-mq.mongodb ```
and
juju status mongodb --format yaml
gives ``` mongodb: url: juju-34-controller:admin/stg-github-runner-mq.mongodb endpoints: database: interface: mongodb_client role: provider life: dying application-status: current: error message: 'cannot get discharge from "https://controller-address:17070/offeraccess": third party refused discharge: cannot discharge: permission denied' since: 15 Jul 2024 10:41:18Z relations: database: - github-runner-webhook-router ```
fwiw, I also get a permission error in the offer model for a juju grant command
stg-github-runner-mq@bastion:~$ juju grant -v stg-github-runner-mq consume juju-34-controller:admin/stg-github-runner-mq.mongodb ERROR permission denied
So maybe the root cause is related to permissions.
The SAAS entry in the consuming model shows an error
```
juju status
SAAS Status Store URL github- runner- mq.mongodb
mongodb error juju-34-controller admin/stg-
```
and
juju status mongodb --format yaml
gives controller: admin/stg- github- runner- mq.mongodb -status: /controller- address: 17070/offeracce ss": runner- webhook- router
```
mongodb:
url: juju-34-
endpoints:
database:
interface: mongodb_client
role: provider
life: dying
application
current: error
message: 'cannot get discharge from "https:/
third party refused discharge: cannot discharge: permission denied'
since: 15 Jul 2024 10:41:18Z
relations:
database:
- github-
```
fwiw, I also get a permission error in the offer model for a juju grant command
stg-github- runner- mq@bastion: ~$ juju grant -v stg-github- runner- mq consume juju-34- controller: admin/stg- github- runner- mq.mongodb
ERROR permission denied
So maybe the root cause is related to permissions.