The BROKER_URL sent to a cluster controller has its hostname set 'localhost'.
Bug #1065080 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Released
|
Medium
|
Andres Rodriguez | ||
Quantal |
Fix Released
|
Medium
|
Andres Rodriguez |
Bug Description
In debian/
[...]
configure_
local workers_
local workers_
local workers_
local amqp_host=
local amqp_port="5672"
[...]
The host part of the BROKER_URL is 'localhost' meaning that it will work fine when a local cluster controller will use that to connect to rabbitMQ, but it won't work for cluster controllers installed on a different machine.
Related branches
lp:~andreserl/maas/packaging_updates_bzr1264
- Andres Rodriguez (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 54 lines (+9/-3)2 files modifieddebian/changelog (+2/-0)
debian/maas-region-controller.postinst (+7/-3)
affects: | maas → maas (Ubuntu) |
Changed in maas (Ubuntu): | |
importance: | Critical → Medium |
milestone: | none → ubuntu-12.10 |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
importance: | Undecided → Critical |
status: | New → In Progress |
summary: |
- The host in BROKER_URL is hardcoded to 'localhost'. + The BROKER_URL sent to a cluster controller has its hostname set + 'localhost'. |
Changed in maas: | |
milestone: | none → 12.10 |
Changed in maas (Ubuntu Quantal): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu Quantal): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
After a discussion with Julian, we decided that this should be fixed in the packaging: instead of using 'localhost' (in debian/ maas-region- controller. postinst) , the packaging script should use the IP address of the default route (just like what it does to populate DEFAULT_MAAS_URL).