lp:~bowenfan/ols-charm-deps/+git/ols-layers-2

Owned by Bowen Fan
Get this repository:
git clone https://git.launchpad.net/~bowenfan/ols-charm-deps/+git/ols-layers-2
Only Bowen Fan can upload to this repository. If you are Bowen Fan please log in for upload directions.

Branches

Name Last Modified Last Commit
master 2023-05-11 17:50:46 UTC
Raise an exception when get_db_uris is called and main database/connectionstr...

Author: Guillermo Gonzalez
Author Date: 2023-05-11 17:50:46 UTC

Raise an exception when get_db_uris is called and main database/connectionstring is None

With the recent changes, mainly the update of interface-pgsql there is a race of some kind while removing applications from a model, which causes the interface-pgsql to keep the master.available flag set but the relation data is empty and cannot build a proper ConnectionString object and thus returning None.
This is just a way to raise a specific exception instead of failing to get uri from None, the exception handling is responsibility of the charm.

Merged from https://code.launchpad.net/~verterok/ols-charm-deps/+git/ols-layers/+merge/442617

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers