Merge ~smoser/cloud-init:fix/1792415-fix-ovh-dhcp-routes into cloud-init:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chad Smith | ||||
Approved revision: | 8b8f376b1c24c9772ac0b8524c713c943701ea0e | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~smoser/cloud-init:fix/1792415-fix-ovh-dhcp-routes | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
55 lines (+16/-3) 3 files modified
cloudinit/net/__init__.py (+7/-0) cloudinit/net/tests/test_init.py (+8/-3) cloudinit/sources/helpers/openstack.py (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+354881@code.launchpad.net |
Commit message
EphemeralIPv4Ne
On OpenStack based OVH public cloud, we got DHCP response with
fixed-address 54.36.113.86;
option subnet-mask 255.255.255.255;
option routers 54.36.112.1;
The router clearly is not on the subnet. So 'ip' would fail when
we tried to add the default route.
The solution here is to add an explicit route on that interface
to the router and then add the default route.
Also add 'bgpovs' to the list of 'physical' types for OpenStack
network configuration. That type is used on OVH public cloud.
LP: #1792415
Description of the change
see commit message
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
https:/ /code.launchpad .net/~tobijk/ cloud-init/ +git/cloud- init/+merge/ 354752
^ The MP above originally raised this and suggested a fix for the 'bgpovs' type.