haproxy and magnum.conf mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Magnum Charm |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Symptoms after deploying the charm
and executing openstack coe cluster template list:
Unable to establish connection to http://
(10.0.0.37 is the ip of the magnum lxd in my test setup)
The reason is that haproxy looks like:
frontend tcp-in_
bind *:9511
bind :::9511
acl net_10.0.0.37 dst 10.0.0.
use_backend magnum-
default_backend magnum-
backend magnum-
balance leastconn
server magnum-2 10.0.0.37:9501 check
whereas host in [api] in magnum.conf is not set, and it defaults to 127.0.0.1
see https:/
Fix is to set host in [api] in magnum.conf corresponding to ha-proxy backend
Changed in charm-magnum: | |
status: | New → In Progress |
Change abandoned by "James Page <email address hidden>" on branch: master /review. opendev. org/c/openstack /charm- magnum/ +/824228
Review: https:/
Reason: This review is > 12 weeks without comment, and failed testing the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.