XML support has been removed from Neutron by
https://review.openstack.org/#/c/128095
So I think this bug is no longer valid.
** Changed in: neutron
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1272587
Title:
extra-dhcp-opt api extension cannot process xml requests
Status in OpenStack Neutron (virtual network service):
Invalid
Bug description:
This is a trace of requests generated with a Tempest test for the
extra-dhcp-opt api extension:
2014-01-09 00:16:21,600 Request: POST http://172.16.0.2:9696//v2.0/ports
2014-01-09 00:16:21,600 Request Headers: {'Content-Type': 'application/xml',
'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-01-09 00:16:21,600 Request Body: <?xml version="1.0" encoding="UTF-8"?>
<port ><network_id
>6a5dc159-6958-41bc-86d5-212ec27b645b</network_id><extra_dhcp_opts
><extra_dhcp_opt ><opt_value >pxelinux.0</opt_value><opt_name
>bootfile-name</opt_name></extra_dhcp_opt><extra_dhcp_opt ><opt_value
>123.123.123.123</opt_value><opt_name
>tftp-server</opt_name></extra_dhcp_opt><extra_dhcp_opt ><opt_value
>123.123.123.45</opt_value><opt_name
>server-ip-address</opt_name></extra_dhcp_opt></extra_dhcp_opts></port>
2014-01-09 00:16:21,638 Response Status: 400
2014-01-09 00:16:21,638 Response Headers: {'date': 'Thu, 09 Jan 2014 06:16:21
GMT', 'content-length': '407', 'content-type': 'application/xml;
charset=UTF-8', 'connection': 'close'}
2014-01-09 00:16:21,638 Response Body: <?xml version='1.0' encoding='UTF-8'?>
<NeutronError xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><message>Invalid data
format for extra-dhcp-opt: {'extra_dhcp_opt': {'opt_value': '123.123.123.45',
'opt_name':
'server-ip-address'}}</message><type>ExtraDhcpOptBadData</type><detail
/></NeutronError>
}}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1272587/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp