Bug 2001626
Summary: | new line symbol in opt_name of extra_dhcp_opt causes dnsmasq to fail | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alex Katz <akatz> |
Component: | openstack-neutron | Assignee: | Slawek Kaplonski <skaplons> |
Status: | CLOSED ERRATA | QA Contact: | Alex Katz <akatz> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 16.1 (Train) | CC: | ccamposr, chrisw, scohen |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-neutron-15.2.1-1.20211115153405.40d217c.el8ost | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-24 10:56:13 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
Alex Katz
2021-09-06 15:04:11 UTC
Example of the API request: TOK=`openstack token issue -f value -c id` curl -v -s -X PUT \ -H "X-Auth-Token: $TOK" \ -H "Content-Type: application/json" \ -d '{ "port": { "extra_dhcp_opts": [{ "opt_name": "yyy:test\nanother", "opt_value":"xxx" }]}}' \ "http://10.0.0.120:9696/v2.0/ports/acf0c1ca-56f8-452c-8b31-51ac25e54ac5" Verified in RHOS-16.1-RHEL-8-20220210.n.1 Anything starting '\n' is removed from the DHCP option value. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat OpenStack Platform 16.1 (openstack-neutron) security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0990 |