Can't set gateway for provider network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Jesse Pretorius |
Bug Description
OSA 18.1.1 (Ubuntu)
There is a gateway key described in example: https:/
I'm trying to set specific default gateway for the haproxy containers, what is required in my environment.
It's definition looks as follow:
global_overrides:
provider_
- network:
ip_from_q: "haproxyWan"
type: "raw"
gateway: "10.0.11.11"
- haproxy
After containers are created network itself is working as expected but no specified gateway is set.
openstack_
I've manually added the gateway key and after re-runing playbook gateway is set properly.
It looks like something is wrong with inventory generation script.
Changed in openstack-ansible: | |
assignee: | James Denton (james-denton) → Damian Cikowski (dcdamien) |
Changed in openstack-ansible: | |
assignee: | Damian Cikowski (dcdamien) → Jesse Pretorius (jesse-pretorius) |
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
We don't support setting a default gateway right now as the default gateway is the host which does the NAT.
https:/ /github. com/openstack/ openstack- ansible- lxc_container_ create/ blob/master/ tests/group_ vars/all_ containers. yml#L17- L26
That is an example how to setup a static route to a specific subnet if you need one.