Updating 'root_url' config option does not fully work

Bug #2025041 reported by Martin Kalcok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
New
Undecided
Unassigned

Bug Description

When config option 'root_url' is updated, the charm will update only local config files. However the landscape server evaluates root url from multiple sources (in order):

- env variable "LANDSCAPE_ROOT_URL"
- database "landscape-standalone-main" in table "system_configuration", key "landscape.root_url"
- local service config file

I'd love to link launchpad server code for reference but I failed to find where it's publicly hosted. The logic I mentioned above is implemented in function 'get_root_url()' in file 'canonical/landscape/model/configuration.py'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.