octavia bind_ip not always set by charm
Bug #1843636 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Triaged
|
High
|
Unassigned |
Bug Description
Upon reboot and/or scale-out I am noticing that bind_ip does not always get set:
$ juju run -a octavia -- grep bind_ip /etc/octavia/
- ReturnCode: 1
Stdout: ""
UnitId: octavia/0
- Stdout: |
bind_ip = fc00:c76d:
UnitId: octavia/2
- Stdout: |
#bind_ip = 127.0.0.1
UnitId: octavia/3
- Stdout: |
bind_ip = fc00:c76d:
UnitId: octavia/1
This results in some octavia units being unusable.
Changed in charm-octavia: | |
milestone: | none → 19.10 |
Changed in charm-octavia: | |
milestone: | 19.10 → 20.01 |
tags: | added: cold-start scaleout |
Changed in charm-octavia: | |
milestone: | 20.01 → 20.05 |
Changed in charm-octavia: | |
milestone: | 20.05 → 20.08 |
Changed in charm-octavia: | |
milestone: | 20.08 → none |
To post a comment you must log in.
At time of config render the charm currently attempts to get this information from the runtime configuration of the ``o-hm0`` interface.
As you have found and described this is racy as there is no guarantee that the interface has configured itself at that point in time.
Other options could be to load state from Neutron, or store a extra state in the charm with the address.