juju quickstart should respect output of "juju api-endpoints"

Bug #1378264 reported by Adam Collard
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-quickstart
Fix Released
High
Francesco Banconi

Bug Description

Trying to use Juju quickstart with MAAS when I'm not pointing at MAAS' DNS server fails because it uses the name of machine 0 instead of the IP addresses.

It should respect the output of juju api-endpoints (which has IPs and are reachable).

The error output I see is:

11:43:10 WARNING app@connect:307 Retrying: unable to connect to the Juju API server on wss://fermi.beretstack:443/ws: [Errno -2] Name or service not known

Note juju api-endpoints says:

10.1.4.1:17070

Related branches

Revision history for this message
Francesco Banconi (frankban) wrote :

This is quickstart trying to connect to the GUI server (GUI unit) WebSocket. Since the GUI is co-located on the bootstrap node, it indeed shares the same Juju API server address (but using a different port/path). This bug is still valid: quickstart should be smarter when selecting the address to use to connect to the GUI unit.

Changed in juju-quickstart:
status: New → Triaged
importance: Undecided → High
David Britton (dpb)
tags: added: cloud-installer
Revision history for this message
David Britton (dpb) wrote :

Notice also that the link it presents at the end has a DNS name in it, which tries to open in a browser, which will only work if you are using the MAAS DNS (which I think few would be doing). Probably should also be preferring an IP there as well.

Changed in juju-quickstart:
assignee: nobody → Francesco Banconi (frankban)
status: Triaged → In Progress
Changed in juju-quickstart:
status: In Progress → Fix Committed
Changed in juju-quickstart:
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.