configs should read ws ip addr from current url
Bug #1130228 reported by
Richard Harding
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Fix Released
|
Low
|
Benjamin Saller |
Bug Description
In development, testing would be much easier if the url of the socket_url wasn't hard coded to localhost, for example, testing froma virtualmachine. If the config would assume that the ws is available on the same host as the current url, it could be much more flexible for dev uses.
Currently doing this requires manually hacking the socket_url and then making sure to revert that change before submitting branches.
WORKAROUND: set the correct hostname in /var/lib/
Changed in juju-gui: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- config-debug should read ws ip addr from current url + configs should read ws ip addr from current url |
Changed in juju-gui: | |
assignee: | nobody → Benjamin Saller (bcsaller) |
Changed in juju-gui: | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in juju-gui: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
+1
I agree that we need a better approach for this as this has also bitten me.
In a past project we had a similar config that was generated on build time from a json object whos properties could be overridden by environment variables. Considering that we already have most of that infrastructure in place this fix shouldn't be too much work to implement.