Bug 1824475
| Summary: | [RFE] Full support for /31 subnets | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Bernard Cafarelli <bcafarel> |
| Component: | openstack-neutron | Assignee: | OSP Team <rhos-maint> |
| Status: | POST --- | QA Contact: | Eran Kuris <ekuris> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18.0 (Zed) | CC: | bcafarel, chrisw, dalvarez, ralonsoh, scohen, skaplons |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bernard Cafarelli
2020-04-16 09:45:52 UTC
So IIUC, currently in Neutron with e.g. ML2/OVS we can do that but user needs to manually set --no-gateway and --no-dhcp for such subnet. And then it should works fine, right? In case of OVN driver there is an issue with metadata port which will be always created. If that is correct, what exactly we should do in this new RFE? Some API changes which will force no gateway and no dhcp in case of /31 subnets always? Or is it just about Metadata port in OVN driver (and some documentation about how to create such networks in Neutron)? I'm asking about that because I'm not sure if we really need to treat this as new RFE or just "bug" in OVN driver. API allows the subnet creation indeed (remembering to skip gateway and DHCP), but it cannot be used after that. Testing with ML2/OVS I see same issue as in original linked LP, allocation pool and IP validity checks fail. Something like the original suggested change plus generate_pools() would need a similar update - it handles /31 networks but only by skipping allocation pool creation for them: https://opendev.org/openstack/neutron/src/branch/master/neutron/ipam/utils.py#L68 In same code, check_subnet_ip() also needs an update to allow the use of network itself as an IP |