Bug 1470975
Summary: | Neutron dhcp agent rootwrap config breaks in corner cases | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | kalle.happonen |
Component: | openstack-neutron | Assignee: | Assaf Muller <amuller> |
Status: | CLOSED EOL | QA Contact: | Ofer Blaut <oblaut> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | chris.brown, chrisw, mschuppe, srevivo |
Target Milestone: | --- | ||
Target Release: | trunk | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-18 19:24:29 UTC | 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
kalle.happonen
2017-07-14 07:34:56 UTC
Hello, Thanks for the excellent bug report! I'm not sure what to suggest here, I'd be inclined to manually carry a rootwrap patch for a couple of cycles as the chances of getting a patch implemented upstream as a backport for something that is possibly RDO-specific(?) and is going away anyway is probably slim. Any suggestions, I'm more than happy to help out trying to get trivial patches merged either upstream or in RDO. We're committed to carry our rootwrap patch for now, I mainly wanted to report this since it probably affects other people too. This has a very trivial patch. I don't see any real security impact of the patch either, so I think it could be implemented in RDO packaging. Our fix for this is to add a file (the directory needs to be created too) /etc/neutron/rootwrap.d/dhcp-python2.filter The etc/neutron/rootwrap.d/ directory should be automatically be included in rootwrap filters by /etc/neutron/rootwrap.conf if we're not carrying some patch I have forgotten. We have the following contents in /etc/neutron/rootwrap.d/dhcp-python2.filter """ [Filters] # metadata proxy # RHEL invocation of the metadata proxy will report /usr/bin/python2 kill_metadata2: KillFilter, root, python2, -9 """ Another option is to directly update /usr/share/neutron/rootwrap/dhcp.filters and add the kill_metadata2 filter there in addition to kill_metadata and kill_metadata7. This might be a better option packaging-wise. I hope this suggestion help? I don't think this would go well to OpenStack upstream, since it's fixed there. I've never made a patch for RDO, but if you point me to the docs I can certainly try. Kind regards, Kalle Happonen |