API endpoint is localhost when LDS is deployed with the new charm

Bug #1463955 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
Fix Released
Medium
Данило Шеган
Landscape Server
Fix Released
Medium
Данило Шеган

Bug Description

When one deploys LDS trunk with the new charm, the API endpoint as shown in the /settings page is localhost instead of the frontend IP followed by /api/.

This does not happen when LDS is deployed with the charm from the charm store.

Related branches

tags: removed: kanban
Revision history for this message
Adam Collard (adam-collard) wrote :

dupe of #1446403 ?

Revision history for this message
Adam Collard (adam-collard) wrote :
Revision history for this message
Данило Шеган (danilo) wrote :

Doesn't seem like a duplicate: root-url is properly set to the frontend IP in the [global] section, but not in the [api] or [package-upload] sections in /etc/landscape/service.conf.

This should be fixed.

[api]
...
root-url = http://localhost

[package-upload]
...
root-url = http://localhost:9100

Changed in landscape-charm:
status: New → In Progress
assignee: nobody → Данило Шеган (danilo)
Changed in landscape-charm:
status: In Progress → Fix Committed
Changed in landscape:
assignee: nobody → Данило Шеган (danilo)
status: New → In Progress
importance: Undecided → Medium
Changed in landscape:
milestone: none → 15.06
status: In Progress → Fix Committed
Changed in landscape:
milestone: 15.06 → 15.07
Changed in landscape:
status: Fix Committed → Fix Released
Simon Poirier (simpoir)
Changed in landscape-charm:
status: Fix Committed → Fix Released
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.